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:48:09 UTC

[sling-org-apache-sling-servlets-post] 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-post.git


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

commit 1afba7881c2616e240c610e904751d4922f60fa9
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Jun 14 15:47:59 2019 +0200

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

diff --git a/pom.xml b/pom.xml
index d787276..40eddab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,6 +77,33 @@
                     </instructions>
                 </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.post.impl.jackrabbit</shadedPattern>
+                                </relocation>
+                                <relocation>
+                                    <pattern>org.apache.sling.jcr.contentparser</pattern>
+                                    <shadedPattern>org.apache.sling.servlets.post.impl.contentparser</shadedPattern>
+                                </relocation>
+                            </relocations>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
               <groupId>org.apache.rat</groupId>
               <artifactId>apache-rat-plugin</artifactId>