diff contrib/make_flys_release/bin/make-importer-package.sh @ 9744:b1b48fa7bd80 3.2.x

Include both database drivers in one pom.xml This makes it unnecessary to package for a specific database and makes it possible to connect to both database backends from the same installation (e.g. in a Docker container).
author Tom Gottfried <tom@intevation.de>
date Tue, 30 Aug 2022 14:33:20 +0200
parents f3aa7a12c86a
children b57b236c4f4e
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Mon Aug 29 17:10:27 2022 +0200
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Tue Aug 30 14:33:20 2022 +0200
@@ -25,14 +25,13 @@
 
 OPTIONS:
    -?, --help          Show this message
-   -o, --oracle        Package is for Oracle.
    VERSION must specify a tag (usually MAYOR.MINOR.PATCH) or a branch name.
    With EXTRAS, a tarball with dependencies can be given.
 EOF
 exit 0
 }
 
-OPTS=`getopt -o ?,o -l help,oracle -n $0 -- "$@"`
+OPTS=`getopt -o ? -l help -n $0 -- "$@"`
 
 if [ $? != 0 ] ; then usage; fi
 eval set -- "$OPTS"
@@ -43,9 +42,6 @@
     "--")
       shift
       break;;
-    "-o"|"--oracle")
-      BUILD_ORACLE="TRUE"
-      shift;;
     *)
       echo "Unknown Option $1"
       usage;;
@@ -81,11 +77,7 @@
 pdflatex importer-manual.tex
 
 # package importer
-if [ "$BUILD_ORACLE" = "TRUE" ]; then
-    mvn -f $SOURCE_DIR/backend/pom-oracle.xml clean package assembly:single
-else
-    mvn -f $SOURCE_DIR/backend/pom.xml clean package assembly:single
-fi
+mvn -f $SOURCE_DIR/backend/pom.xml clean package assembly:single
 
 echo "INFO: create tarball"
 rm -fr $PKG_DIR

http://dive4elements.wald.intevation.org