This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new f566d812f2 Improved: Bug in Log4j (OFBIZ-13185)
f566d812f2 is described below
commit f566d812f24cba3944ff79ca49cdc63c54eb5f0e
Author: Jacques Le Roux <[email protected]>
AuthorDate: Fri Nov 22 12:19:41 2024 +0100
Improved: Bug in Log4j (OFBIZ-13185)
Details: https://lists.apache.org/thread/whovnwgvksgr6v5c3195nclg6sk450my
Actually this does not affect OFBiz current version of Log4j. OFBiz uses
2.20.0
and, according to
https://github.com/apache/logging-log4j2/issues/3143#issuecomment-2468608905
the error concerns only 2.24.1.
But while at it better update our version only backporting to 24.09
Conflicts handled by hand
---
dependencies.gradle | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dependencies.gradle b/dependencies.gradle
index 07752367a6..d3205ff701 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -49,8 +49,8 @@ dependencies {
implementation 'org.apache.geronimo.components:geronimo-transaction:3.1.5'
// 4.0.0 does not compile
implementation 'org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1'
implementation 'org.apache.httpcomponents:httpclient-cache:4.5.14'
- implementation 'org.apache.logging.log4j:log4j-api:2.20.0' // the API of
log4j 2
- implementation 'org.apache.logging.log4j:log4j-core:2.20.0' // Somehow
needed by Buildbot to compile OFBizDynamicThresholdFilter.java
+ implementation 'org.apache.logging.log4j:log4j-api:2.24.2' // the API of
log4j 2
+ implementation 'org.apache.logging.log4j:log4j-core:2.24.2' // Somehow
needed by Buildbot to compile OFBizDynamicThresholdFilter.java
implementation 'org.apache.poi:poi:4.1.2' // poi-ooxml-schemas-5.0.0.pom'.
Received status code 401 from server
implementation 'org.apache.pdfbox:pdfbox:2.0.31' // 3.0.1 does not compile
implementation 'org.apache.shiro:shiro-core:1.13.0'
@@ -100,11 +100,11 @@ dependencies {
runtimeOnly 'org.apache.axis2:axis2-transport-local:1.8.2'
runtimeOnly 'org.apache.derby:derby:10.14.2.0' // 10.17.1.0 does not
compile
runtimeOnly 'org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:2.1'
- runtimeOnly 'org.apache.logging.log4j:log4j-1.2-api:2.20.0' // for
external jars using the old log4j1.2: routes logging to log4j 2
- runtimeOnly 'org.apache.logging.log4j:log4j-jul:2.20.0' // for external
jars using the java.util.logging: routes logging to log4j 2
- runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.20.0' // for
external jars using slf4j: routes logging to log4j 2
- runtimeOnly 'org.apache.logging.log4j:log4j-web:2.20.0' //???
- runtimeOnly 'org.apache.logging.log4j:log4j-jcl:2.20.0' // need to
constrain to version to avoid classpath conflict (ReflectionUtil)
+ runtimeOnly 'org.apache.logging.log4j:log4j-1.2-api:2.24.2' // for
external jars using the old log4j1.2: routes logging to log4j 2
+ runtimeOnly 'org.apache.logging.log4j:log4j-jul:2.24.2' // for external
jars using the java.util.logging: routes logging to log4j 2
+ runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.24.2' // for
external jars using slf4j: routes logging to log4j 2
+ runtimeOnly 'org.apache.logging.log4j:log4j-web:2.24.2' //???
+ runtimeOnly 'org.apache.logging.log4j:log4j-jcl:2.24.2' // need to
constrain to version to avoid classpath conflict (ReflectionUtil)
// specify last codenarc version for java 17 compliance
codenarc('org.codenarc:CodeNarc:3.4.0')