Configure build to be compatible with Java 11

See gh-14028
This commit is contained in:
Stephane Nicoll
2018-08-09 14:35:03 +02:00
parent 930c838da9
commit d1ac774af2
16 changed files with 91 additions and 41 deletions

View File

@@ -105,7 +105,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -47,7 +47,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -66,7 +66,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -55,7 +55,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -56,7 +56,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -71,7 +71,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -55,7 +55,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -63,7 +63,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -63,7 +63,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -63,7 +63,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -37,7 +37,7 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9+</id>
<activation>
<jdk>[9,)</jdk>
</activation>

View File

@@ -49,21 +49,28 @@
</build>
<profiles>
<profile>
<id>java9</id>
<id>java9-10</id>
<activation>
<jdk>[9,)</jdk>
<jdk>[9,10]</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-modules java.base,java.xml.ws</argLine>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>java11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>