(james-jdkim) branch master updated: [FIX] Shade the all commons-codec lib into jdkim (#19)

[email protected]
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <174194517891.864613.15853117871913098396@gitbox3-he-fi.apache.org>
This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-jdkim.git


The following commit(s) were added to refs/heads/master by this push:
     new 1b908fc  [FIX] Shade the all commons-codec lib into jdkim (#19)
1b908fc is described below

commit 1b908fc56b10049805edf1fbe69f872c9bb879e7
Author: Rene Cordier <[email protected]>
AuthorDate: Fri Mar 14 16:39:34 2025 +0700

    [FIX] Shade the all commons-codec lib into jdkim (#19)
    
    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.