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

See gh-7226
pull/10459/head
Stephane Nicoll 7 years ago
parent 5ba2906045
commit 75dbe5c2de

@ -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>

Loading…
Cancel
Save