You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2019/06/14 13:42:35 UTC

[sling-org-apache-sling-servlets-get] branch master updated: SLING-8493 : Move embedded jackrabbit classes to Sling package space

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

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-get.git


The following commit(s) were added to refs/heads/master by this push:
     new 06d8e1d  SLING-8493 : Move embedded jackrabbit classes to Sling package space
06d8e1d is described below

commit 06d8e1d45c073c35b65adfcd30ed49eb6c592dfa
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Jun 14 15:42:26 2019 +0200

    SLING-8493 : Move embedded jackrabbit classes to Sling package space
---
 pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/pom.xml b/pom.xml
index fe025d5..da3b692 100644
--- a/pom.xml
+++ b/pom.xml
@@ -76,6 +76,29 @@
                     </excludePackageNames>
                 </configuration>
             </plugin>
+           <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>3.2.1</version>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                        <configuration>
+                            <createSourcesJar>true</createSourcesJar>
+                            <shadeSourcesContent>true</shadeSourcesContent>
+                            <relocations>
+                                <relocation>
+                                    <pattern>org.apache.jackrabbit.util</pattern>
+                                    <shadedPattern>org.apache.sling.servlets.get.impl.jackrabbit</shadedPattern>
+                                </relocation>
+                            </relocations>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <dependencies>