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

Support for {maven-test-resources} and {maven-test-sources} placeholders

    XMLWordPrintableJSON

Details

    Description

      I've found the plugin suitable for producing test bundles although bundle plugin states that test scope isn't supported.

      Currently I have to manually keep up with the test resources/sources so that my test fragment bundle wouldn't be considering

      {maven-resources}

      and

      {maven-sources}

      . This is quite ok compared to having a proper test-bundle goal but I'd love to see corresponding

      {maven-test-resources}

      and

      {maven-test-sources}

      placeholder support which would streamline the configuration.

      Now I'm getting WARN messages when I tamper with Include-Resource _sourcepath. It is also quite error prone to manually list multiple resource and source locations. Only classifier and outputDirectory have to be configured in addition to these instructions and dependency embedding works also when transitive dependencies are not used (in fact test scope isn't even transitive)

      Attachments

        1. FELIX-3381.diff
          11 kB
          Tuomas Kiviaho

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              tuomas_kiviaho Tuomas Kiviaho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: