Skip to content

Commit 75dbe5c

Browse files
committed
Include java.xml.ws module when running on Java 9
See gh-7226
1 parent 5ba2906 commit 75dbe5c

File tree

1 file changed

+19
-0
lines changed
  • spring-boot-samples/spring-boot-sample-webservices

1 file changed

+19
-0
lines changed

spring-boot-samples/spring-boot-sample-webservices/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,23 @@
5151
</plugin>
5252
</plugins>
5353
</build>
54+
<profiles>
55+
<profile>
56+
<id>java9</id>
57+
<activation>
58+
<jdk>9</jdk>
59+
</activation>
60+
<build>
61+
<plugins>
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-surefire-plugin</artifactId>
65+
<configuration>
66+
<argLine>--add-modules java.base,java.xml.ws</argLine>
67+
</configuration>
68+
</plugin>
69+
</plugins>
70+
</build>
71+
</profile>
72+
</profiles>
5473
</project>

0 commit comments

Comments
 (0)