Usage
This plugin runs the WsImport compiler from Maven2. Please be aware this plugin requires a Java SE 8+ compiler.
<project>
...
<dependencies>
...
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>3.0.0</version>
</dependency>
...
</dependencies>
...
<build>
<plugins>
<plugin>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<goals>
<goal>wsimport</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- The name of your generated source package -->
<packageName>com.example.myservice</packageName>
</configuration>
<!-- if you want to use a specific version of JAX-WS/Jakarta XML Web Services, you can do so like this -->
<dependencies>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-tools</artifactId>
<version>3.0.0-M2</version>
</dependency>
</dependencies>
</plugin>
...
</plugins>
</build>
...
</project>