SLING-8493 : Move embedded jackrabbit classes to Sling package space
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>