Skip to content

UNOMI-971: Remove obsolete Maven repositories that stall CI#840

Merged
sergehuber merged 2 commits into
masterfrom
UNOMI-971-remove-obsolete-maven-repos
Jul 22, 2026
Merged

UNOMI-971: Remove obsolete Maven repositories that stall CI#840
sergehuber merged 2 commits into
masterfrom
UNOMI-971-remove-obsolete-maven-repos

Conversation

@sergehuber

@sergehuber sergehuber commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Plain-language summary

Unomi’s build still asked old Maven repositories for jars. When those hosts were slow or unreachable, CI could burn its full time budget on retries and look cancelled even when the code was fine. This change stops using those obsolete repositories so builds stay on healthy sources.

What changed

  • Remove the project-declared Maven repositories from the root POM: ServiceMix SVN m2-repo, OPS4J Sonatype snapshots (404), and the redundant Apache snapshots-group URL.
  • Keep resolution on repositories already provided by the Apache parent POM: Maven Central and Apache snapshots.
  • Leave a short comment pointing at UNOMI-971 so the reason stays visible.

Decision record (ticket outcome)

Repository Action Why
ServiceMix SVN m2-repo Removed Obsolete since ~2015; stalled karaf:verify / CI (same as CAMEL-12474 / KARAF-5294)
OPS4J Sonatype snapshots Removed URL returns 404; Unomi uses released Pax/OPS4J artifacts from Central
Apache snapshots-group (project) Removed Redundant with parent apache.snapshots
Parent Apache snapshots + Central Kept Still required / default

Test plan

  • Effective POM: only apache.snapshots + central (no servicemix / ops4j-snapshots repo URLs)
  • ./build.sh --ci — BUILD SUCCESS; karaf:verify logs Using repositories: …/snapshots, …/maven2 only; zero hits on svn.apache.org
  • ./build.sh --ci --integration-tests --no-clean (Elasticsearch) — 307/307 failsafe tests, 0 failures/errors
  • ./build.sh --ci --integration-tests --use-opensearch --no-clean307/307 failsafe tests, 0 failures/errors
  • GitHub Actions: Build and run tests (unit + ES/OS ITs)

References

UNOMI-971, CAMEL-12474, KARAF-5294

Drop project-declared ServiceMix SVN, dead OPS4J Sonatype snapshots,
and redundant Apache snapshots-group entries. Central and Apache
snapshots already come from the Apache parent POM.
…down

Canceling in-flight futures can invoke handleTaskError before
scheduler.shutdown(), which raced and queued retries that CI flaked on.
Set shuttingDown first and skip retry schedule when it is set.
@sergehuber
sergehuber merged commit f539d4f into master Jul 22, 2026
7 of 8 checks passed
@sergehuber
sergehuber deleted the UNOMI-971-remove-obsolete-maven-repos branch July 22, 2026 14:18
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