Skip to content

Commit

Permalink
Fix download links that currently gives 404 to use http://archive.apa…
Browse files Browse the repository at this point in the history
…che.org instead where the binaries will have a permanent home.
  • Loading branch information
Fredrik Sundberg authored and irbull committed Jan 11, 2019
1 parent 42e4baa commit 0aae30a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/shared/install.maven.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

echo "Preparing Maven..."
curl http://www-eu.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz -O
curl http://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz -O
mkdir -p /opt
tar xzvf apache-maven-3.5.0-bin.tar.gz -C /opt/
chmod -R 777 /opt/apache-maven-3.5.0
2 changes: 1 addition & 1 deletion docker/win32/install.maven.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Write-Host 'Downloading ...';
C:/j2v8/docker/win32/wget.ps1 `
http://www-eu.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip `
http://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.zip `
C:\maven.zip

Write-Host 'Installing Maven ...';
Expand Down
2 changes: 1 addition & 1 deletion vagrant/macos/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SCRIPT

$provision_maven = <<SCRIPT
echo Downloading Maven...
curl http://www-eu.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz -O
curl http://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz -O
echo Installing Maven...
sudo tar xzvf apache-maven-3.5.0-bin.tar.gz -C /opt/
Expand Down

0 comments on commit 0aae30a

Please sign in to comment.