J. Brébec created FELIX-5171:
--------------------------------
Summary: Duplicate Service-Component generated from the manifest
goal
Key: FELIX-5171
URL: https://issues.apache.org/jira/browse/FELIX-5171
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-3.0.1
Reporter: J. Brébec
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)