You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/09/27 19:37:17 UTC

svn commit: r1526991 - /cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java

Author: dkulp
Date: Fri Sep 27 17:37:17 2013
New Revision: 1526991

URL: http://svn.apache.org/r1526991
Log:
[CXF-5215] Fix problem with certain path names on Windows in the codegen plugin
Patch from Grzegorz Grzybek applied

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

Modified: cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
URL: http://svn.apache.org/viewvc/cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java?rev=1526991&r1=1526990&r2=1526991&view=diff
==============================================================================
--- cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java (original)
+++ cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java Fri Sep 27 17:37:17 2013
@@ -357,7 +357,6 @@ public abstract class AbstractCodegenMoh
             Resource r2 = scanForResources(genroot, sourceRoot);
             if (r2 != sourceRoot) {
                 r2.setDirectory(getGeneratedSourceRoot().getAbsolutePath());
-                r2.setTargetPath(project.getBuild().getOutputDirectory());
                 project.addResource(r2);
             }
         }
@@ -373,7 +372,6 @@ public abstract class AbstractCodegenMoh
             Resource r2 = scanForResources(genroot, testRoot);
             if (r2 != testRoot) {
                 r2.setDirectory(getGeneratedTestRoot().getAbsolutePath());
-                r2.setTargetPath(project.getBuild().getTestOutputDirectory());
                 project.addTestResource(r2);
             }
         }