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

@@ -454,5 +454,31 @@
<spring.profiles.active>integration</spring.profiles.active>
</properties>
</profile>
<profile>
<id>java9-10</id>
<activation>
<jdk>[9,10]</jdk>
</activation>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
<profile>
<id>java11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</profile>
</profiles>
</project>