Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7351

Make the "dependencies.properties" visible for maven-failsafe-plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • Parent 33
    • General
    • None

    Description

      With the upgrade of the maven-failsafe-plugin in SLING-7347 pax-exam based tests do no longer work. The reason is https://issues.apache.org/jira/browse/SUREFIRE-855 that makes surefire/failsafe now use the generated JAR as classpath (instead of the classes directory). By default the generated bundle does not include the referenced META-INF/maven/dependencies.properties file though (although it exists below target/classes).

      To make it easier to upgrade to the new sling-parent for modules leveraging pax-exam without adding additional configuration the file META-INF/maven/dependencies.properties should automatically included by the maven-bundle-plugin in case that file exists.

      This has been discussed in https://www.mail-archive.com/dev@sling.apache.org/msg73340.html.

      Attachments

        Issue Links

          Activity

            People

              olli Oliver Lietz
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: