This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.testing.sling-mock-oak-1.0.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock-oak.git
commit 9b901a8f68f92e2d41e14accb0c2d353f8e56f5f Author: Robert Munteanu <[email protected]> AuthorDate: Fri Jun 19 14:18:27 2015 +0000 SLING-4824 - Embed all needed classes in the sling-oak-mock jar git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock-oak@1686422 13f79535-47bb-0310-9956-ffa450edef68 --- pom.xml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5890259..ffe073c 100644 --- a/pom.xml +++ b/pom.xml @@ -156,7 +156,35 @@ </execution> </executions> </plugin> - + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>2.4</version> + <configuration> + <!-- + embed all jackrabbit artifacts to prevent classpath clashes + also include selected Sling bundles which are required + at runtime. Note that we don't relocate the packages + since org.apache.sling.jcr.resource already embeds some + jackrabbit classes which lead to a non-working jar + --> + <artifactSet> + <includes> + <include>org.apache.jackrabbit:*</include> + <include>org.apache.sling:org.apache.sling.jcr.resource</include> + </includes> + </artifactSet> + </configuration> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
