Download Maven from Maven Central

Maven deleted older binaries from their CDN, so the download was
failing. Maven Central seems it'll be more stable.
This commit is contained in:
Eric Anderson 2023-06-09 09:51:35 -07:00
parent 1daf0ff720
commit 0f2c43a8fd
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,6 @@ RUN yum install -y \
yum clean all
# Install Maven
RUN curl -Ls http://dlcdn.apache.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz | \
RUN curl -Ls https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.tar.gz | \
tar xz -C /var/local
ENV PATH /var/local/apache-maven-3.3.9/bin:$PATH