You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by mc...@apache.org on 2007/09/21 18:44:48 UTC

svn commit: r578201 - /felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java

Author: mcculls
Date: Fri Sep 21 09:44:44 2007
New Revision: 578201

URL: http://svn.apache.org/viewvc?rev=578201&view=rev
Log:
FELIX-306: be consistent and delegate all version mangling to BND library

Modified:
    felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java

Modified: felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java?rev=578201&r1=578200&r2=578201&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java (original)
+++ felix/trunk/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java Fri Sep 21 09:44:44 2007
@@ -501,9 +501,7 @@
         properties.put(Analyzer.BUNDLE_SYMBOLICNAME, bsn);
         properties.put(Analyzer.IMPORT_PACKAGE, "*");
 
-        String version = this.getMaven2OsgiConverter().getVersion( project.getVersion() );
-
-        properties.put(Analyzer.BUNDLE_VERSION, version);
+        properties.put(Analyzer.BUNDLE_VERSION, project.getVersion());
         this.header(properties, Analyzer.BUNDLE_DESCRIPTION, project
            .getDescription());
         this.header(properties, Analyzer.BUNDLE_LICENSE, this.printLicenses(project