maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Cannot create class by using plugin 'wsimport'
Date Mon, 05 Sep 2011 16:26:04 GMT
If this is an m2e issue, please take it to the m2e users list. If it
is a maven issue, the state of the m2e lifecycle mapping is not
relevant. Ordinary eclipse builds don't pay attention to it.

On Mon, Sep 5, 2011 at 9:58 AM, Thomas Chang <thomas2004ch@yahoo.de> wrote:
> 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
Mime
View raw message