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

scr-plugin-generated resources not always bundled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • maven-scr-plugin-1.0.3
    • maven-scr-plugin-1.0.4
    • SCR Tooling
    • None

    Description

      Consider a bundle which only contains a single component which does not lead to the creation of a serviceComponents.xml file (that is either only metatypes.xml or an abstract component). In this case the data generated in the target/scr-plugin-generated folder is not included in the generated bundle because the plugin does not add the folder to the plugin resources.

      Workaround is to manually include the resources as in:

      <Include-Resource>

      {maven-resources}

      ,target/scr-plugin-generated
      </Include-Resource>

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: