cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r989314 - /cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/pom.xml
Date Wed, 25 Aug 2010 19:26:04 GMT
Author: veithen
Date: Wed Aug 25 19:26:04 2010
New Revision: 989314

URL: http://svn.apache.org/viewvc?rev=989314&view=rev
Log:
Use cxf-codegen-plugin instead of jaxws-maven-plugin.

Modified:
    cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/pom.xml

Modified: cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/pom.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/pom.xml?rev=989314&r1=989313&r2=989314&view=diff
==============================================================================
--- cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/pom.xml (original)
+++ cxf/sandbox/veithen/cxf-spring-security/cxf-systests-spring-security/pom.xml Wed Aug 25
19:26:04 2010
@@ -154,26 +154,27 @@
     <build>
         <plugins>
             <plugin>
-                <!-- TODO: we should use the CXF plugin here -->
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>jaxws-maven-plugin</artifactId>
-                <version>1.12</version>
+                <groupId>org.apache.cxf</groupId>
+                <artifactId>cxf-codegen-plugin</artifactId>
+                <version>${project.version}</version>
                 <executions>
                     <execution>
+                        <phase>generate-sources</phase>
                         <goals>
                             <!-- TODO: we actually should generate the code for the test
                                        phase, not the compile phase -->
-                            <goal>wsimport</goal>
+                            <goal>wsdl2java</goal>
                         </goals>
+                        <configuration>
+                            <wsdlOptions>
+                                <wsdlOption>
+                                    <wsdl>src/test/resources/META-INF/wsdl/calculator.wsdl</wsdl>
+                                    <wsdlLocation>META-INF/wsdl/calculator.wsdl</wsdlLocation>
+                                </wsdlOption>
+                            </wsdlOptions>
+                        </configuration>
                     </execution>
                 </executions>
-                <configuration>
-                    <wsdlDirectory>src/test/resources/META-INF/wsdl</wsdlDirectory>
-                    <wsdlFiles>
-                        <wsdlFile>calculator.wsdl</wsdlFile>
-                    </wsdlFiles>
-                    <wsdlLocation>META-INF/wsdl/calculator.wsdl</wsdlLocation>
-                </configuration>
             </plugin>
         </plugins>
     </build>



Mime
View raw message