Skip to content

Scope Dash plugin repository to the profiles that use it - #1104

Closed
aaronzi wants to merge 1 commit into
eclipse-basyx:mainfrom
aaronzi:fix/ci-dash-plugin-repo-scope
Closed

aaronzi wants to merge 1 commit into
eclipse-basyx:mainfrom
aaronzi:fix/ci-dash-plugin-repo-scope

Conversation

@aaronzi

@aaronzi aaronzi commented Nov 23, 2026

Copy link
Copy Markdown
Member

Description of Changes

The dash-licenses-snapshots plugin repository (repo.eclipse.org) was declared globally in the root pom.xml. Maven checks declared repositories before Maven Central, so every build queried repo.eclipse.org first for every plugin.

repo.eclipse.org is currently answering every request with 503 and Retry-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 DashLicense and docker-push profiles, the only places where org.eclipse.dash:license-tool-plugin is 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 validate no longer downloads anything from dash-licenses-snapshots.
  • mvn help:effective-pom -PDashLicense still contains the repository for the active profile.

AAS Files Used for Testing

None.

Additional Information

After merging, comment @dependabot rebase on the open Dependabot PRs to pick up the fix.

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.
@aaronzi

aaronzi commented Nov 23, 2026

Copy link
Copy Markdown
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.

@aaronzi aaronzi closed this Nov 23, 2026
@aaronzi
aaronzi deleted the fix/ci-dash-plugin-repo-scope branch November 23, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant