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 2ff62855e695 [SPARK-51153][BUILD] Remove unused 
`javax.activation:activation` dependency
2ff62855e695 is described below

commit 2ff62855e6957eeb6161ff515fa9c1afe9574fac
Author: Wei Guo <[email protected]>
AuthorDate: Mon Feb 10 22:51:03 2025 -0800

    [SPARK-51153][BUILD] Remove unused `javax.activation:activation` dependency
    
    ### What changes were proposed in this pull request?
    
    This PR aims to remove unused `javax.activation:activation` dependence.
    
    ### Why are the changes needed?
    
    Reduce useless dependencies of Spark.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass GA.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #49876 from wayneguow/drop_activation.
    
    Authored-by: Wei Guo <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 641629786909fa6fa72373676666446e3f9f1b60)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 LICENSE-binary                        |  1 -
 connector/kafka-0-10-assembly/pom.xml |  5 -----
 core/pom.xml                          |  4 ----
 dev/deps/spark-deps-hadoop-3-hive-2.3 |  1 -
 pom.xml                               | 10 ----------
 5 files changed, 21 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index 845c3af566f1..423714d5d596 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -501,7 +501,6 @@ core/src/main/resources/org/apache/spark/ui/static/d3.min.js
 
 Common Development and Distribution License (CDDL) 1.0
 ------------------------------------------------------
-javax.activation:activation  
http://www.oracle.com/technetwork/java/javase/tech/index-jsp-138795.html
 javax.transaction:transaction-api
 
 
diff --git a/connector/kafka-0-10-assembly/pom.xml 
b/connector/kafka-0-10-assembly/pom.xml
index b2fcbdf8eca7..965bccdf87b3 100644
--- a/connector/kafka-0-10-assembly/pom.xml
+++ b/connector/kafka-0-10-assembly/pom.xml
@@ -131,11 +131,6 @@
       <artifactId>snappy-java</artifactId>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-      <groupId>javax.activation</groupId>
-      <artifactId>activation</artifactId>
-      <scope>provided</scope>
-    </dependency>
   </dependencies>
 
   <build>
diff --git a/core/pom.xml b/core/pom.xml
index da311415182d..9e87694305ee 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -104,10 +104,6 @@
       <artifactId>spark-common-utils_${scala.binary.version}</artifactId>
       <version>${project.version}</version>
     </dependency>
-    <dependency>
-      <groupId>javax.activation</groupId>
-      <artifactId>activation</artifactId>
-    </dependency>
     <dependency>
       <groupId>org.apache.curator</groupId>
       <artifactId>curator-recipes</artifactId>
diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3 
b/dev/deps/spark-deps-hadoop-3-hive-2.3
index 12587680ae32..a6ea1d0bfe56 100644
--- a/dev/deps/spark-deps-hadoop-3-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-3-hive-2.3
@@ -3,7 +3,6 @@ JLargeArrays/1.5//JLargeArrays-1.5.jar
 JTransforms/3.1//JTransforms-3.1.jar
 RoaringBitmap/1.3.0//RoaringBitmap-1.3.0.jar
 ST4/4.0.4//ST4-4.0.4.jar
-activation/1.1.1//activation-1.1.1.jar
 aircompressor/2.0.2//aircompressor-2.0.2.jar
 algebra_2.13/2.8.0//algebra_2.13-2.8.0.jar
 aliyun-java-sdk-core/4.5.10//aliyun-java-sdk-core-4.5.10.jar
diff --git a/pom.xml b/pom.xml
index 975cb3844fac..888fc00f6f9a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1530,16 +1530,6 @@
         <artifactId>xz</artifactId>
         <version>1.10</version>
       </dependency>
-      <!-- See SPARK-23654 for info on this dependency;
-      It is used to keep javax.activation at v1.1.1 after dropping
-      jets3t as a dependency.
-       -->
-      <dependency>
-        <groupId>javax.activation</groupId>
-        <artifactId>activation</artifactId>
-        <version>1.1.1</version>
-        <scope>${hadoop.deps.scope}</scope>
-      </dependency>
       <dependency>
         <groupId>org.apache.zookeeper</groupId>
         <artifactId>zookeeper</artifactId>


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

Reply via email to