cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject svn commit: r475103 - /incubator/cxf/trunk/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/eclipse/EclipsePluginMojo.java
Date Wed, 15 Nov 2006 02:40:50 GMT
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 



Mime
View raw message