Skip to content

Commit 5bbd3fe

Browse files
upgrade maven version
1 parent cb67c01 commit 5bbd3fe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.kokoro/build.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ 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
4641
fi
4742

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

.kokoro/dependencies.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ fi
5858
INSTALL_OPTS=""
5959
if [[ $ENABLE_AIRLOCK = 'true' ]]; then
6060
INSTALL_OPTS="-Pairlock-trusted"
61+
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 && \
62+
unzip /tmp/maven.zip -d /tmp/maven && \
63+
mv /tmp/maven/apache-maven-3.9.9 /usr/local/lib/maven && \
64+
rm /tmp/maven.zip && \
65+
ln -s $JAVA_HOME/lib $JAVA_HOME/conf
6166
fi
6267

6368
# this should run maven enforcer

0 commit comments

Comments
 (0)