Bump java language to 11 (#980)

* Moved java XML and annotations dependencies to project level instead
of as profiles
* Set compiler language level to 11
* Removed jdk8 from travis build

* Kept java level 8 in naked-objects/dom for datanucleus enhancer, for
now.
This commit is contained in:
lbroman
2019-10-12 07:39:58 +02:00
committed by Ilkka Seppälä
parent e36bbbb22b
commit 6faec9901a
9 changed files with 75 additions and 138 deletions

View File

@ -47,6 +47,15 @@
<version>${camel.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
<!-- Testing -->
<dependency>
<groupId>com.github.sbrannen</groupId>
@ -71,23 +80,4 @@
</dependencies>
<profiles>
<profile>
<id>jdk11-deps</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>