This is an automated email from the ASF dual-hosted git repository.
jleroux 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 8d69f18dd6 Improved: Bug in Log4j (OFBIZ-13185)
8d69f18dd6 is described below
commit 8d69f18dd64bd6b064c4de029629b77cb88107d3
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
---
dependencies.gradle | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/dependencies.gradle b/dependencies.gradle
index a5385dc065..5b80f58aac 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -50,8 +50,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:5.3.0'
implementation 'org.apache.pdfbox:pdfbox:2.0.32' // 3.0.1 does not compile
implementation 'org.apache.shiro:shiro-core:1.13.0'
@@ -101,11 +101,11 @@ dependencies {
runtimeOnly 'org.apache.derby:derby:10.16.1.1' // 10.17.x.x requires Java
21
runtimeOnly 'org.apache.derby:derbytools:10.16.1.1' // 10.17.x.x requires
Java 21
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')