started to fix sharepoint API under JDK11

This commit is contained in:
2019-06-17 14:21:11 +02:00
parent 6829b65a2f
commit 96892cf8f9
4 changed files with 70 additions and 10 deletions

View File

@ -19,7 +19,7 @@
<plugins>
<!-- convert wsdl to object -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<groupId>com.helger.maven</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<configuration>
<sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir>
@ -160,15 +160,37 @@
</configuration>
</execution>
</executions>
</plugin>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>javax.jws</groupId>
<artifactId>javax.jws-api</artifactId>
<version>1.1</version>
</dependency>
</dependencies>
</plugin>
<!-- Maven jaxb2 plugin - invoke the xjc compiler to compile XML schema into Java classes. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>
<configuration>
<quiet>false</quiet>
<verbose>false</verbose>
<verbose>true</verbose>
<clearOutputDir>false</clearOutputDir> <!-- do not set to true, multiple executions into same dir -->
</configuration>
@ -186,7 +208,8 @@
<outputDirectory>${project.build.directory}/generated-sources/jaxb/</outputDirectory>
<removeOldOutput>true</removeOldOutput>
<sources>
<source>${basedir}/src/main/resources/xsd/batch.xsd</source>
<source>src/main/resources/xsd/dummy.xsd</source>
<source>src/main/resources/xsd/batch.xsd</source>
</sources>
</configuration>
</execution>
@ -230,6 +253,18 @@
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-xjc</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<version>1.2.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
@ -255,6 +290,29 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
</dependency>
<!-- javax libraries removed from JDK9 and later -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.2</version>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>jakarta.activation</artifactId>
<version>1.2.1</version>
</dependency>
</dependencies>
</project>

View File

@ -4,7 +4,7 @@
<parent>
<groupId>de.muehlencord.shared</groupId>
<artifactId>shared-sharepoint</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.2-SNAPSHOT</version>
</parent>
<groupId>de.muehlencord.shared.sharepoint</groupId>
<artifactId>sharepoint-mock</artifactId>

View File

@ -4,6 +4,7 @@
<parent>
<groupId>de.muehlencord</groupId>
<artifactId>shared</artifactId>
<version>1.2-SNAPSHOT</version>
</parent>
<groupId>de.muehlencord.shared</groupId>
<artifactId>shared-sharepoint</artifactId>