Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
maven-bundle-plugin-1.4.3
-
None
Description
If the symbolic of a bundle is calculated wrong if the artifact id starts with the last segment of the group id. In this case bundle:manifest generates the correct symbolic name but bundle:bundle an package (packaging bundle) fail to remove the first part of the artifact id. This is due to a bug in the maven shared osgi component which assumes, that artifact.getFile() returns a jar file, not a directory if artifact.getFile() != null and arifact.getFile().exists evaluate to true.
In the supplied test project mvn bundle:manifest generates the symbolic name my.test.artifact and mvn package generates my.test.test.artifact.