You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/01/03 13:48:00 UTC
[jira] [Created] (SLING-7351) Include the "dependencies.properties"
file in the final JAR
Konrad Windszus created SLING-7351:
--------------------------------------
Summary: Include the "dependencies.properties" file in the final JAR
Key: SLING-7351
URL: https://issues.apache.org/jira/browse/SLING-7351
Project: Sling
Issue Type: Improvement
Components: General
Reporter: Konrad Windszus
Assignee: Konrad Windszus
Fix For: Parent 33
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 message was sent by Atlassian JIRA
(v6.4.14#64029)