3 if [ x$JVLVERSION != x ]; then
4 export VERSION=$JVLVERSION
6 export VERSION=1.8.3-1.1.4_JVL
9 if [ x${VERSION%_JVL} = x$VERSION ]; then
10 VERSION=${VERSION}_JVL
13 echo "Setting VERSION to '$VERSION'"
15 perl -p -i -e 's|(<version>)[^<]*JVL[^<]*(</version>)|${1}$ENV{VERSION}${2}|;' pom.xml */pom.xml
17 mvn package -Dgetdown.host.whitelist="jalview.org,*.jalview.org" -Dconnect_timeout=8 -Dread_timeout=15
19 if [ x$RET = x0 ]; then
20 cp launcher/target/getdown-launcher-$VERSION.jar ../../../getdown/lib/getdown-launcher.jar && echo "Copied getdown-launcher.jar to getdown/lib"
21 cp core/target/getdown-core-$VERSION.jar ../../../getdown/lib/getdown-core.jar && echo "Copied getdown-core.jar to getdown/lib"
22 cp core/target/getdown-core-$VERSION.jar ../../../j8lib/getdown-core.jar && echo "Copied getdown-core.jar to j8lib"
23 cp core/target/getdown-core-$VERSION.jar ../../../j11lib/getdown-core.jar && echo "Copied getdown-core.jar to j11lib"