-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[BUILD][HOTFIX] Download Maven from regular mirror network rather than archive.apache.org #12262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
LGTM |
| install_mvn() { | ||
| local MVN_VERSION="3.3.9" | ||
| local APACHE_MIRROR=${APACHE_MIRROR:-https://archive.apache.org/dist} | ||
| local APACHE_MIRROR=${APACHE_MIRROR:-'https://www.apache.org/dyn/closer.lua?action=download&filename='} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 i didn't know you could get a direct download out of the closer.lua redirector. Looks like it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I had to search around a bit and found a couple examples of other scripts / projects doing this. It's a bummer that this isn't authoritatively documented anywhere.
|
We should probably apply a similar fix in the other active backport branches so that their tests don't fail. The patch will be slightly different, though, because those branches are missing #12250. |
|
Merging to master now. |
|
Test build #55373 has finished for PR 12262 at commit
|
…n archive.apache.org [archive.apache.org](https://archive.apache.org/) is undergoing maintenance, breaking our `build/mvn` script: > We are in the process of relocating this service. To save on the immense bandwidth that this service outputs, we have put it in maintenance mode, disabling all downloads for the next few days. We expect the maintenance to be complete no later than the morning of Monday the 11th of April, 2016. This patch fixes this issue by updating the script to use the regular mirror network to download Maven. (This is a backport of #12262 to 1.6) Author: Josh Rosen <[email protected]> Closes #12307 from JoshRosen/fix-1.6-mvn-download.
…n archive.apache.org [archive.apache.org](https://archive.apache.org/) is undergoing maintenance, breaking our `build/mvn` script: > We are in the process of relocating this service. To save on the immense bandwidth that this service outputs, we have put it in maintenance mode, disabling all downloads for the next few days. We expect the maintenance to be complete no later than the morning of Monday the 11th of April, 2016. This patch fixes this issue by updating the script to use the regular mirror network to download Maven. (This is a backport of apache#12262 to 1.6) Author: Josh Rosen <[email protected]> Closes apache#12307 from JoshRosen/fix-1.6-mvn-download. (cherry picked from commit f4110cd)
archive.apache.org is undergoing maintenance, breaking our
build/mvnscript:This patch fixes this issue by updating the script to use the regular mirror network to download Maven.