Adding profile for JDK11
This commit is contained in:
parent
c5ef6ed1fc
commit
9e0f15c037
5
pom.xml
5
pom.xml
|
@ -404,6 +404,11 @@
|
|||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.6</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-digester</groupId>
|
||||
<artifactId>commons-digester</artifactId>
|
||||
|
|
|
@ -59,4 +59,26 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<!--
|
||||
The jaxb dependency is needed by the enunciate plugin starting with JDK9.
|
||||
Adding to the plugin dependency is not sufficient, so I have to add it as project dependency.
|
||||
Using provided scope to avoid adding it to packaging.
|
||||
-->
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jdk9+</id>
|
||||
<activation>
|
||||
<jdk>[1.9,)</jdk>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.3.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -274,4 +274,25 @@
|
|||
</plugins>
|
||||
</build>
|
||||
|
||||
<!--
|
||||
The jaxb dependency is needed by the enunciate plugin starting with JDK9.
|
||||
Adding to the plugin dependency is not sufficient, so I have to add it as project dependency.
|
||||
Using provided scope to avoid adding it to packaging.
|
||||
-->
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jdk9+</id>
|
||||
<activation>
|
||||
<jdk>[1.9,)</jdk>
|
||||
</activation>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>javax.xml.bind</groupId>
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.3.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
|
Loading…
Reference in New Issue