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

Reply via email to