<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>
<!-- Following configuration will pass ${basedir}/src/remote-xjc/bindings.xjc and ${basedir}/src/jaxws/bindings-default.xjc to wsimport. -->
<configuration>
<bindingFiles>
<bindingFile>${basedir}/src/remote-xjc/bindings.xjc</bindingFile>
<bindingFile>bindings-default.xjc</bindingFile>
</bindingFiles>
<wsdlUrls>
<wsdlUrl>http://example.com/mywebservices/MyService?WSDL</wsdlUrl>
</wsdlUrls>
</configuration>
</execution>
</executions>
</plugin>
...
</plugins>
...
<build>
...
</project>