You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zi...@apache.org on 2022/06/30 04:58:14 UTC

[pulsar] branch master updated: [cleanup][dependency] Remove JUnit (#15616)

This is an automated email from the ASF dual-hosted git repository.

zixuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 21e31c52cc3 [cleanup][dependency] Remove JUnit (#15616)
21e31c52cc3 is described below

commit 21e31c52cc3ffa7fd796a4d385ec97744c55126b
Author: Zixuan Liu <no...@gmail.com>
AuthorDate: Thu Jun 30 12:58:06 2022 +0800

    [cleanup][dependency] Remove JUnit (#15616)
    
    Signed-off-by: Zixuan Liu <no...@gmail.com>
---
 buildtools/pom.xml                       | 5 -----
 pulsar-client-tools/pom.xml              | 6 ------
 pulsar-functions/localrun-shaded/pom.xml | 8 --------
 3 files changed, 19 deletions(-)

diff --git a/buildtools/pom.xml b/buildtools/pom.xml
index 258fa02ee7b..ccf2caaf494 100644
--- a/buildtools/pom.xml
+++ b/buildtools/pom.xml
@@ -98,11 +98,6 @@
       <artifactId>testng</artifactId>
       <version>${testng.version}</version>
     </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.13.1</version>
-    </dependency>
     <dependency>
       <groupId>org.apache.logging.log4j</groupId>
       <artifactId>log4j-api</artifactId>
diff --git a/pulsar-client-tools/pom.xml b/pulsar-client-tools/pom.xml
index 77fa6afa659..a5481dffb88 100644
--- a/pulsar-client-tools/pom.xml
+++ b/pulsar-client-tools/pom.xml
@@ -47,12 +47,6 @@
       <groupId>${project.groupId}</groupId>
       <artifactId>pulsar-client-admin-original</artifactId>
       <version>${project.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>junit</groupId>
-          <artifactId>junit</artifactId>
-        </exclusion>
-      </exclusions>
     </dependency>
     <dependency>
       <groupId>commons-io</groupId>
diff --git a/pulsar-functions/localrun-shaded/pom.xml b/pulsar-functions/localrun-shaded/pom.xml
index 62fce6e48c1..a0f5894a4e5 100644
--- a/pulsar-functions/localrun-shaded/pom.xml
+++ b/pulsar-functions/localrun-shaded/pom.xml
@@ -136,14 +136,6 @@
                                     <pattern>javax.servlet</pattern>
                                     <shadedPattern>org.apache.pulsar.functions.runtime.shaded.javax.servlet</shadedPattern>
                                 </relocation>
-                                <relocation>
-                                    <pattern>org.junit</pattern>
-                                    <shadedPattern>org.apache.pulsar.functions.runtime.shaded.org.junit</shadedPattern>
-                                </relocation>
-                                <relocation>
-                                    <pattern>junit</pattern>
-                                    <shadedPattern>org.apache.pulsar.functions.runtime.shaded.junit</shadedPattern>
-                                </relocation>
                                 <relocation>
                                     <pattern>net.jodah</pattern>
                                     <shadedPattern>org.apache.pulsar.functions.runtime.shaded.net.jodah</shadedPattern>