You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Peter Gardfjell <pe...@gmail.com> on 2008/05/07 10:28:28 UTC
Re: 2.1 cxf-codegen-plugin wsdl2java not building to specified
package dir
Hi,
I am also experiencing the same problem. The "-p" option does not seem to
have any effect for cxf-codegen-plugin as of version 2.1. Is it time to file
a bug report or is the documentation lagging behind?
Anyone?
Thanks, Peter
jack Nuzbit wrote:
>
> Hi All,
>
> I'm using Maven to build the java source from a wsdl using the wsdl2java
> goal of the codegen plugin.
> I've just tried to update from 2.0.4-incubator to 2.1 but my wsdl2java
> process no longer builds the compiled classes into my specified package
> name.
>
> Can anyone shed any light on what's changed because the documentation
> remains unchanged.
>
> Here is the maven plugin xml I'm using in my pom.xml
>
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-codegen-plugin</artifactId>
> <version>2.0.4-incubator</version>
> <executions>
> <execution>
> <id>generate-sources</id>
> <phase>generate-sources</phase>
> <configuration>
>
> <sourceRoot>${basedir}/target/generated-sources/src/main/java</sourceRoot>
> <wsdlOptions>
> <wsdlOption>
>
> <wsdl>${basedir}/src/main/resources/wsdl/my.wsdl</wsdl>
> <extraargs>
> <extraarg>-p</extraarg>
>
> <extraarg>my.package.name</extraarg>
> </extraargs>
> </wsdlOption>
> </wsdlOptions>
> </configuration>
> <goals>
> <goal>wsdl2java</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
>
>
> Many thanks.
>
> Jack
>
>
--
View this message in context: http://www.nabble.com/2.1-cxf-codegen-plugin-wsdl2java-not-building-to-specified-package-dir-tp16962760p17099950.html
Sent from the cxf-user mailing list archive at Nabble.com.