You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2018/01/03 13:52:16 UTC

[sling-parent] branch feature/SLING-7351-include-dependencies-properties created (now 363b5e3)

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a change to branch feature/SLING-7351-include-dependencies-properties
in repository https://gitbox.apache.org/repos/asf/sling-parent.git.


      at 363b5e3  SLING-7351 include 'META-INF/maven/dependencies.properties' in generated bundle (in case it does exist below 'target/classes')

This branch includes the following new commits:

     new 363b5e3  SLING-7351 include 'META-INF/maven/dependencies.properties' in generated bundle (in case it does exist below 'target/classes')

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].

[sling-parent] 01/01: SLING-7351 include 'META-INF/maven/dependencies.properties' in generated bundle (in case it does exist below 'target/classes')

Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/SLING-7351-include-dependencies-properties
in repository https://gitbox.apache.org/repos/asf/sling-parent.git

commit 363b5e39acd36a802a489ad699386f16e05ca1db
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Jan 3 14:52:08 2018 +0100

    SLING-7351 include 'META-INF/maven/dependencies.properties' in generated
    bundle (in case it does exist below 'target/classes')
    
    This file is being referenced from ITs leveraging pax exam and must be
    accessible from the classpath of the maven-failsafe-plugin (which
    changed with 2.19, due to
    https://issues.apache.org/jira/browse/SUREFIRE-855)
---
 pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pom.xml b/pom.xml
index 9dabed6..68ca82f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -342,6 +342,11 @@
                             </Bundle-DocURL>
                             <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
                             <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                            <!-- Also include the "META-INF/maven/dependencies.properties" file being generated from depends-maven-plugin (used by pax exam) in the resulting JAR if it exists.
+                                 This is necessary as the maven-failsafe-plugin uses the final JAR as classpath when executing ITs (https://issues.apache.org/jira/browse/SUREFIRE-855).
+                                 ITs based on Pax Exam rely on the file "dependencies.properties" in the classpath when setting up the container.
+                             -->
+                            <Include-Resource>META-INF/maven/dependencies.properties=-${project.build.outputDirectory}/META-INF/maven/dependencies.properties,{maven-resources}</Include-Resource>
                         </instructions>
                     </configuration>
                     <executions>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.