Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
maven-bundle-plugin-3.0.1
-
None
-
None
Description
My project are configured with the packaging "jar" and use the manifest goal to generate a manifest, referenced by the maven-jar-plugin.
When i "mvn install" a bundle with the -dsannotations directive, without a "clean", the Service-Component header contains duplicated xml file references.
In fact, the plugin merge the new generated manifest with the old one, in "target/classes/META-INF/MANIFEST.MF" which was generated by a previous compilation. If i compile N times, the xml files are referenced N times. when this bundle is deployed, SCR log an exception