You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rc...@apache.org on 2025/03/14 08:57:54 UTC
(james-jdkim) 01/01: [FIX] Shade the all commons-codec lib into jdkim
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 <rc...@linagora.com>
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>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org