Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5171

Duplicate Service-Component generated from the manifest goal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • maven-bundle-plugin-3.0.1
    • None
    • Maven Bundle Plugin
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            j3rem1e J. Brébec
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: