forked from phoedos/pmd
16 lines
428 B
Bash
16 lines
428 B
Bash
|
#!/bin/bash
|
||
|
set -ev
|
||
|
|
||
|
# remember the current directory
|
||
|
SOURCE_HOME=$PWD
|
||
|
|
||
|
cd $HOME
|
||
|
wget http://apache.claz.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
|
||
|
tar zxvf apache-maven-3.3.9-bin.tar.gz
|
||
|
chmod +x apache-maven-3.3.9/bin/mvn
|
||
|
|
||
|
echo "MAVEN_OPTS='-Xms1g -Xmx1g'" > .mavenrc
|
||
|
mkdir -p .m2
|
||
|
cp $SOURCE_HOME/.travis/travis-toolchains.xml .m2/toolchains.xml
|
||
|
cp $SOURCE_HOME/.travis/travis-settings.xml .m2/settings.xml
|