You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by cs...@apache.org on 2010/01/10 08:50:51 UTC

svn commit: r897597 - /cxf/trunk/systests/wsdl_maven/codegen/pom.xml

Author: cschneider
Date: Sun Jan 10 07:50:50 2010
New Revision: 897597

URL: http://svn.apache.org/viewvc?rev=897597&view=rev
Log:
Added documentation to explain how the defaults in codegen plugin work.

Modified:
    cxf/trunk/systests/wsdl_maven/codegen/pom.xml

Modified: cxf/trunk/systests/wsdl_maven/codegen/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/codegen/pom.xml?rev=897597&r1=897596&r2=897597&view=diff
==============================================================================
--- cxf/trunk/systests/wsdl_maven/codegen/pom.xml (original)
+++ cxf/trunk/systests/wsdl_maven/codegen/pom.xml Sun Jan 10 07:50:50 2010
@@ -43,9 +43,16 @@
                 <version>${project.version}</version>
                 <executions>
                     <execution>
+                        <!-- Codegen with default settings.
+                             This test shows some of the defaults that work without configuration.  
+                             In this case the wsdl dependency to the service "cxf-systests-java2ws"
+                             will be processed.
+                             As we have a file named defaultBinding.xml in the classpath
+                             this binding will be applied.
+                             The binding file contains an empty wsdlLocation. This means that
+                             the binding will be applied to the wsdl currently processed.  -->
                         <id>generate-sources</id>
                         <phase>generate-sources</phase>
-
                         <goals>
                             <goal>wsdl2java</goal>
                         </goals>
@@ -60,7 +67,7 @@
             <groupId>org.apache.cxf.systests.wsdl_maven</groupId>
             <artifactId>cxf-systests-java2ws</artifactId>
             <version>${project.version}</version>
-	  <type>wsdl</type>
+	        <type>wsdl</type>
         </dependency>
         <dependency>
             <groupId>org.apache.cxf</groupId>