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

dongjoon pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new d3c16d8550bf [SPARK-51154][BUILD][TESTS] Remove unused `jopt` test 
dependency
d3c16d8550bf is described below

commit d3c16d8550bf4eb50ad9d6a0f91e1130d87ad758
Author: Chris Nauroth <[email protected]>
AuthorDate: Mon Feb 10 22:58:57 2025 -0800

    [SPARK-51154][BUILD][TESTS] Remove unused `jopt` test dependency
    
    ### What changes were proposed in this pull request?
    
    The Kafka connector declares a dependecy on the jopt library. This library 
is not actually used in the code, so we can remove it.
    
    ### Why are the changes needed?
    
    We have no apparent need for this dependency. The version we are including 
is 15 years old with numerous unresolved bugs.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This change only impacts tests.
    
    ### How was this patch tested?
    
    Run all Kafka tests.
    
    ```
    build/mvn -pl connector/kafka-0-10,connector/kafka-0-10-sql test
    ```
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #49877 from cnauroth/SPARK-51154.
    
    Authored-by: Chris Nauroth <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit d3be2a7020847e47a7e0c6a30365c93e0384b8a0)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 connector/kafka-0-10-sql/pom.xml | 6 ------
 connector/kafka-0-10/pom.xml     | 6 ------
 2 files changed, 12 deletions(-)

diff --git a/connector/kafka-0-10-sql/pom.xml b/connector/kafka-0-10-sql/pom.xml
index 66e1c24e821c..c6595986fc0d 100644
--- a/connector/kafka-0-10-sql/pom.xml
+++ b/connector/kafka-0-10-sql/pom.xml
@@ -130,12 +130,6 @@
       <groupId>org.apache.zookeeper</groupId>
       <artifactId>zookeeper</artifactId>
       <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>net.sf.jopt-simple</groupId>
-      <artifactId>jopt-simple</artifactId>
-      <version>3.2</version>
-      <scope>test</scope>
     </dependency>
      <dependency>
         <groupId>org.eclipse.jetty</groupId>
diff --git a/connector/kafka-0-10/pom.xml b/connector/kafka-0-10/pom.xml
index a42410e6ce88..c84d96340032 100644
--- a/connector/kafka-0-10/pom.xml
+++ b/connector/kafka-0-10/pom.xml
@@ -103,12 +103,6 @@
       <artifactId>zookeeper</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>net.sf.jopt-simple</groupId>
-      <artifactId>jopt-simple</artifactId>
-      <version>3.2</version>
-      <scope>test</scope>
-    </dependency>
     <dependency>
       <groupId>org.scalacheck</groupId>
       <artifactId>scalacheck_${scala.binary.version}</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to