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/13 13:00:04 UTC

[sling-org-apache-sling-servlets-resolver] 02/02: SLING-8489 : Move embedded engine class to servlets resolver 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-resolver.git

commit ab5dc4f7fd1c2d549a0b00286ec29ee8baf11287
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Jun 13 14:59:53 2019 +0200

    SLING-8489 : Move embedded engine class to servlets resolver package space
---
 pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/pom.xml b/pom.xml
index 4f95d60..fa33629 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,6 +81,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.sling.engine.impl.request</pattern>
+                                    <shadedPattern>org.apache.sling.servlets.resolver.internal.engine</shadedPattern>
+                                </relocation>
+                            </relocations>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
     <dependencies>