(james-jdkim) 01/01: [FIX] Shade the all commons-codec lib into jdkim

[email protected]
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
This is an automated email from the ASF dual-hosted git repository.

rcordier pushed a commit to branch commons-codec-shade
in repository https://gitbox.apache.org/repos/asf/james-jdkim.git

commit 453d702774871e2f31e7f5e2b6ae77736f0d087e
Author: Rene Cordier <[email protected]>
AuthorDate: Fri Mar 14 15:57:30 2025 +0700

    [FIX] Shade the all commons-codec lib into jdkim
    
    Some issues were detected when running jdkim lib with other projects. After commons-codec upgrade, seems BinaryCodec is being used now for Base64 encoding, which was excluded from shading, as it was not the case before.
    
    Shading the all commons-codec lib allows to avoid similar issues with future upgrades while still not forcing other projects to align their commons-codec version with jdkim.
---
 main/pom.xml | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/main/pom.xml b/main/pom.xml
index 8dce3ef..402674e 100644
--- a/main/pom.xml
+++ b/main/pom.xml
@@ -105,20 +105,6 @@
                                     <include>commons-codec:commons-codec</include>
                                 </includes>
                             </artifactSet>
-                            <filters>
-                                <filter>
-                                    <artifact>commons-codec:commons-codec</artifact>
-                                    <excludes>
-                                        <exclude>org/apache/commons/codec/String*</exclude>
-                                        <exclude>org/apache/commons/codec/language/*</exclude>
-                                        <exclude>org/apache/commons/codec/net/*</exclude>
-                                        <exclude>org/apache/commons/codec/digest/*</exclude>
-                                        <exclude>org/apache/commons/codec/binary/He*</exclude>
-                                        <exclude>org/apache/commons/codec/binary/Binary*</exclude>
-                                        <exclude>org/apache/commons/codec/binary/*Stream*</exclude>
-                                    </excludes>
-                                </filter>
-                            </filters>
                             <relocations>
                                 <relocation>
                                     <pattern>org.apache.commons.codec</pattern>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.