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

rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/johnzon.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a3e494  [JOHNZON-340] ensure cdi and servlet are properly shaded
3a3e494 is described below

commit 3a3e494103f79ad84d824b01640feee37b17ed0c
Author: Romain Manni-Bucau <rmannibu...@gmail.com>
AuthorDate: Thu Apr 22 13:48:50 2021 +0200

    [JOHNZON-340] ensure cdi and servlet are properly shaded
---
 pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/pom.xml b/pom.xml
index 4d6987c..45deb38 100644
--- a/pom.xml
+++ b/pom.xml
@@ -127,6 +127,22 @@
                     <shadedPattern>jakarta.json</shadedPattern>
                   </relocation>
                   <relocation>
+                    <pattern>javax.annotation</pattern>
+                    <shadedPattern>jakarta.annotation</shadedPattern>
+                  </relocation>
+                  <relocation>
+                    <pattern>javax.inject</pattern>
+                    <shadedPattern>jakarta.inject</shadedPattern>
+                  </relocation>
+                  <relocation>
+                    <pattern>javax.enterprise</pattern>
+                    <shadedPattern>jakarta.enterprise</shadedPattern>
+                  </relocation>
+                  <relocation>
+                    <pattern>javax.servlet</pattern>
+                    <shadedPattern>jakarta.servlet</shadedPattern>
+                  </relocation>
+                  <relocation>
                     <pattern>javax.websocket</pattern>
                     <shadedPattern>jakarta.websocket</shadedPattern>
                   </relocation>

Reply via email to