-
Notifications
You must be signed in to change notification settings - Fork 358
Investigate removal of repositories other than maven central from POMs #2680
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
Comments
At least the module Potentially the problem here is the Maven central repository being used as the fallback for |
Running
As a result, Maven will check the spark repo ahead of central. See Maven docs for the priority used. When cloning the project for the first time this can cause significant delays while Maven tries to fetch from this repo, only falling back to fetching from central after timing out in some cases. The PR to fix this adds central to the POM above spark-packages. This ensures it is only used as a fallback when the single package |
* Add central repo ahead of spark-packages This fixes the issue where Maven uses the spark repo as the default instead of central. It's now used only when a package isn't found on central.
It appears that all the dependencies required by Gaffer are available in Maven central, which is the default repository used by Maven. Although this may not have been the case in the past. When running builds Maven occasionally tries to check
repos.spark-packages.org
if it can't find a package in Maven central. This is often because of a mistake with the version.It's unclear if this repository (see below - defined in spark library) is actually required or if it can be removed. On a clean installation of Maven with no preexisting dependencies downloaded, investigate to see if it can be removed without causing any missing dependencies.
The text was updated successfully, but these errors were encountered: