gitedmond opened a new pull request, #20459:
URL: https://github.com/apache/druid/pull/20459
Fixes #20436.
### Description
Two master jobs aborted while resolving the root `org.apache:apache` parent
POM, before their assigned Maven work began. Maven reported a repository URL of
`${repoOrgUrl}` literally when the parent was unavailable locally.
Use concrete Maven Central coordinates in the root POM's repository and
plugin repository declarations. The `repoOrg*` properties had no other uses and
were removed. The shared CI worker now runs a root-only Maven `validate` after
Java setup, retrying up to three times with `-U` and a 10-second delay before
the main script. A persistent failure still fails the job on the third attempt.
### Validation
- Before the change, the [OpenRewrite
job](https://github.com/apache/druid/actions/runs/35807088352/job/107010233252)
and [QTest 2/4
job](https://github.com/apache/druid/actions/runs/36082973105/job/107908697350)
failed to resolve Apache parent POM versions 39 and 40, respectively, with the
literal placeholder URL.
- JDK 25 / Maven 3.9.16: `mvn -B -U -N validate -Pskip-static-checks
-Dweb.console.skip=true` passed using an initially empty local Maven repository
and downloaded `org.apache:apache:pom:40`.
- The generated effective POM contains concrete Central URLs for both
repository types.
- `actionlint` passed for the edited workflow. A shell harness verified
success on attempt three after two failures and exit 1 after three failures.
- `git diff --check`: passed.
The OpenRewrite and QTest jobs require PR CI to verify in their hosted
environment.
This PR has:
- [x] been self-reviewed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]