[
https://issues.apache.org/jira/browse/FELIX-2173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved FELIX-2173.
------------------------------------
Resolution: Fixed
Fix Version/s: maven-bundle-plugin-2.1.0
Assignee: Guillaume Nodet
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M
bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
M
bundleplugin/src/main/java/org/apache/maven/shared/osgi/DefaultMaven2OsgiConverter.java
M
bundleplugin/src/test/java/org/apache/felix/bundleplugin/BundlePluginTest.java
Committed r919426
Switch to a modified version of the BNR version cleaner.
> Fix inconsistent maven->osgi version conversion between maven-bundle-plugin
> and DefaultMaven2OsgiConverter
> ----------------------------------------------------------------------------------------------------------
>
> Key: FELIX-2173
> URL: https://issues.apache.org/jira/browse/FELIX-2173
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Reporter: Graham Charters
> Assignee: Guillaume Nodet
> Fix For: maven-bundle-plugin-2.1.0
>
>
> The maven bundle plug converts maven version like : 1.0.0-incubating-SNAPSHOT
> to 1.0.0.incubating-SNAPSHOT which I think is correct.
> The DefaultMaven2OsgiConverter coverts maven version like:
> 1.0.0-incubating-SNAPSHOT to 1.0.0.incubating_SNAPSHOT which unnecessarily
> coverts '-' to '_'.
> The conversion should be reusable and consistent to ensure they match when
> used in other plugins or environments. I think the
> DefaultMaven2OsgiConverter needs to be changed to match the maven bundle
> plugin.
> See also: http://www.mail-archive.com/[email protected]/msg15894.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.