Skip to content

Commit cb67c01

Browse files
upgrade maven version
1 parent 5772f63 commit cb67c01

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.kokoro/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ echo ${JOB_TYPE}
3838
INSTALL_OPTS=""
3939
if [[ $ENABLE_AIRLOCK = 'true' ]]; then
4040
INSTALL_OPTS="-Pairlock-trusted"
41+
wget -q https://archive.apache.org/dist/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.zip -O /tmp/maven.zip && \
42+
unzip /tmp/maven.zip -d /tmp/maven && \
43+
mv /tmp/maven/apache-maven-3.9.9 /usr/local/lib/maven && \
44+
rm /tmp/maven.zip && \
45+
ln -s $JAVA_HOME/lib $JAVA_HOME/conf
4146
fi
4247

4348
# attempt to install 3 times with exponential backoff (starting with 10 seconds)

0 commit comments

Comments
 (0)