Commit 934ab5880bc584e4feaa943520506f7c4739bea1

Authored by Mickael Boiziot
1 parent 7c8009c1
Exists in master and in 1 other branch b6.0.X

Fix build for Java 11 by adding javax.xml.bind jaxb-api as dependency.

java.xml.bind was deprecated since since Java 9 and removed in Java 11.
This commit add the package from Maven to be able to use it in Java 11 and fix
 build error.
Showing 1 changed file with 8 additions and 0 deletions   Show diff stats
pom.xml
... ... @@ -127,6 +127,14 @@
127 127 <version>2.2.2</version>
128 128 <scope>compile</scope>
129 129 </dependency>
  130 +
  131 + <!-- Needed to compile with Java 11+ as removed from Java -->
  132 + <dependency>
  133 + <groupId>javax.xml.bind</groupId>
  134 + <artifactId>jaxb-api</artifactId>
  135 + <version>2.3.1</version>
  136 + </dependency>
  137 +
130 138 <dependency>
131 139 <groupId>junit</groupId>
132 140 <artifactId>junit</artifactId>
... ...