commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject [2/2] commons-cli git commit: .travis.yml: install java 6 compatible maven version
Date Fri, 22 Sep 2017 15:06:57 GMT
.travis.yml: install java 6 compatible maven version


Project: http://git-wip-us.apache.org/repos/asf/commons-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-cli/commit/282bdb62
Tree: http://git-wip-us.apache.org/repos/asf/commons-cli/tree/282bdb62
Diff: http://git-wip-us.apache.org/repos/asf/commons-cli/diff/282bdb62

Branch: refs/heads/master
Commit: 282bdb6216776f6585e543a8d41f42b7102f51bd
Parents: 9bdb3db
Author: Pascal Schumacher <pascalschumacher@gmx.net>
Authored: Thu Sep 21 21:17:08 2017 +0200
Committer: Pascal Schumacher <pascalschumacher@gmx.net>
Committed: Thu Sep 21 21:52:38 2017 +0200

----------------------------------------------------------------------
 .travis.yml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-cli/blob/282bdb62/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 9c54708..6abfbad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,13 @@ addons:
     packages:
       - openjdk-6-jdk
 
+# use java 6 compatible maven version (installed into target directory so rat check passes)
+before_install:
+  - wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
-P ./target
+  - unzip -qq ./target/apache-maven-3.2.5-bin.zip -d ./target
+  - export M2_HOME=$PWD/target/apache-maven-3.2.5
+  - export PATH=$M2_HOME/bin:$PATH
+
 jdk:
   - openjdk6
   - openjdk7


Mime
View raw message