This is an automated email from the ASF dual-hosted git repository. davidb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-extension-content.git
commit ba2892186879589d813e40325f03a77d0d8995b7 Author: Dominik Suess <[email protected]> AuthorDate: Fri Nov 2 14:27:45 2018 +0100 SLING-8068 - adjusting shade plugin to relocate shaded classes and setting feature model depenceny versions to 0.2.0 --- pom.xml | 44 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index e503bdc..f5c121d 100644 --- a/pom.xml +++ b/pom.xml @@ -55,14 +55,44 @@ <goal>shade</goal> </goals> <configuration> - <minimizeJar>true</minimizeJar> - <filters> + <minimizeJar>true</minimizeJar> + <filters> <filter> <includes> <include>org.apache.commons:collections:*</include> </includes> - </filter> - </filters> + </filter> + </filters> + <relocations> + <relocation> + <pattern>javax.jcr</pattern> + <shadedPattern>shaded.javax.jcr</shadedPattern> + <includes> + <include>javax.jcr.**</include> + </includes> + </relocation> + <relocation> + <pattern>org.slf4j</pattern> + <shadedPattern>shaded.org.slf4j</shadedPattern> + <includes> + <include>org.slf4j.**</include> + </includes> + </relocation> + <relocation> + <pattern>org.osgi</pattern> + <shadedPattern>shaded.org.osgi</shadedPattern> + <includes> + <include>org.osgi.**</include> + </includes> + </relocation> + <relocation> + <pattern>org.apache</pattern> + <shadedPattern>shaded.org.apache</shadedPattern> + <excludes> + <exclude>org.apache.sling.feature.**</exclude> + </excludes> + </relocation> + </relocations> </configuration> </execution> </executions> @@ -88,19 +118,19 @@ <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.feature.launcher</artifactId> - <version>0.1.1-SNAPSHOT</version> + <version>0.2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.feature.io</artifactId> - <version>0.1.3-SNAPSHOT</version> + <version>0.2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.feature</artifactId> - <version>0.1.3-SNAPSHOT</version> + <version>0.2.0</version> <scope>provided</scope> </dependency> <dependency>
