Fix for JDK 11

This commit is contained in:
Martin Stockhammer 2020-06-28 21:20:18 +02:00
parent 622ebf3c5b
commit 827bd5d95e
4 changed files with 25 additions and 2 deletions

View File

@ -436,6 +436,11 @@
<artifactId>javax.annotation-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -514,7 +514,11 @@
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -402,12 +402,16 @@
<artifactId>javax.annotation-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency>
<!-- END Needed for JDK >= 9 -->
</dependencies>

10
pom.xml
View File

@ -102,6 +102,8 @@
<joda.time.version>1.5.2</joda.time.version>
<glassfish.jaxb.version>2.3.3</glassfish.jaxb.version>
<!-- restore when we will be able to use a derby in memory database -->
<redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl>
<redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver>
@ -1493,6 +1495,8 @@
<version>${jsoup.version}</version>
</dependency>
<!-- Used by Apache Cassandra as transitive dependency -->
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
@ -1500,6 +1504,12 @@
</dependency>
<!-- Dependencies for JDK >=9 update -->
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${glassfish.jaxb.version}</version>
</dependency>
<!-- END - Dependencies for JDK >=9 update -->
<dependency>
<groupId>com.rometools</groupId>