Add jaxb and jaxws dependencies when compiling with spark-34 profile as they are required to run with jdk > 8

This commit is contained in:
Giambattista Bloisi 2024-05-28 14:14:51 +02:00
parent 75d5ddb999
commit 73316d8c83
1 changed files with 19 additions and 0 deletions

View File

@ -169,4 +169,23 @@
</dependency>
</dependencies>
<!-- dependencies required on JDK9+ because J2EE has been removed -->
<profiles>
<profile>
<id>spark-34</id>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.11</version>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.3.3</version>
<type>pom</type>
</dependency>
</dependencies>
</profile>
</profiles>
</project>