This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.11 by this push:
new 2d8af31007a [improve][client] Exclude log4j-slf4j-impl from compile
dep in pulsar-client-all (#19937)
2d8af31007a is described below
commit 2d8af31007a94c8c126b77333188b8a98a2a37cf
Author: tison <[email protected]>
AuthorDate: Tue Mar 28 11:22:22 2023 +0800
[improve][client] Exclude log4j-slf4j-impl from compile dep in
pulsar-client-all (#19937)
(cherry picked from commit d14e43ed9bd079b76301f10dc1c039cafd43e1cf)
Ref - https://github.com/apache/pulsar/issues/19484
Signed-off-by: tison <[email protected]>
---
pulsar-client-all/pom.xml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/pulsar-client-all/pom.xml b/pulsar-client-all/pom.xml
index 23b4ec0696b..c3496221bf5 100644
--- a/pulsar-client-all/pom.xml
+++ b/pulsar-client-all/pom.xml
@@ -54,11 +54,25 @@
<version>${project.parent.version}</version>
<optional>true</optional>
</dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>