users@glassfish.java.net

WSDL-first Maven plugin

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Sun, 15 Mar 2009 15:56:25 +0100

I have an ANT task that produces a SOAP web-service and it works fine
in Glassfish..

now I tried the Maven plugin to produce the same web-service and
nothing works anymore..

question: where can I find the complete reference of the configuration
section of the plugin ?

my ANT task:

                <wsimport debug="true" verbose="${verbose}" keep="true"
extension="false" destdir="${generated.dir}"
wsdl="${service.admin.wsdl}"
wsdllocation="${service.admin.wsdllocation}">
                        <produces dir="${generated.dir}" includes="${generated.dir}/**/*.java" />
                        <xjcarg value="-Xcollection-setter-injector" />
                </wsimport>

my Maven goal:

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>jaxws-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>wsimport</goal>
                                                </goals>
                                                <configuration>
                                                        <wsdlDirectory>src/main/resources/META-INF/wsdl
                                                        </wsdlDirectory>
                                                        <wsdlFiles>
                                                                <wsdlFile>cejug-classifieds-admin.wsdl
                                                                </wsdlFile>
                                                                <wsdlFile>cejug-classifieds-business.wsdl
                                                                </wsdlFile>
                                                        </wsdlFiles>
                                                        <sourceDestDir>src/main/generated
                                                        </sourceDestDir>
                                                        <verbose>false</verbose>
                                                        <xnocompile>true</xnocompile>
                                                        <genWsdl>false</genWsdl>
                                                        <keep>true</keep>
                                                        <extension>false</extension>
                                                        <debug>true</debug>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>


-- 
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces