Skip to content

Commit 1fd97b6

Browse files
committed
Fix maven install
1 parent 97f3fa9 commit 1fd97b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wercker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ integration-test-java:
106106
chmod +x ./kubectl
107107
mv ./kubectl /usr/local/bin/kubectl
108108
109-
# install maven, includes java as dependency
110-
curl -LO http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo
111-
mv epel-apache-maven.repo /etc/yum.repos.d/
112-
yum install -y apache-maven
109+
# install maven
110+
curl -LO http://www-us.apache.org/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz
111+
tar -xf apache-maven-3.6.0-bin.tar.gz
112+
mv apache-maven-3.6.0/ /usr/share/apache-maven/
113113
export M2_HOME="/usr/share/apache-maven"
114114
export PATH=$M2_HOME/bin:$PATH:$JAVA_HOME/bin
115115

0 commit comments

Comments
 (0)