File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919function install_maven {
2020 (
21- local maven_version=" 3.9.2 "
21+ local maven_version=" 3.9.12 "
2222 local local_binary=" apache-maven-${maven_version} -bin.tar.gz"
2323 local mirror_host=" https://www.apache.org/dyn/closer.lua"
2424 local url=" ${mirror_host} /maven/maven-3/${maven_version} /binaries/${local_binary} ?action=download"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ RUN set -ex; \
3232 dnf install -y --setopt=install_weak_deps=False gcc-toolset-11; \
3333 echo "check_certificate = off" >> ~/.wgetrc; \
3434 yum install -y java-${JAVA_VERSION}-openjdk-devel patch wget git perl; \
35- maven_version=3.9.2 ; \
35+ maven_version=3.9.12 ; \
3636 local_binary="apache-maven-${maven_version}-bin.tar.gz"; \
3737 mirror_host="https://www.apache.org/dyn/closer.lua"; \
3838 url="${mirror_host}/maven/maven-3/${maven_version}/binaries/${local_binary}?action=download"; \
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ RUN set -ex; \
3030 dnf install -y --setopt=install_weak_deps=False gcc-toolset-12 gcc-toolset-13; \
3131 echo "check_certificate = off" >> ~/.wgetrc; \
3232 yum install -y java-${JAVA_VERSION}-openjdk-devel patch wget git perl; \
33- maven_version=3.9.2 ; \
33+ maven_version=3.9.12 ; \
3434 local_binary="apache-maven-${maven_version}-bin.tar.gz"; \
3535 mirror_host="https://www.apache.org/dyn/closer.lua"; \
3636 url="${mirror_host}/maven/maven-3/${maven_version}/binaries/${local_binary}?action=download"; \
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function semver {
2525
2626install_maven_from_source () {
2727 if [ -z " $( which mvn) " ]; then
28- maven_version=3.9.2
28+ maven_version=3.9.12
2929 maven_install_dir=/opt/maven-$maven_version
3030 if [ -d /opt/maven-$maven_version ]; then
3131 echo " Failed to install maven: ${maven_install_dir} is exists" >&2
You can’t perform that action at this time.
0 commit comments