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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0777562c519 [BUILD][TEST] Remove obsolete repo of DB2 JDBC driver
0777562c519 is described below

commit 0777562c5197bde95a514102b1e2d0a04f4ab062
Author: Cheng Pan <[email protected]>
AuthorDate: Wed Sep 6 20:16:19 2023 +0800

    [BUILD][TEST] Remove obsolete repo of DB2 JDBC driver
    
    ### What changes were proposed in this pull request?
    
    Remove obsolete repo 
https://app.camunda.com/nexus/content/repositories/public/
    
    ### Why are the changes needed?
    
    The repo was introduced in SPARK-10521, because the DB2 JDBC driver jars 
did not exist in Maven Central on that day.
    
    Now, the https://app.camunda.com/nexus/content/repositories/public/ sunset 
and https://repo1.maven.org/maven2/com/ibm/db2/jcc/11.5.8.0/jcc-11.5.8.0.jar 
available in Maven Central.
    
    ### 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 #42820 from pan3793/db2-repo.
    
    Authored-by: Cheng Pan <[email protected]>
    Signed-off-by: Kent Yao <[email protected]>
---
 connector/docker-integration-tests/pom.xml | 28 ----------------------------
 project/SparkBuild.scala                   |  3 +--
 2 files changed, 1 insertion(+), 30 deletions(-)

diff --git a/connector/docker-integration-tests/pom.xml 
b/connector/docker-integration-tests/pom.xml
index 2b21042fb0d..a9c066ede2d 100644
--- a/connector/docker-integration-tests/pom.xml
+++ b/connector/docker-integration-tests/pom.xml
@@ -34,17 +34,6 @@
     <sbt.project.name>docker-integration-tests</sbt.project.name>
   </properties>
 
-  <repositories>
-    <repository>
-      <id>db</id>
-      <url>https://app.camunda.com/nexus/content/repositories/public/</url>
-      <releases>
-        <enabled>true</enabled>
-        <checksumPolicy>warn</checksumPolicy>
-      </releases>
-    </repository>
-  </repositories>
-
   <dependencies>
     <dependency>
       <groupId>com.spotify</groupId>
@@ -135,23 +124,6 @@
       <artifactId>ojdbc8</artifactId>
       <scope>test</scope>
     </dependency>
-
-    <!-- DB2 JCC driver manual installation instructions
-
-       You can build this datasource if you:
-        1) have the DB2 artifacts installed in a local repo and supply the URL:
-          -Dmaven.repo.drivers=http://my.local.repo
-
-        2) have a copy of the DB2 JCC driver and run the following commands :
-          mvn install:install-file -Dfile=${path to jcc.jar} \
-            -DgroupId=com.ibm.db2 \
-            -DartifactId=jcc \
-            -Dversion=11.5 \
-            -Dpackaging=jar
-
-       Note: IBM DB2 JCC driver is available for download at
-          http://www-01.ibm.com/support/docview.wss?uid=swg21363866
-     -->
     <dependency>
       <groupId>com.ibm.db2</groupId>
       <artifactId>jcc</artifactId>
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 2f437eeb75c..95eeb3d8d47 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -996,8 +996,7 @@ object Unsafe {
 object DockerIntegrationTests {
   // This serves to override the override specified in DependencyOverrides:
   lazy val settings = Seq(
-    dependencyOverrides += "com.google.guava" % "guava" % "18.0",
-    resolvers += "DB2" at 
"https://app.camunda.com/nexus/content/repositories/public/";
+    dependencyOverrides += "com.google.guava" % "guava" % "18.0"
   )
 }
 


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

Reply via email to