You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by eb...@apache.org on 2020/04/06 13:34:55 UTC

[tomcat-jakartaee-migration] 03/03: Relocated the dependencies in the shaded jar

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

ebourg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git

commit 61ba09577afc9fecf542d19c5cad6e79f1008ebd
Author: Emmanuel Bourg <eb...@apache.org>
AuthorDate: Mon Apr 6 15:31:29 2020 +0200

    Relocated the dependencies in the shaded jar
---
 pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/pom.xml b/pom.xml
index ab74cfe..61ef6f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -121,6 +121,16 @@
               <shadedArtifactAttached>true</shadedArtifactAttached>
               <minimizeJar>true</minimizeJar>
               <createDependencyReducedPom>false</createDependencyReducedPom>
+              <relocations>
+                <relocation>
+                  <pattern>org.apache.bcel</pattern>
+                  <shadedPattern>org.apache.tomcat.jakartaee.bcel</shadedPattern>
+                </relocation>
+                <relocation>
+                  <pattern>org.apache.commons</pattern>
+                  <shadedPattern>org.apache.tomcat.jakartaee.commons</shadedPattern>
+                </relocation>
+              </relocations>
             </configuration>
           </execution>
         </executions>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org