Use WPILib Artifactory mirror instead of Maven Central#2277
Use WPILib Artifactory mirror instead of Maven Central#2277Gold856 merged 3 commits intoPhotonVision:mainfrom
Conversation
|
For redundancy, can we have both? I'd prefer to hit Maven Central first, then fall back to Artifactory if needed. |
|
We can have both. Should we prefer to hit wpilib's infrastructure instead of Maven central's? |
|
It doesn't particularly matter I think. May as well try and hit Maven Central less. |
|
For posterity, this does leave Maven Central in as an alternate repository, but Gradle will hit WPILib's Artifactory first. Maven Central is now just a fallback. |
|
Late, but if you hit maven central first it won't get cached in WPILib's Artifactory. Hitting Artifactory first is fine and will really only fail if it's not already cached and maven central is down/denies Artifactory's request. |
My understanding is that the hits go in the order that they're listed, so if we list the WPILib artifactory first we should hit that prior to Maven Central. |
Description
By hitting WPIlib's Artifactory Maven Central mirror instead of Maven Central, we should reduce the number of 403 flakes we see during workflow runs. This also removes jogamp from the repository list, as jogamp dependencies were removed in #1926.
Meta
Merge checklist: