axis2-wsdl2code-maven-plugin offers a single goal:
To run the plugin, add the following section to your POM:
<build> <plugins> <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> <executions> <execution> <goals> <goal>wsdl2code</goal> </goals> <configuration> <packageName>com.foo.myservice</packageName> <wsdlFile>src/main/wsdl/myservice.wsdl</wsdlFile> <databindingName>xmlbeans</databindingName> </configuration> </execution> </executions> </plugin> </plugins> </build>
The plugin will be invoked automatically in the generate-sources phase.
See the detailed documentation on properties for how to configure the goal.