diff contrib/make_flys_release/make_release.sh @ 9719:f3aa7a12c86a 3.2.x

It's no longer necessary to install these artifacts from a file Oracle-JDBC drivers are fetched from Maven repository since rev. ee1b409af91c.
author Tom Gottfried <tom@intevation.de>
date Mon, 12 Jul 2021 14:39:58 +0200
parents 8e5a8430b89c
children ca1319d5816d
line wrap: on
line diff
--- 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

http://dive4elements.wald.intevation.org