cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r822056 - /cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
Date Mon, 05 Oct 2009 22:22:19 GMT
Author: cschneider
Date: Mon Oct  5 22:22:18 2009
New Revision: 822056

URL: http://svn.apache.org/viewvc?rev=822056&view=rev
Log:
CXF-2275 Bugfix: typo in variable name caused non wsdl artifacts to be considered

Modified:
    cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java

Modified: cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java?rev=822056&r1=822055&r2=822056&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
(original)
+++ cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/WSDL2JavaMojo.java
Mon Oct  5 22:22:18 2009
@@ -299,7 +299,7 @@
                 && artifact.getVersion().equals(rProject.getVersion())) {
                 Set<Artifact> artifacts = rProject.getArtifacts();
                 for (Artifact pArtifact : artifacts) {
-                    if ("wsdl".equals(artifact.getType())) {
+                    if ("wsdl".equals(pArtifact.getType())) {
                         return pArtifact;
                     }
                 }



Mime
View raw message