You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by mm...@apache.org on 2006/11/15 03:40:50 UTC
svn commit: r475103 -
/incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/eclipse/EclipsePluginMojo.java
Author: mmao
Date: Tue Nov 14 18:40:50 2006
New Revision: 475103
URL: http://svn.apache.org/viewvc?view=rev&rev=475103
Log:
Roll back the eclipse version in plugin.xml, use the simple version,
otherwise the eclipse can not load the plugin
Modified:
incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/eclipse/EclipsePluginMojo.java
Modified: incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/eclipse/EclipsePluginMojo.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/eclipse/EclipsePluginMojo.java?view=diff&rev=475103&r1=475102&r2=475103
==============================================================================
--- incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/eclipse/EclipsePluginMojo.java (original)
+++ incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/eclipse/EclipsePluginMojo.java Tue Nov 14 18:40:50 2006
@@ -29,6 +29,7 @@
import java.util.List;
import java.util.Properties;
+import org.apache.cxf.common.util.StringUtils;
import org.apache.cxf.tools.wsdl2java.frontend.jaxws.VelocityWriter;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.plugin.AbstractMojo;
@@ -97,7 +98,7 @@
}
private String getVersion() {
- return project.getVersion();
+ return StringUtils.formatVersionNumber(project.getVersion());
}
// TODO: Reuse the velocity in the tools