Permalink
Browse files

Adding segment to downgrade Maven.

  • Loading branch information...
raphw committed Dec 6, 2017
1 parent 2c85159 commit dc71e9e4f6037d3238b93d48e2a27049739f67e4
Showing with 8 additions and 0 deletions.
  1. +8 −0 .travis.yml
View
@@ -12,6 +12,14 @@ before_cache:
# No sense in caching current build artifacts
rm -rf $HOME/.m2/repository/cglib
before_script:
- wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
- unzip -qq apache-maven-3.2.5-bin.zip
- export M2_HOME="$PWD/apache-maven-3.2.5"
- export PATH="$M2_HOME/bin:$PATH"
- echo "MAVEN_OPTS='-Xmx512m -Dgpg.skip=true'" > ~/.mavenrc
- if [[ "x$JDK" == *'x9'* ]]; then remove_dir_from_path $JAVA_HOME/bin; export JAVA_HOME=/usr/lib/jvm/java-9-oracle; export PATH=$JAVA_HOME/bin:$PATH; java -Xmx32m -version; fi
# Skip default "mvn install" issued by Travis
install: true
script:

0 comments on commit dc71e9e

Please sign in to comment.