This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new bec8adda52 Improved: Replace iText by librePDF (OFBIZ-13300)
bec8adda52 is described below
commit bec8adda5272ae1fc969bdbfa93eff3d5c65c233
Author: Nicolas Malin <[email protected]>
AuthorDate: Mon Nov 10 10:17:48 2025 +0100
Improved: Replace iText by librePDF (OFBIZ-13300)
With OFBIZ-10455 (Put back the com.lowagie:itext license from 4.2.0 to
2.1.7), this library has been block in the past.
It's not a good solution for the future due to dependencies conflict.
So we replace the old library itext by librepdf
(https://github.com/LibrePDF/OpenPDF) that replace natively it.
---
dependencies.gradle | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dependencies.gradle b/dependencies.gradle
index 27eccb11d5..f1fbc48ff4 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -26,11 +26,7 @@ dependencies {
implementation
'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20240325.1'
implementation 'com.googlecode.libphonenumber:libphonenumber:8.13.52'
implementation 'com.ibm.icu:icu4j:76.1'
- implementation ('com.lowagie:itext:2.1.7') { // Don't update due to
license change in newer versions, see OFBIZ-10455
- exclude group: 'bouncycastle', module: 'bcmail-jdk14'
- exclude group: 'bouncycastle', module: 'bcprov-jdk14'
- exclude group: 'bouncycastle', module: 'bctsp-jdk14'
- }
+ implementation 'com.github.librepdf:openpdf:1.3.43'
implementation 'com.sun.mail:javax.mail:1.6.2'
implementation 'com.rometools:rome:2.1.0'
implementation 'com.thoughtworks.xstream:xstream:1.4.21'