> <plugin> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-codegen-plugin</artifactId> > <version>2.0-incubator-M1</version> > <dependencies> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-frontend-jaxws</artifactId> > <version>2.0</version> > </dependency> > </dependencies>
Change both of those to 2.0.2-incubator and try again. > <goal>java2ws</goal> Change to java2wsdl Dan On Thursday 11 October 2007, Nef Asus wrote: > Hello James, > I'm using Apache CXF 2.0.2. > Here's an extract from my pom.xml > > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <encoding>UTF-8</encoding> > <source>1.5</source> > <target>1.5</target> > <showDeprecation>true</showDeprecation> > <showWarnings>true</showWarnings> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-codegen-plugin</artifactId> > <version>2.0-incubator-M1</version> > <dependencies> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-frontend-jaxws</artifactId> > <version>2.0</version> > </dependency> > </dependencies> > <executions> > <execution> > <id>generate-wsdl</id> > <phase>process-classes</phase> > <configuration> > <className>foo.myClass</className> > </configuration> > <goals> > <goal>java2ws</goal> > </goals> > </execution> > </executions> > </plugin> > > 2007/10/11, James Mao <[EMAIL PROTECTED]>: > > What's the version of cxf are you using? it's been changed to > > java2ws http://cwiki.apache.org/CXF20DOC/java-to-ws.html > > > > James > > > > > Hi, I've been trying to use the Maven plugin but I'm getting this > > > > error. > > > > > [INFO] Scanning for projects... > > > [INFO] > > > ------------------------------------------------------------------ > > >---- --- > > > [INFO] Building FooProject Web Services Wrapper > > > [INFO] task-segment: [package] > > > [INFO] > > > ------------------------------------------------------------------ > > >---- --- > > > [INFO] > > > ------------------------------------------------------------------ > > >---- [ERROR] BUILD ERROR > > > [INFO] > > > ------------------------------------------------------------------ > > >---- [INFO] 'java2wsdl' was specified in an execution, but not > > > found in the plugin > > > [INFO] > > > ------------------------------------------------------------------ > > >---- [INFO] For more information, run Maven with the -e switch > > > [INFO] > > > ------------------------------------------------------------------ > > >---- [INFO] Total time: 1 second > > > [INFO] Finished at: Thu Oct 11 13:40:06 CEST 2007 > > > [INFO] Final Memory: 3M/5M > > > [INFO] > > > ------------------------------------------------------------------ > > >---- -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog