Skip to content

Commit 282bdb6

Browse files
.travis.yml: install java 6 compatible maven version
1 parent 9bdb3db commit 282bdb6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ addons:
2121
packages:
2222
- openjdk-6-jdk
2323

24+
# use java 6 compatible maven version (installed into target directory so rat check passes)
25+
before_install:
26+
- wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip -P ./target
27+
- unzip -qq ./target/apache-maven-3.2.5-bin.zip -d ./target
28+
- export M2_HOME=$PWD/target/apache-maven-3.2.5
29+
- export PATH=$M2_HOME/bin:$PATH
30+
2431
jdk:
2532
- openjdk6
2633
- openjdk7

0 commit comments

Comments
 (0)