File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ install:
7979 # - unzip utPLSQL.zip
8080 - unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli
8181 - cp .travis/settings.xml $MAVEN_CFG/settings.xml
82+ # Install maven wagon
83+ - bash .travis/maven_cfg.sh
8284 - mvn dependency:copy-dependencies -DoutputDirectory=utPLSQL-cli/lib
8385 - pip install mkdocs
8486 - bash .travis/install_sqlcl.sh
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -ev
3+ cd $( dirname $( readlink -f $0 ) )
4+
5+ # Download wagon-http recommended by Oracle.
6+ # On maven latest version this is not needed, but travis doesn't have it.
7+ if [ ! -f $CACHE_DIR /wagon-http-2.8-shaded.jar ]; then
8+ curl -L -O " http://central.maven.org/maven2/org/apache/maven/wagon/wagon-http/2.8/wagon-http-2.8-shaded.jar"
9+ mv wagon-http-2.8-shaded.jar $CACHE_DIR /
10+ sudo cp $CACHE_DIR /wagon-http-2.8-shaded.jar $MAVEN_HOME /lib/ext/
11+ else
12+ echo " Using cached wagon-http..."
13+ sudo cp $CACHE_DIR /wagon-http-2.8-shaded.jar $MAVEN_HOME /lib/ext/
14+ fi
You can’t perform that action at this time.
0 commit comments