servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r639285 - /servicemix/smx3/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractJbiMojo.java
Date Thu, 20 Mar 2008 13:25:47 GMT
Author: ffang
Date: Thu Mar 20 06:25:46 2008
New Revision: 639285

URL: http://svn.apache.org/viewvc?rev=639285&view=rev
Log:
fix checkstyle/pmd error

Modified:
    servicemix/smx3/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractJbiMojo.java

Modified: servicemix/smx3/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractJbiMojo.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractJbiMojo.java?rev=639285&r1=639284&r2=639285&view=diff
==============================================================================
--- servicemix/smx3/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractJbiMojo.java
(original)
+++ servicemix/smx3/trunk/tooling/jbi-maven-plugin/src/main/java/org/apache/servicemix/maven/plugin/jbi/AbstractJbiMojo.java
Thu Mar 20 06:25:46 2008
@@ -311,11 +311,12 @@
         Manifest manifest = new Manifest();
         //manifest.getMainSection().addConfiguredAttribute(new Manifest.Attribute("Bundle-Name",
project.getName()));
         //manifest.getMainSection().addConfiguredAttribute(new Manifest.Attribute("Bundle-SymbolicName",
project.getArtifactId()));
-        //manifest.getMainSection().addConfiguredAttribute(new Manifest.Attribute("Bundle-Version",
fixBundleVersion(project.getVersion())));
+        //manifest.getMainSection().addConfiguredAttribute(new Manifest.Attribute(
+            //"Bundle-Version", fixBundleVersion(project.getVersion())));
         return manifest;
     }
 
-    private static String fixBundleVersion(String version) {
+    public static String fixBundleVersion(String version) {
         // Maven uses a '-' to separate the version qualifier, while
         // OSGi uses a '.', so we need to convert the first '-' to a
         // '.' and fill in any missing minor or micro version



Mime
View raw message