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:39:44 UTC

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


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

commit 78b428529a40631443edcc90eb06c2c259a851e0
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Jun 14 15:39:31 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 a73aa75..9128206 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,6 +151,29 @@
                     </excludes>
                 </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.api.impl.jackrabbit</shadedPattern>
+                                </relocation>
+                            </relocations>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <profiles>