1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. 4 5 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 6 7 The contents of this file are subject to the terms of either the Universal Permissive License 8 v 1.0 as shown at http://oss.oracle.com/licenses/upl 9 10 or the following license: 11 12 Redistribution and use in source and binary forms, with or without modification, are permitted 13 provided that the following conditions are met: 14 15 1. Redistributions of source code must retain the above copyright notice, this list of conditions 16 and the following disclaimer. 17 18 2. Redistributions in binary form must reproduce the above copyright notice, this list of 19 conditions and the following disclaimer in the documentation and/or other materials provided with 20 the distribution. 21 22 3. Neither the name of the copyright holder nor the names of its contributors may be used to 23 endorse or promote products derived from this software without specific prior written permission. 24 25 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 26 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 27 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 28 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 30 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 31 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 32 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 --> 34 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 35 <modelVersion>4.0.0</modelVersion> 36 <groupId>org.openjdk.jmc</groupId> 37 <artifactId>external-dependencies</artifactId> 38 <packaging>war</packaging> 39 <version>7.1.0-SNAPSHOT</version> 40 <properties> 41 <openjfx.base-Import-Package>*;resolution:=optional</openjfx.base-Import-Package> 42 <openjfx.base-Export-Package> 43 javafx.beans,javafx.beans.binding,javafx.beans.property,javafx.beans.property.adapter,javafx.beans.value,javafx.collections,javafx.collections.transformation,javafx.event,javafx.util,javafx.util.converter,com.sun.javafx,com.sun.javafx.beans,com.sun.javafx.binding,com.sun.javafx.collections,com.sun.javafx.event,com.sun.javafx.logging,com.sun.javafx.property,com.sun.javafx.reflect,com.sun.javafx.runtime 44 </openjfx.base-Export-Package> 45 46 <openjfx.fxml-Import-Package> 47 com.sun.javafx,com.sun.javafx.beans,com.sun.javafx.reflect,com.sun.javafx.logging,com.sun.javafx.util,javafx.application,javafx.beans,javafx.beans.property,javafx.beans.value,javafx.collections,javafx.event,javafx.scene,javafx.scene.image,javafx.scene.paint,javafx.scene.shape,javafx.scene.text,javafx.util,javafx.scene.layout,javafx.scene.control,com.sun.javafx.fxml.builder.web,javafx.scene.chart 48 </openjfx.fxml-Import-Package> 49 <openjfx.fxml-Export-Package> 50 javafx.fxml,com.sun.javafx.fxml,com.sun.javafx.fxml.expression,com.sun.javafx.fxml.builder 51 </openjfx.fxml-Export-Package> 52 53 <openjfx.controls-Import-Package> 54 com.sun.javafx,com.sun.javafx.application,com.sun.javafx.beans,com.sun.javafx.binding,com.sun.javafx.charts,com.sun.javafx.collections,com.sun.javafx.css,com.sun.javafx.event,com.sun.javafx.geom,com.sun.javafx.geom.transform,com.sun.javafx.logging,com.sun.javafx.menu,com.sun.javafx.property,com.sun.javafx.scene,com.sun.javafx.scene.input,com.sun.javafx.scene.layout,com.sun.javafx.scene.text,com.sun.javafx.scene.traversal,com.sun.javafx.stage,com.sun.javafx.tk,com.sun.javafx.util,javafx.animation,javafx.application,javafx.beans,javafx.beans.binding,javafx.beans.property,javafx.beans.value,javafx.collections,javafx.collections.transformation,javafx.css,javafx.css.converter,javafx.event,javafx.geometry,javafx.scene,javafx.scene.effect,javafx.scene.image,javafx.scene.input,javafx.scene.layout,javafx.scene.paint,javafx.scene.shape,javafx.scene.text,javafx.scene.transform,javafx.stage,javafx.util,javafx.util.converter 55 </openjfx.controls-Import-Package> 56 <openjfx.controls-Export-Package> 57 javafx.scene.chart,javafx.scene.control,com.sun.javafx.charts,javafx.scene.control.cell,javafx.scene.control.skin,com.sun.javafx.scene.control,com.sun.javafx.scene.control.behavior,com.sun.javafx.scene.control.inputmap,com.sun.javafx.scene.control.skin,com.sun.javafx.scene.control.skin.resources,com.sun.javafx.scene.control.skin.caspian,com.sun.javafx.scene.control.skin.caspian.images,com.sun.javafx.scene.control.skin.modena 58 </openjfx.controls-Export-Package> 59 60 <openjfx.graphics-Import-Package> 61 com.sun.javafx,com.sun.javafx.application,com.sun.javafx.beans,com.sun.javafx.beans.event,com.sun.javafx.binding,com.sun.javafx.collections,com.sun.javafx.css,com.sun.javafx.css.parser,com.sun.javafx.cursor,com.sun.javafx.effect,com.sun.javafx.embed,com.sun.javafx.event,com.sun.javafx.font,com.sun.javafx.geom,com.sun.javafx.geom.transform,com.sun.javafx.geometry,com.sun.javafx.iio,com.sun.javafx.iio.bmp,com.sun.javafx.iio.common,com.sun.javafx.iio.gif,com.sun.javafx.iio.jpeg,com.sun.javafx.iio.png,com.sun.javafx.image,com.sun.javafx.image.impl,com.sun.javafx.logging,com.sun.javafx.menu,com.sun.javafx.perf,com.sun.javafx.print,com.sun.javafx.property,com.sun.javafx.runtime,com.sun.javafx.scene.control.skin,com.sun.javafx.scene.input,com.sun.javafx.scene.layout,com.sun.javafx.scene.text,com.sun.javafx.scene.traversal,com.sun.javafx.sg,com.sun.javafx.sg.prism,com.sun.javafx.stage,com.sun.javafx.text,com.sun.javafx.tk,com.sun.javafx.util,com.sun.marlin,com.sun.marlin.stats,com.sun.prism,com.sun.prism.image,com.sun.prism.paint,com.sun.scenario.effect,com.sun.scenario.effect.impl,com.sun.scenario.effect.impl.prism,javafx.animation,javafx.application,javafx.beans,javafx.beans.binding,javafx.beans.property,javafx.beans.property.adapter,javafx.beans.value,javafx.collections,javafx.collections.transformation,javafx.concurrent,javafx.css,javafx.css.converter,javafx.event,javafx.geometry,javafx.print,javafx.scene,javafx.scene.image,javafx.scene.input,javafx.stage,javafx.util,javafx.util.converter,org.eclipse.swt,org.eclipse.swt.dnd,org.eclipse.swt.events,org.eclipse.swt.graphics,org.eclipse.swt.widgets 62 </openjfx.graphics-Import-Package> 63 <openjfx.graphics-Export-Package> 64 com.sun.glass.events.mac,com.sun.glass.events,com.sun.glass.ui.delegate,com.sun.glass.ui.gtk,com.sun.glass.ui.mac,com.sun.glass.ui.monocle,com.sun.glass.ui.win,com.sun.glass.ui,com.sun.glass.utils,com.sun.javafx.animation,com.sun.javafx.application,com.sun.javafx.beans.event,com.sun.javafx.css.parser,com.sun.javafx.css,com.sun.javafx.cursor,com.sun.javafx.effect,com.sun.javafx.embed,com.sun.javafx.font.coretext,com.sun.javafx.font.directwrite,com.sun.javafx.font.freetype,com.sun.javafx.font,com.sun.javafx.geom.transform,com.sun.javafx.geom,com.sun.javafx.geometry,com.sun.javafx.iio.bmp,com.sun.javafx.iio.common,com.sun.javafx.iio.gif,com.sun.javafx.iio.ios,com.sun.javafx.iio.jpeg,com.sun.javafx.iio.png,com.sun.javafx.iio,com.sun.javafx.image.impl,com.sun.javafx.image,com.sun.javafx.menu,com.sun.javafx.perf,com.sun.javafx.print,com.sun.javafx.runtime.async,com.sun.javafx.runtime.eula,com.sun.javafx.scene.canvas,com.sun.javafx.scene.input,com.sun.javafx.scene.layout.region,com.sun.javafx.scene.layout,com.sun.javafx.scene.paint,com.sun.javafx.scene.shape,com.sun.javafx.scene.text,com.sun.javafx.scene.transform,com.sun.javafx.scene.traversal,com.sun.javafx.scene,com.sun.javafx.sg,com.sun.javafx.sg.prism,com.sun.javafx.stage,com.sun.javafx.text,com.sun.javafx.tk.quantum,com.sun.javafx.tk,com.sun.javafx.util,com.sun.marlin.stats,com.sun.marlin,com.sun.openpisces,com.sun.pisces,com.sun.prism.es2,com.sun.prism.image,com.sun.prism.impl.packrect,com.sun.prism.impl.paint,com.sun.prism.impl.ps,com.sun.prism.impl.shape,com.sun.prism.impl,com.sun.prism.j2d.paint,com.sun.prism.j2d.print,com.sun.prism.j2d,com.sun.prism.null3d,com.sun.prism.paint,com.sun.prism.ps,com.sun.prism.shape,com.sun.prism.sw,com.sun.prism,com.sun.scenario.animation.shared,com.sun.scenario.animation,com.sun.scenario.effect.impl.es2,com.sun.scenario.effect.impl.hw.d3d,com.sun.scenario.effect.impl.hw,com.sun.scenario.effect.impl.prism.ps,com.sun.scenario.effect.impl.prism.sw,com.sun.scenario.effect.impl.prism,com.sun.scenario.effect.impl.state,com.sun.scenario.effect.impl.sw.java,com.sun.scenario.effect.impl.sw.sse,com.sun.scenario.effect.impl.sw,com.sun.scenario.effect.impl,com.sun.scenario.effect.light,com.sun.scenario.effect,com.sun.scenario,com.sun.util.reentrant,javafx.animation,javafx.application,javafx.concurrent,javafx.css.converter,javafx.css,javafx.geometry,javafx.print,javafx.scene.canvas,javafx.scene.effect,javafx.scene.image,javafx.scene.input,javafx.scene.layout,javafx.scene.paint,javafx.scene.robot,javafx.scene.shape,javafx.scene.text,javafx.scene.transform,javafx.scene,javafx.stage,javafx.embed.swt 65 </openjfx.graphics-Export-Package> 66 </properties> 67 <build> 68 <plugins> 69 <plugin> 70 <groupId>org.reficio</groupId> 71 <artifactId>p2-maven-plugin</artifactId> 72 <version>1.3.0</version> 73 <executions> 74 <execution> 75 <id>default-cli</id> 76 <configuration> 77 <additionalArgs>-nouses</additionalArgs> 78 <pedantic>true</pedantic> 79 <artifacts> 80 <!-- specify third party non-OSGi dependencies here --> 81 <!-- groupId:artifactId:version --> 82 <artifact> 83 <id>org.twitter4j:twitter4j-core:4.0.6</id> 84 </artifact> 85 <artifact> 86 <id>com.sun.mail:jakarta.mail:1.6.3</id> 87 <override>true</override> 88 <instructions> 89 <Import-Package>*;resolution:=optional</Import-Package> 90 <Export-Package>*</Export-Package> 91 </instructions> 92 </artifact> 93 <artifact> 94 <id>com.sun.activation:jakarta.activation:1.2.1</id> 95 </artifact> 96 <artifact> 97 <id>javax.mail:dsn:1.4</id> 98 </artifact> 99 <artifact> 100 <id>org.owasp.encoder:encoder:1.2.1</id> 101 </artifact> 102 <artifact> 103 <id>org.openjfx:javafx-base:jar:mac:11.0.1</id> 104 <transitive>true</transitive> 105 <override>true</override> 106 <instructions> 107 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 108 <Import-Package>${openjfx.base-Import-Package}</Import-Package> 109 <Export-Package>${openjfx.base-Export-Package}</Export-Package> 110 <_noee>true</_noee> 111 </instructions> 112 </artifact> 113 <artifact> 114 <id>org.openjfx:javafx-base:jar:win:11.0.1</id> 115 <transitive>true</transitive> 116 <override>true</override> 117 <instructions> 118 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 119 <Import-Package>${openjfx.base-Import-Package}</Import-Package> 120 <Export-Package>${openjfx.base-Export-Package}</Export-Package> 121 <_noee>true</_noee> 122 </instructions> 123 </artifact> 124 <artifact> 125 <id>org.openjfx:javafx-base:jar:linux:11.0.1</id> 126 <transitive>true</transitive> 127 <override>true</override> 128 <instructions> 129 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 130 <Import-Package>${openjfx.base-Import-Package}</Import-Package> 131 <Export-Package>${openjfx.base-Export-Package}</Export-Package> 132 <_noee>true</_noee> 133 </instructions> 134 </artifact> 135 <artifact> 136 <id>org.openjfx:javafx-fxml:jar:mac:11.0.1</id> 137 <transitive>true</transitive> 138 <override>true</override> 139 <instructions> 140 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 141 <Import-Package>${openjfx.fxml-Import-Package}</Import-Package> 142 <Export-Package>${openjfx.fxml-Export-Package}</Export-Package> 143 <_noee>true</_noee> 144 </instructions> 145 </artifact> 146 <artifact> 147 <id>org.openjfx:javafx-fxml:jar:win:11.0.1</id> 148 <transitive>true</transitive> 149 <override>true</override> 150 <instructions> 151 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 152 <Import-Package>${openjfx.fxml-Import-Package}</Import-Package> 153 <Export-Package>${openjfx.fxml-Export-Package}</Export-Package> 154 <_noee>true</_noee> 155 </instructions> 156 </artifact> 157 <artifact> 158 <id>org.openjfx:javafx-fxml:jar:linux:11.0.1</id> 159 <transitive>true</transitive> 160 <override>true</override> 161 <instructions> 162 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 163 <Import-Package>${openjfx.fxml-Import-Package}</Import-Package> 164 <Export-Package>${openjfx.fxml-Export-Package}</Export-Package> 165 <_noee>true</_noee> 166 </instructions> 167 </artifact> 168 <artifact> 169 <id>org.openjfx:javafx-media:jar:mac:11.0.1</id> 170 <transitive>true</transitive> 171 <override>true</override> 172 <instructions> 173 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 174 <Import-Package>*;resolution:=optional</Import-Package> 175 <Export-Package>*</Export-Package> 176 <_noee>true</_noee> 177 </instructions> 178 </artifact> 179 <artifact> 180 <id>org.openjfx:javafx-media:jar:win:11.0.1</id> 181 <transitive>true</transitive> 182 <override>true</override> 183 <instructions> 184 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 185 <Import-Package>*;resolution:=optional</Import-Package> 186 <Export-Package>*</Export-Package> 187 <_noee>true</_noee> 188 </instructions> 189 </artifact> 190 <artifact> 191 <id>org.openjfx:javafx-media:jar:linux:11.0.1</id> 192 <transitive>true</transitive> 193 <override>true</override> 194 <instructions> 195 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 196 <Import-Package>*;resolution:=optional</Import-Package> 197 <Export-Package>*</Export-Package> 198 <_noee>true</_noee> 199 </instructions> 200 </artifact> 201 <artifact> 202 <id>org.openjfx:javafx-controls:jar:mac:11.0.1</id> 203 <transitive>true</transitive> 204 <override>true</override> 205 <instructions> 206 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 207 <Import-Package>${openjfx.controls-Import-Package}</Import-Package> 208 <Export-Package>${openjfx.controls-Export-Package} 209 </Export-Package> 210 <Private-Package>!*</Private-Package> 211 <_noee>true</_noee> 212 </instructions> 213 </artifact> 214 <artifact> 215 <id>org.openjfx:javafx-controls:jar:win:11.0.1</id> 216 <transitive>true</transitive> 217 <override>true</override> 218 <instructions> 219 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 220 <Import-Package>${openjfx.controls-Import-Package}</Import-Package> 221 <Export-Package>${openjfx.controls-Export-Package} 222 </Export-Package> 223 <Private-Package>!*</Private-Package> 224 <_noee>true</_noee> 225 </instructions> 226 </artifact> 227 <artifact> 228 <id>org.openjfx:javafx-controls:jar:linux:11.0.1</id> 229 <transitive>true</transitive> 230 <override>true</override> 231 <instructions> 232 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 233 <Import-Package>${openjfx.controls-Import-Package}</Import-Package> 234 <Export-Package>${openjfx.controls-Export-Package} 235 </Export-Package> 236 <Private-Package>!*</Private-Package> 237 <_noee>true</_noee> 238 </instructions> 239 </artifact> 240 <artifact> 241 <id>org.openjfx:javafx-graphics:jar:mac:11.0.1</id> 242 <transitive>true</transitive> 243 <override>true</override> 244 <instructions> 245 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 246 <Import-Package>${openjfx.graphics-Import-Package}</Import-Package> 247 <Export-Package>${openjfx.graphics-Export-Package}</Export-Package> 248 <Bundle-ClassPath>javafx-swt.jar,.</Bundle-ClassPath> 249 <_noee>true</_noee> 250 </instructions> 251 </artifact> 252 <artifact> 253 <id>org.openjfx:javafx-graphics:jar:win:11.0.1</id> 254 <transitive>true</transitive> 255 <override>true</override> 256 <instructions> 257 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 258 <Import-Package>${openjfx.graphics-Import-Package}</Import-Package> 259 <Export-Package>${openjfx.graphics-Export-Package}</Export-Package> 260 <Bundle-ClassPath>javafx-swt.jar,.</Bundle-ClassPath> 261 <_noee>true</_noee> 262 </instructions> 263 </artifact> 264 <artifact> 265 <id>org.openjfx:javafx-graphics:jar:linux:11.0.1</id> 266 <transitive>true</transitive> 267 <override>true</override> 268 <instructions> 269 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 270 <Import-Package>${openjfx.graphics-Import-Package}</Import-Package> 271 <Export-Package>${openjfx.graphics-Export-Package}</Export-Package> 272 <Bundle-ClassPath>javafx-swt.jar,.</Bundle-ClassPath> 273 <_noee>true</_noee> 274 </instructions> 275 </artifact> 276 <artifact> 277 <id>org.openjfx:javafx-swing:jar:mac:11.0.1</id> 278 <transitive>true</transitive> 279 <override>true</override> 280 <instructions> 281 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 282 <Import-Package>*;resolution:=optional</Import-Package> 283 <Export-Package>*</Export-Package> 284 <_noee>true</_noee> 285 </instructions> 286 </artifact> 287 <artifact> 288 <id>org.openjfx:javafx-swing:jar:win:11.0.1</id> 289 <transitive>true</transitive> 290 <override>true</override> 291 <instructions> 292 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 293 <Import-Package>*;resolution:=optional</Import-Package> 294 <Export-Package>*</Export-Package> 295 <_noee>true</_noee> 296 </instructions> 297 </artifact> 298 <artifact> 299 <id>org.openjfx:javafx-swing:jar:linux:11.0.1</id> 300 <transitive>true</transitive> 301 <override>true</override> 302 <instructions> 303 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 304 <Import-Package>*;resolution:=optional</Import-Package> 305 <Export-Package>*</Export-Package> 306 <_noee>true</_noee> 307 </instructions> 308 </artifact> 309 <artifact> 310 <id>org.openjfx:javafx-web:jar:mac:11.0.1</id> 311 <transitive>true</transitive> 312 <override>true</override> 313 <instructions> 314 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 315 <Import-Package>*;resolution:=optional</Import-Package> 316 <Export-Package>*</Export-Package> 317 <_noee>true</_noee> 318 </instructions> 319 </artifact> 320 <artifact> 321 <id>org.openjfx:javafx-web:jar:win:11.0.1</id> 322 <transitive>true</transitive> 323 <override>true</override> 324 <instructions> 325 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 326 <Import-Package>*;resolution:=optional</Import-Package> 327 <Export-Package>*</Export-Package> 328 <_noee>true</_noee> 329 </instructions> 330 </artifact> 331 <artifact> 332 <id>org.openjfx:javafx-web:jar:linux:11.0.1</id> 333 <transitive>true</transitive> 334 <override>true</override> 335 <instructions> 336 <Bundle-RequiredExecutionEnvironment>JavaSE-10</Bundle-RequiredExecutionEnvironment> 337 <Import-Package>*;resolution:=optional</Import-Package> 338 <Export-Package>*</Export-Package> 339 <_noee>true</_noee> 340 </instructions> 341 </artifact> 342 </artifacts> 343 </configuration> 344 </execution> 345 </executions> 346 </plugin> 347 <plugin> 348 <groupId>org.eclipse.jetty</groupId> 349 <artifactId>jetty-maven-plugin</artifactId> 350 <version>9.4.14.v20181114</version> 351 <configuration> 352 <scanIntervalSeconds>60</scanIntervalSeconds> 353 <webAppSourceDirectory>${basedir}/target/repository/</webAppSourceDirectory> 354 <webApp> 355 <contextPath>/site</contextPath> 356 </webApp> 357 <httpConnector> 358 <port>8080</port> 359 </httpConnector> 360 </configuration> 361 </plugin> 362 <plugin> 363 <groupId>org.apache.maven.plugins</groupId> 364 <artifactId>maven-enforcer-plugin</artifactId> 365 <version>3.0.0-M1</version> 366 <executions> 367 <execution> 368 <id>enforce-java</id> 369 <goals> 370 <goal>enforce</goal> 371 </goals> 372 <configuration> 373 <rules> 374 <requireJavaVersion> 375 <version>[1.8.0-40,)</version> 376 <message>Building JMC requires Java 8 version JDK 1.8.0_40 or later</message> 377 </requireJavaVersion> 378 </rules> 379 </configuration> 380 </execution> 381 <execution> 382 <id>enforce-maven</id> 383 <goals> 384 <goal>enforce</goal> 385 </goals> 386 <configuration> 387 <rules> 388 <requireMavenVersion> 389 <version>3.3.1</version> 390 <message>Building JMC requires at least Maven 3.3.1</message> 391 </requireMavenVersion> 392 </rules> 393 </configuration> 394 </execution> 395 </executions> 396 </plugin> 397 </plugins> 398 </build> 399 <repositories> 400 <repository> 401 <id>OPS4j</id> 402 <url>http://repository.ops4j.org/maven2/</url> 403 </repository> 404 </repositories> 405 </project>