Repository navigation
Conversation
The dash-licenses-snapshots plugin repository was declared globally, so Maven queried repo.eclipse.org before Maven Central for every plugin. While repo.eclipse.org answers with 503 and Retry-After, Maven Resolver keeps waiting and retrying, so every CI build stalls for hours. Move the repository into the DashLicense and docker-push profiles, which are the only ones using license-tool-plugin, and limit it to snapshots.
Member
Author
|
Superseded by #1102, which contains the same change (scoping the dash-licenses-snapshots plugin repository to the profiles that use it) together with the Spring Boot 4.2.0 update. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
The
dash-licenses-snapshotsplugin repository (repo.eclipse.org) was declared globally in the rootpom.xml. Maven checks declared repositories before Maven Central, so every build queriedrepo.eclipse.orgfirst for every plugin.repo.eclipse.orgis currently answering every request with503andRetry-After: 60. Maven Resolver honours that header, so builds sit for hours on the first plugin download (flatten-maven-plugin). As a result, all CI jobs of #1101, #1102 and #1103 have been stuck in their Maven step since 02:55 UTC.This PR moves the repository into the
DashLicenseanddocker-pushprofiles, the only places whereorg.eclipse.dash:license-tool-pluginis used, and restricts it to snapshots. Regular builds now resolve plugins from Maven Central only.The Dash License Check itself still depends on
repo.eclipse.org, so it will keep failing until that service is back.Related Issue
Blocks #1102 (and #1101, #1103).
BaSyx Configuration for Testing
None. Verified locally:
mvn validateno longer downloads anything fromdash-licenses-snapshots.mvn help:effective-pom -PDashLicensestill contains the repository for the active profile.AAS Files Used for Testing
None.
Additional Information
After merging, comment
@dependabot rebaseon the open Dependabot PRs to pick up the fix.