This is an automated email from the ASF dual-hosted git repository. yong pushed a commit to branch branch-4.15 in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit d3e2f5ae0f33d808e7cb8446690f1ffa4f4913c4 Author: ZhangJian He <[email protected]> AuthorDate: Tue Mar 28 17:02:33 2023 +0800 Optimize log4j dependency in Bookkeeper (#3892) (cherry picked from commit e440132802ad883216453642820e407db00baed3) --- bookkeeper-server/pom.xml | 8 ++++++++ pom.xml | 8 -------- testtools/pom.xml | 11 +++++++++++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/bookkeeper-server/pom.xml b/bookkeeper-server/pom.xml index fe02ca97ae..d90e35be0b 100644 --- a/bookkeeper-server/pom.xml +++ b/bookkeeper-server/pom.xml @@ -123,6 +123,14 @@ <groupId>io.reactivex.rxjava3</groupId> <artifactId>rxjava</artifactId> </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-slf4j-impl</artifactId> + </dependency> <!-- testing dependencies --> <dependency> <groupId>org.apache.bookkeeper</groupId> diff --git a/pom.xml b/pom.xml index ffee769ee1..a507400244 100644 --- a/pom.xml +++ b/pom.xml @@ -810,14 +810,6 @@ <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-slf4j-impl</artifactId> - </dependency> <dependency> <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> diff --git a/testtools/pom.xml b/testtools/pom.xml index a4095395ac..c739c0f476 100644 --- a/testtools/pom.xml +++ b/testtools/pom.xml @@ -25,4 +25,15 @@ <artifactId>testtools</artifactId> <name>Apache BookKeeper :: Test Tools</name> <version>4.15.4-SNAPSHOT</version> + + <dependencies> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-slf4j-impl</artifactId> + </dependency> + </dependencies> </project>
