Skip to content

Commit e3d17e6

Browse files
Update Maven version to 3.5.4 in build script
1 parent f9a1e89 commit e3d17e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/bin/bash
2-
curl http://www-us.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz -o maven.tar.gz
2+
MAVEN_VERSION="3.5.4"
3+
curl -v "http://www-us.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz" -o maven.tar.gz
34
tar xzf maven.tar.gz
45
export MVNROOT=$PWD
5-
export PATH=$PWD/apache-maven-3.5.3/bin:$PATH
6+
export PATH=$PWD/apache-maven-${MAVEN_VERSION}/bin:$PATH
67

78
# Maven install
89
mvn clean

0 commit comments

Comments
 (0)