diff --git a/log4j-api/pom.xml b/log4j-api/pom.xml index 77c360665d9..082fd2f6574 100644 --- a/log4j-api/pom.xml +++ b/log4j-api/pom.xml @@ -36,10 +36,6 @@ true org.apache.logging.log4j - - - !org.apache.logging.log4j.util.internal - java.sql;static=true, diff --git a/log4j-core-test/pom.xml b/log4j-core-test/pom.xml index 4f02dff9805..1155ed9989b 100644 --- a/log4j-core-test/pom.xml +++ b/log4j-core-test/pom.xml @@ -53,7 +53,6 @@ org.hamcrest;transitive=false, org.junit.jupiter.api;transitive=false, - org.assertj.core;substitute="assertj-core", java.allocation.instrumenter;substitute="java-allocation-instrumenter", spring.test;substitute="spring-test" diff --git a/log4j-core/pom.xml b/log4j-core/pom.xml index e47a160fefb..7f20d289bc9 100644 --- a/log4j-core/pom.xml +++ b/log4j-core/pom.xml @@ -66,10 +66,10 @@ com.fasterxml.jackson.annotation;transitive=false, com.lmax.disruptor;transitive=false, - com.fasterxml.jackson.core;substitute="jackson-core";transitive=false, - com.fasterxml.jackson.databind;substitute="jackson-databind";transitive=false, - com.fasterxml.jackson.dataformat.xml;substitute="jackson-dataformat-xml";transitive=false, - com.fasterxml.jackson.dataformat.yaml;substitute="jackson-dataformat-yaml";transitive=false, + com.fasterxml.jackson.core;transitive=false, + com.fasterxml.jackson.databind;transitive=false, + com.fasterxml.jackson.dataformat.xml;transitive=false, + com.fasterxml.jackson.dataformat.yaml;transitive=false, java.naming;transitive=false, org.apache.commons.csv;transitive=false, org.fusesource.jansi;transitive=false, diff --git a/log4j-docker/pom.xml b/log4j-docker/pom.xml index e1e4e7e536f..7682421d2b6 100644 --- a/log4j-docker/pom.xml +++ b/log4j-docker/pom.xml @@ -32,11 +32,6 @@ - - - com.fasterxml.jackson.core;substitute="jackson-core", - com.fasterxml.jackson.databind;substitute="jackson-databind" - org.apache.logging.log4j.core diff --git a/log4j-jcl/pom.xml b/log4j-jcl/pom.xml index acc7c8d8a38..045d843b05d 100644 --- a/log4j-jcl/pom.xml +++ b/log4j-jcl/pom.xml @@ -27,12 +27,7 @@ jar Apache Log4j Commons Logging Bridge The Apache Log4j Commons Logging Adapter - - - - commons.logging;substitute="commons-logging";transitive=false;static=true - - + org.apache.logging.log4j diff --git a/log4j-jdbc-dbcp2/pom.xml b/log4j-jdbc-dbcp2/pom.xml index 204286ebe30..50196e3cc96 100644 --- a/log4j-jdbc-dbcp2/pom.xml +++ b/log4j-jdbc-dbcp2/pom.xml @@ -33,10 +33,6 @@ ~ OSGi and JPMS options --> org.apache.logging.log4j.core.appender.db.jdbc - - - org.apache.commons.dbcp2;substitute="commons-dbcp2" - org.apache.logging.log4j.core diff --git a/log4j-jpa/pom.xml b/log4j-jpa/pom.xml index 54e535b2b60..e90cd50e2a2 100644 --- a/log4j-jpa/pom.xml +++ b/log4j-jpa/pom.xml @@ -32,11 +32,6 @@ - - - com.fasterxml.jackson.core;substitute="jackson-core", - com.fasterxml.jackson.databind;substitute="jackson-databind" - org.apache.logging.log4j.core diff --git a/log4j-slf4j2-impl/pom.xml b/log4j-slf4j2-impl/pom.xml index 5ff47bc745d..4bb39542067 100644 --- a/log4j-slf4j2-impl/pom.xml +++ b/log4j-slf4j2-impl/pom.xml @@ -28,17 +28,7 @@ jar Apache Log4j SLF4J 2.0 Binding The Apache Log4j SLF4J 2.0 API binding to Log4j 2 Core - - - - - org.slf4j;substitute="slf4j-api" - - org.osgi diff --git a/log4j-to-slf4j/pom.xml b/log4j-to-slf4j/pom.xml index bc01ffe9c19..d5d1c4e1727 100644 --- a/log4j-to-slf4j/pom.xml +++ b/log4j-to-slf4j/pom.xml @@ -37,11 +37,6 @@ org.slf4j.*;version="${slf4j.support.range}" - - - org.slf4j;substitute="slf4j-api" - diff --git a/log4j-web/pom.xml b/log4j-web/pom.xml index 9e56eded6e1..287cd9a5838 100644 --- a/log4j-web/pom.xml +++ b/log4j-web/pom.xml @@ -36,7 +36,7 @@ --> - javax.servlet.api;substitute="javax.servlet-api";transitive=true;static=true + javax.servlet.api;substitute="javax.servlet-api";transitive=false;static=true org.apache.logging.log4j.core diff --git a/src/changelog/.2.x.x/simplify_configuration_after_bnd_7_update.xml b/src/changelog/.2.x.x/simplify_configuration_after_bnd_7_update.xml new file mode 100644 index 00000000000..54b160c0ce6 --- /dev/null +++ b/src/changelog/.2.x.x/simplify_configuration_after_bnd_7_update.xml @@ -0,0 +1,25 @@ + + + + + Simplify BND configuration after upgrade from version `6.4.1` to `7.0.0` + +