Mercurial > dive4elements > river
diff contrib/make_flys_release/bin/make-importer-package.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 | f7007b1aaa3f |
children | b1b48fa7bd80 |
line wrap: on
line diff
--- 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