hi

i use the cxf plugin xsd2java but the generate package always start with
"main.java"  even when i specify the target package. any work around ? is
there an option to that ? (it is not well document)

            <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-common-xsd</artifactId>
                <version>2.2.3</version>
                <executions>
                    <execution>
                        <id>generate-sources</id>
                        <phase>generate-sources</phase>
                        <configuration>
                           
<sourceRoot>${basedir}/target/generated/src/main/java</sourceRoot>
                            <xsdOptions>
                               <xsdOption>
                                   
<xsd>${basedir}/src/main/resources/tapdur.xsd</xsd>
                                   
<packagename>com.tapdur.service</packagename>
                               </xsdOption>
                             </xsdOptions>
                        </configuration>
                        <goals>
                            <goal>xsdtojava</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

the generated source belongs to main.java.com.tapdur.service instead of
"com.tapdur.service"


regards
Bruno
-- 
View this message in context: 
http://www.nabble.com/xsdtojava-tp25676425p25676425.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to