Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: maven-osgi
-
Labels:None
-
Number of attachments :
Description
In DefaultMavenOsgiConverter#getVersion(), there's logic to the effect of:
/* convert
- 1.string -> 1.0.0.string
- 1.2.string -> 1.2.0.string
- 1 -> 1.0.0
- 1.1 -> 1.1.0
*/
...which is unnecessary; the version number only needs to be padded out to three places when there's a qualifier present.
saw something that might be related, throwing this out there so there's a trail:
"Fix inconsistent maven->osgi version conversion between maven-bundle-plugin and DefaultMaven2OsgiConverter"
https://issues.apache.org/jira/browse/FELIX-2173