view artifact-database/bin/createArtifacts.sh @ 566:2a6524b36ab6 3.2.x

Update repository URL According to https://restlet.talend.com/downloads/current/, the "Maven repository for Restlet is accessible from https://maven.restlet.talend.com". The previously used URL currently uses an outdated SSL certificate.
author Tom Gottfried <tom@intevation.de>
date Mon, 22 Mar 2021 12:20:54 +0100
parents 8bf00b8266fe
children 2b40f4bf190d
line wrap: on
line source
#!/bin/bash

mkdir -p artifactsdb

DIR=`dirname $0`
DIR=`readlink -f "$DIR"`

if [ $# != 1 ]; then
    SCHEMA="$DIR/../doc/schema-h2.sql"
else
    SCHEMA="$1"
fi

URL="jdbc:h2:`readlink -f artifactsdb`/artifacts"

mvn -e -Dexec.mainClass=org.h2.tools.RunScript exec:java \
    -Dexec.args="-url $URL -script $SCHEMA"

http://dive4elements.wald.intevation.org