Author: cschneider
Date: Sun Jan 10 07:49:39 2010
New Revision: 897596
URL: http://svn.apache.org/viewvc?rev=897596&view=rev
Log:
CXF-2611 Removed generating temporary file generation to add wsdlLocation to
binding as an empty wsdlLocation has the same effect
Removed:
cxf/trunk/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/BindingFileHelper.java
cxf/trunk/maven-plugins/codegen-plugin/src/test/java/org/apache/cxf/maven_plugin/
cxf/trunk/maven-plugins/codegen-plugin/src/test/resources/bindingWithWsdlLocation.xml
cxf/trunk/maven-plugins/codegen-plugin/src/test/resources/bindingWithoutWsdlLocation.xml
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=897596&r1=897595&r2=897596&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
Sun Jan 10 07:49:39 2010
@@ -51,7 +51,6 @@
* @requiresDependencyResolution test
*/
public class WSDL2JavaMojo extends AbstractMojo {
- private static final String TEMPBINDINGS_DIR = "tempbindings";
/**
* @parameter expression="${cxf.testSourceRoot}"
@@ -261,12 +260,12 @@
}
mergeOptions(effectiveWsdlOptions);
downloadRemoteWsdls(effectiveWsdlOptions);
- String buildDir = project.getBuild().getDirectory();
- File tempBindingDir = new File(buildDir, TEMPBINDINGS_DIR);
- for (WsdlOption o : effectiveWsdlOptions) {
-
BindingFileHelper.setWsdlLocationInBindingsIfNotSet(project.getBasedir(),
tempBindingDir, o,
- getLog());
- }
+// String buildDir = project.getBuild().getDirectory();
+// File tempBindingDir = new File(buildDir, TEMPBINDINGS_DIR);
+// for (WsdlOption o : effectiveWsdlOptions) {
+//
BindingFileHelper.setWsdlLocationInBindingsIfNotSet(project.getBasedir(),
tempBindingDir, o,
+// getLog());
+// }
return effectiveWsdlOptions;
}