Hi all,
Formerly I use maven 2.8 and can create the stub class by using the plugin wsimport. Now I change to maven 3.0.3 but no stub class is create after I run mvn package. The plugin in my pom.xml looks as follow:
... <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration>
<lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId> <versionRange>1.10</versionRange> <goals> <goal>wsimport</goal> </goals>
<configuration> <wsdlDirectory>src/main/resources/wsdl</wsdlDirectory> <wsdlFiles> <wsdlFile>MyWebService.wsdl</wsdlFile>
</wsdlFiles> <wsdlLocation>http://172.23.17.40:8080/TestWebService/mywebservice?wsdl</wsdlLocation> <packageName>com.me.jaxws.stub</packageName> </configuration>
</pluginExecutionFilter> <action> <execute /> </action> </pluginExecution> </pluginExecutions>
</lifecycleMappingMetadata> </configuration> </plugin> ...
Someone can help?
Regards
Thomas
|