gnodet opened a new pull request, #30723: URL: https://github.com/apache/camel/pull/30723
## Summary Upgrades the Maven and Maven Resolver libraries used by `camel-tooling-maven` and `camel-launcher` to their latest versions, maintaining internal consistency between Maven core and Resolver. ## Root Cause Maven 3.9.x ships with Maven Resolver 1.9.x, while Maven 3.10.x ships with Resolver 2.x. The two Resolver lineages are **incompatible**: running Maven 3.10.x artifacts alongside Resolver 1.9.x causes `NoSuchMethodError` on SNAPSHOT resolution. All three bumps must be atomic. ## Changes - **`parent/pom.xml`**: bump `maven-version` 3.9.16 → 3.10.2, `maven-resolver-version` 1.9.27 → 2.0.26, `mima-version` 2.4.48 → 3.0.1 - **`dsl/camel-jbang/camel-launcher/pom.xml`**: bump pinned `maven-version` 3.9.16 → 3.10.2; rename `maven-resolver-transport-http` → `maven-resolver-transport-apache` (artifact renamed in Resolver 2.x) - **`tooling/camel-tooling-maven/pom.xml`**: rename `maven-resolver-transport-http` → `maven-resolver-transport-apache` - **`MavenDownloaderImpl.java`**: replace `ContextOverrides.SnapshotUpdatePolicy.ALWAYS` (removed in MIMA 3.x) with the unified `ContextOverrides.UpdatePolicy.ALWAYS` via `artifactUpdatePolicy()` + `metadataUpdatePolicy()` ## Tests Build verified locally with `./mvnw verify -pl tooling/camel-tooling-maven -pl dsl/camel-jbang/camel-launcher -am -B -Dquickly` — both modules build and all tests pass. ## Upgrade Guide An upgrade note was added to `camel-4x-upgrade-guide-4_24.adoc` for users who embed or extend `camel-tooling-maven` and reference `maven-resolver-transport-http` directly. Resolves CAMEL-27508 --- _Hermes Agent (Claude Sonnet 4.6) on behalf of Guillaume Nodet_ -- 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]
