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

jin pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-hugegraph-toolchain.git


The following commit(s) were added to refs/heads/master by this push:
     new cff42212 chore: remove oracle dependency (#359)
cff42212 is described below

commit cff4221237e4565a4c5c104c474ff4cd065cfbbc
Author: Simon Cheung <[email protected]>
AuthorDate: Tue Nov 8 21:10:41 2022 +0800

    chore: remove oracle dependency (#359)
---
 .github/workflows/check-dependencies.yml              |   1 -
 .github/workflows/codeql-analysis.yml                 |   1 -
 .github/workflows/loader-ci.yml                       |   1 -
 .github/workflows/release.yml                         |   1 -
 .../scripts/dependency/known-dependencies.txt         |   1 -
 .../dependency/regenerate_known_dependencies.sh       |   3 ---
 .../assembly/static/lib/ojdbc8-12.2.0.1.jar           | Bin 4036257 -> 0 bytes
 hugegraph-loader/assembly/travis/.travis.yml          |   3 ---
 hugegraph-loader/pom.xml                              |   5 -----
 9 files changed, 16 deletions(-)

diff --git a/.github/workflows/check-dependencies.yml 
b/.github/workflows/check-dependencies.yml
index 3e24fdfa..a414f8d6 100644
--- a/.github/workflows/check-dependencies.yml
+++ b/.github/workflows/check-dependencies.yml
@@ -18,7 +18,6 @@ jobs:
           distribution: 'adopt'
       - name: mvn install
         run: |
-          mvn install:install-file -Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar 
-DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
           mvn install -DskipTests=true
       - name: generate current dependencies
         run: |
diff --git a/.github/workflows/codeql-analysis.yml 
b/.github/workflows/codeql-analysis.yml
index 9386aaf5..2f4f5ae2 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -67,7 +67,6 @@ jobs:
     - if: matrix.language == 'java'
       name: Build Java
       run: |
-        mvn install:install-file 
-Dfile=hugegraph-loader/assembly/static/lib/ojdbc8-12.2.0.1.jar 
-DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
         mvn clean package -f "pom.xml" -B -V -e -Dfindbugs.skip 
-Dcheckstyle.skip -Dpmd.skip=true -Dspotbugs.skip -Denforcer.skip 
-Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true 
-Drat.skip=true -Dspotless.check.skip=true
 
     # ℹ️ Command-line programs to run using the OS shell.
diff --git a/.github/workflows/loader-ci.yml b/.github/workflows/loader-ci.yml
index 6003da01..3f988c3e 100644
--- a/.github/workflows/loader-ci.yml
+++ b/.github/workflows/loader-ci.yml
@@ -49,7 +49,6 @@ jobs:
 
       - name: Compile
         run: |
-          mvn install:install-file -Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar 
-DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar -ntp
           mvn install -pl hugegraph-client,hugegraph-loader -am -DskipTests 
-ntp
           ls && cd hugegraph-loader && ls *
           #mvn -e compile -Dmaven.javadoc.skip=true -ntp
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9927fc20..7c12a494 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -31,7 +31,6 @@ jobs:
 
       - name: Package
         run: |
-          mvn install:install-file -Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar 
-DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
           mvn clean package -DskipTests
 
       - uses: xresloader/upload-to-github-release@master
diff --git a/hugegraph-dist/scripts/dependency/known-dependencies.txt 
b/hugegraph-dist/scripts/dependency/known-dependencies.txt
index e6a79893..c71c7e01 100644
--- a/hugegraph-dist/scripts/dependency/known-dependencies.txt
+++ b/hugegraph-dist/scripts/dependency/known-dependencies.txt
@@ -461,7 +461,6 @@ netty-common-4.1.39.Final.jar
 nimbus-jose-jwt-4.41.1.jar
 nimbus-jose-jwt-9.8.1.jar
 objenesis-2.5.1.jar
-ojdbc8-12.2.0.1.jar
 okhttp-2.4.0.jar
 okhttp-2.7.5.jar
 okio-1.4.0.jar
diff --git a/hugegraph-dist/scripts/dependency/regenerate_known_dependencies.sh 
b/hugegraph-dist/scripts/dependency/regenerate_known_dependencies.sh
index a456c3a7..1c27c9f0 100644
--- a/hugegraph-dist/scripts/dependency/regenerate_known_dependencies.sh
+++ b/hugegraph-dist/scripts/dependency/regenerate_known_dependencies.sh
@@ -27,9 +27,6 @@ fi
 
 cd $BASE_PATH/../../../
 
-mvn install:install-file \
--Dfile=$BASE_PATH/../../../hugegraph-loader/assembly/static/lib/ojdbc8-12.2.0.1.jar
 \
--DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
 mvn dependency:copy-dependencies -DincludeScope=runtime 
-DoutputDirectory=$DEP_PATH
 
 ls $DEP_PATH | egrep -v "^hugegraph|hubble" | sort -n > $BASE_PATH/$FILE_NAME
diff --git a/hugegraph-loader/assembly/static/lib/ojdbc8-12.2.0.1.jar 
b/hugegraph-loader/assembly/static/lib/ojdbc8-12.2.0.1.jar
deleted file mode 100644
index bf412434..00000000
Binary files a/hugegraph-loader/assembly/static/lib/ojdbc8-12.2.0.1.jar and 
/dev/null differ
diff --git a/hugegraph-loader/assembly/travis/.travis.yml 
b/hugegraph-loader/assembly/travis/.travis.yml
index 8c260175..72958f4c 100644
--- a/hugegraph-loader/assembly/travis/.travis.yml
+++ b/hugegraph-loader/assembly/travis/.travis.yml
@@ -35,9 +35,6 @@ branches:
     - /^release-.*$/
     - /^test-.*$/
 
-# Fix can't download oracle jdbc driver from maven repository
-before_install: mvn install:install-file 
-Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar -DgroupId=com.oracle 
-DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
-
 install: mvn compile -Dmaven.javadoc.skip=true | grep -v 
"Downloading\|Downloaded"
 
 before_script:
diff --git a/hugegraph-loader/pom.xml b/hugegraph-loader/pom.xml
index 70132b08..a65a66cf 100644
--- a/hugegraph-loader/pom.xml
+++ b/hugegraph-loader/pom.xml
@@ -241,11 +241,6 @@
             <artifactId>mssql-jdbc</artifactId>
             <version>7.2.0.jre8</version>
         </dependency>
-        <dependency>
-            <groupId>com.oracle</groupId>
-            <artifactId>ojdbc8</artifactId>
-            <version>12.2.0.1</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.hive</groupId>
             <artifactId>hive-exec</artifactId>

Reply via email to