Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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/dev@felix.apache.org/msg15894.html