Include java.xml.ws module when running on Java 9

See gh-7226
This commit is contained in:
Stephane Nicoll 2017-09-29 12:12:46 +02:00
parent 5ba2906045
commit 75dbe5c2de

View File

@ -51,4 +51,23 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>java9</id>
<activation>
<jdk>9</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-modules java.base,java.xml.ws</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>