| Hi, 
 I do read the article you mentioned. But it seems not 100% suitable to my case since I use now the eclipse 3.7 Indigo with m2e plugin. By eclipse 3.7 Indigo there is something new or different. Here is an article for that:
 http://blog.christian-moser.ch/wordpress/?cat=3
 
 I change a little bit my pom.xml as follow:
 
 ...
 <build>
 <finalName>TestWebService</finalName>
 <pluginManagement>
 <plugins>
 <!--This plugin's configuration is used to store Eclipse m2e settings
 only.
 It has no influence on the Maven build itself. -->
 <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>wsgen</goal>
 </goals>
 </pluginExecutionFilter>
 <action>
 <excecute />
 </action>
 </pluginExecution>
 </pluginExecutions>
 </lifecycleMappingMetadata>
 </configuration>
 </plugin>
 </plugins>
 </pluginManagement>
 </build>
 ...
 
 But the wsdl file is not created yet. It seems there is a bug by eclipse 3.7?
 
 Thomas
 
 
 
 --- Anders Hammar <anders@xxxxxxxxxx> schrieb am Mi, 7.9.2011:
 
 Von: Anders Hammar
 <anders@xxxxxxxxxx>
 Betreff: Re: [m2e-users] Cannot create the wsdl by using plugin wsgen
 An: "Maven Integration for Eclipse users mailing list" <m2e-users@xxxxxxxxxxx>
 Datum: Mittwoch, 7. September, 2011 09:09 Uhr
 
 
 Well, your issue is a basic Maven issue. You have not bound the execution of the plugin to the maven build lifecycle. You have merely created a m2e configuration, which I guess m2e ignores as the plugin is not bound to the lifecycle. Read this:http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html /Anders 
On Wed, Sep 7, 2011 at 08:58, Thomas Chang <thomas2004ch@xxxxxxxx>  wrote: 
| You can find the code in the pom.xml as follow: 
 ...
 ...<artifactId>jaxws-maven-plugin</artifactId>
 
 
 Doesn't it mean the jaxws-plugin not bound?
 
 
 Thomas
 
 
 
 
 --- Anders Hammar <anders@xxxxxxxxxx> schrieb am Mi, 7.9.2011:
 
 Von: Anders Hammar <anders@xxxxxxxxxx>
 Betreff: Re: [m2e-users] Cannot create the wsdl by using plugin wsgen
 An: "Maven Integration for Eclipse users mailing list" <m2e-users@xxxxxxxxxxx>
 Datum: Mittwoch, 7. September, 2011 08:34 Uhr
 -----Integrierter Anhang folgt-----
But the jaxws plugin hasn't been bound to the lifecycle? /Anders On Wed, Sep 7, 2011 at 08:09, Thomas Chang <thomas2004ch@xxxxxxxx>  wrote:
 | Hi all, 
 Formerly I use the maveb 2.0.8 and can use the wsgen plugin to create the wsdl file in eclipse by running mvn package or mvn install.
 
 Now I change to use the maven 3.0.3 and I can't create the wsdl anymore. Here is my pom.xml.
 
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 <modelVersion>4.0.0</modelVersion>
 <groupId>com.mycompany.app</groupId>
 <artifactId>TestWebService</artifactId>
 <packaging>war</packaging>
 <version>1.0-SNAPSHOT</version>
 <name>TestWebService Maven Webapp</name>
 <url>http://maven.apache.org</url>
 <pluginRepositories>
 <pluginRepository>
 <id>maven2-repository.dev.java.net</id>
 <url>http://download.java.net/maven/2/</url>
 </pluginRepository>
 </pluginRepositories>
 <dependencies>
 <dependency>
 <groupId>junit</groupId>
 <artifactId>junit</artifactId>
 <version>3.8.1</version>
 <scope>test</scope>
 </dependency>
 <dependency>
 <groupId>commons-logging</groupId>
 <artifactId>commons-logging</artifactId>
 <version>1.1.1</version>
 </dependency>
 <!-- jax-ws -->
 <dependency>
 <groupId>com.sun.xml.ws</groupId>
 <artifactId>jaxws-rt</artifactId>
 <version>2.1.5</version>
 <exclusions>
 <exclusion>
 <groupId>com.sun.xml.bind</groupId>
 <artifactId>jaxb-impl</artifactId>
 </exclusion>
 <exclusion>
 <groupId>javax.xml.bind</groupId>
 <artifactId>jaxb-api</artifactId>
 </exclusion>
 <exclusion>
 <groupId>javax.xml.stream</groupId>
 <artifactId>stax-api</artifactId>
 </exclusion>
 <exclusion>
 <groupId>javax.xml.soap</groupId>
 <artifactId>saaj-api</artifactId>
 </exclusion>
 <exclusion>
 <groupId>com.sun.xml.messaging.saaj</groupId>
 <artifactId>saaj-impl</artifactId>
 </exclusion>
 </exclusions>
 </dependency>
 <dependency>
 <groupId>javax.xml.bind</groupId>
 <artifactId>jaxb-api</artifactId>
 <version>2.1</version>
 <scope>provided</scope>
 </dependency>
 <dependency>
 <groupId>com.sun.xml.bind</groupId>
 <artifactId>jaxb-impl</artifactId>
 <version>2.1.9</version>
 </dependency>
 <dependency>
 <groupId>javax.xml.stream</groupId>
 <artifactId>stax-api</artifactId>
 <version>1.0-2</version>
 <scope>provided</scope>
 </dependency>
 <dependency>
 <groupId>org.slf4j</groupId>
 <artifactId>slf4j-log4j12</artifactId>
 <version>1.6.2</version>
 </dependency>
 </dependencies>
 <build>
 <finalName>TestWebService</finalName>
 <plugins>
 <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>wsgen</goal>
 </goals>
 </pluginExecutionFilter>
 <action>
 <execute />
 </action>
 </pluginExecution>
 </pluginExecutions>
 </lifecycleMappingMetadata>
 </configuration>
 </plugin>
 <plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-surefire-plugin</artifactId>
 <configuration>
 <skip>true</skip>
 </configuration>
 </plugin>
 <plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-compiler-plugin</artifactId>
 <configuration>
 <source>1.5</source>
 <target>1.5</target>
 </configuration>
 </plugin>
 </plugins>
 </build>
 </project>
 
 
 Cheers
 
 Thomas
 
 | 
 _______________________________________________
 m2e-users mailing list
 m2e-users@xxxxxxxxxxx
 https://dev.eclipse.org/mailman/listinfo/m2e-users
 
 
 | 
 _______________________________________________
 m2e-users mailing list
 m2e-users@xxxxxxxxxxx
 https://dev.eclipse.org/mailman/listinfo/m2e-users
 
 
-----Integrierter Anhang folgt-----
 
 
 |