mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
Update Maven to 3.6.3 (again)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
################################################################################
|
################################################################################
|
||||||
## File: java-tools.sh
|
## File: java-tools.sh
|
||||||
|
## Team: CI-Platform
|
||||||
## Desc: Installs Java and related tooling (Ant, Gradle, Maven)
|
## Desc: Installs Java and related tooling (Ant, Gradle, Maven)
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
@@ -33,11 +34,11 @@ apt-fast install -y --no-install-recommends ant ant-optional
|
|||||||
echo "ANT_HOME=/usr/share/ant" | tee -a /etc/environment
|
echo "ANT_HOME=/usr/share/ant" | tee -a /etc/environment
|
||||||
|
|
||||||
# Install Maven
|
# Install Maven
|
||||||
curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.zip -o maven.zip
|
curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip -o maven.zip
|
||||||
unzip -d /usr/share maven.zip
|
unzip -d /usr/share maven.zip
|
||||||
rm maven.zip
|
rm maven.zip
|
||||||
ln -s /usr/share/apache-maven-3.6.2/bin/mvn /usr/bin/mvn
|
ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn
|
||||||
echo "M2_HOME=/usr/share/apache-maven-3.6.2" | tee -a /etc/environment
|
echo "M2_HOME=/usr/share/apache-maven-3.6.3" | tee -a /etc/environment
|
||||||
|
|
||||||
# Install Gradle
|
# Install Gradle
|
||||||
# This script downloads the latest HTML list of releases at https://gradle.org/releases/.
|
# This script downloads the latest HTML list of releases at https://gradle.org/releases/.
|
||||||
|
|||||||
Reference in New Issue
Block a user