[PATCH] It's no longer necessary to install these artifacts from a file

Wald Commits scm-commit at wald.intevation.org
Mon Jul 12 14:50:23 CEST 2021


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1626093598 -7200
#      Mon Jul 12 14:39:58 2021 +0200
# Branch 3.2.x
# Node ID f3aa7a12c86aa6485e5ea8e0af5d46bf16fb6d85
# Parent  ee1b409af91c3ed40343e6e8478f327ca907be82
It's no longer necessary to install these artifacts from a file

Oracle-JDBC drivers are fetched from Maven repository since rev. ee1b409af91c.

diff -r ee1b409af91c -r f3aa7a12c86a contrib/make_flys_release/bin/make-importer-package.sh
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Mon Jul 12 14:08:26 2021 +0200
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Mon Jul 12 14:39:58 2021 +0200
@@ -26,8 +26,6 @@
 OPTIONS:
    -?, --help          Show this message
    -o, --oracle        Package is for Oracle.
-                       Suitable jar-file for JDBC driver has to be given with
-                       the environment variable ORACLE_JDBC
    VERSION must specify a tag (usually MAYOR.MINOR.PATCH) or a branch name.
    With EXTRAS, a tarball with dependencies can be given.
 EOF
@@ -84,13 +82,6 @@
 
 # package importer
 if [ "$BUILD_ORACLE" = "TRUE" ]; then
-    if [ ! -f $ORACLE_JDBC ]; then
-        echo "Could not find oracle jdbc in $ORACLE_JDBC"
-        echo "Please make sure that the ORACLE_JDBC variable is set correctly"
-        exit 1
-    fi
-    mvn install:install-file -DgroupId=ojdbc -DartifactId=ojdbc \
-       -Dversion=0 -Dpackaging=jar -Dfile=$ORACLE_JDBC -DgeneratePom=true
     mvn -f $SOURCE_DIR/backend/pom-oracle.xml clean package assembly:single
 else
     mvn -f $SOURCE_DIR/backend/pom.xml clean package assembly:single
diff -r ee1b409af91c -r f3aa7a12c86a contrib/make_flys_release/make_release.sh
--- a/contrib/make_flys_release/make_release.sh	Mon Jul 12 14:08:26 2021 +0200
+++ b/contrib/make_flys_release/make_release.sh	Mon Jul 12 14:39:58 2021 +0200
@@ -38,8 +38,6 @@
                        Note that \$USER is used as the repository user name
                        for pushing the tags.
    -o, --oracle        Release is for oracle.
-                       Suitable jar-file for JDBC driver has to be given with
-                       the environment variable ORACLE_JDBC
    TARGET must specify a tag (usually MAYOR.MINOR.PATCH) or a branch name.
 EOF
 exit 0
@@ -268,13 +266,6 @@
     $FLYS_SOURCE_DIR/river/artifacts/bin/wsplgen
 
 if [ "$BUILD_ORACLE" = "TRUE" ]; then
-    if [ ! -f $ORACLE_JDBC ]; then
-        echo "Could not find oracle jdbc in $ORACLE_JDBC"
-        echo "Please make sure that the ORACLE_JDBC variable is set correctly"
-        exit 1
-    fi
-    mvn install:install-file -DgroupId=ojdbc -DartifactId=ojdbc \
-       -Dversion=0 -Dpackaging=jar -Dfile=$ORACLE_JDBC -DgeneratePom=true
     mvn -f $FLYS_SOURCE_DIR/river/backend/pom-oracle.xml clean compile install
     mvn -f $FLYS_SOURCE_DIR/river/artifacts/pom-oracle.xml \
         package assembly:single
diff -r ee1b409af91c -r f3aa7a12c86a etl/doc/README.txt
--- a/etl/doc/README.txt	Mon Jul 12 14:08:26 2021 +0200
+++ b/etl/doc/README.txt	Mon Jul 12 14:39:58 2021 +0200
@@ -22,13 +22,7 @@
      $ mvn --version
      Sollte Versionsinformationen ausgeben.
 
-   * Für die Nutzung der Oracle-JDBC-Bindings muss das Oracle-Treiber-Jar
-     in das lokale Maven-Repository installiert werden:
-
-     $ mvn install:install-file -DgroupId=ojdbc7.jar -DartifactId=ojdbc7 \
-       -Dversion=0 -Dpackaging=jar -Dfile=ojdbc7.jar -DgeneratePom=true
-
-   * Für den eigentlichen Oracle-kompatiblen Bau kann dann folgendes
+   * Für den Oracle-kompatiblen Bau kann dann folgendes
      aufgerufen werden:
 
      $ mvn -f pom-oracle.xml clean package assembly:single


More information about the Dive4Elements-commits mailing list