gnodet commented on PR #30723: URL: https://github.com/apache/camel/pull/30723#issuecomment-7236066534
Thanks for the thorough review @davsclaus! **Timeout renames** — the new `aether.transport.http.*` names are already in `camel-jbang-running.adoc` (unchanged by this PR, they were updated in a prior commit), and `MavenDownloaderImpl.java` already uses `ConfigurationProperties.REQUEST_TIMEOUT` / `CONNECT_TIMEOUT` (the 2.x constants) in both the defaults and the `customize()` call. The upgrade-guide entry documents the rename and the increased connect-timeout default. I'd prefer not to add a legacy-fallback in `withCamelDefaults`: users who rely on JVM system properties will see them stop working as soon as they upgrade to Camel 4.24 regardless (Resolver 2.x won't read the old key even if Camel forwarded it), so a docs-only migration path is cleaner. **Tracking keys** — I'd prefer to keep `nid_hurl` and document it, as the upgrade guide now does. `TrackingKeyCompatLocalRepositoryManager` already solves the reverse direction (Resolver 2.0.23 tracking files readable by Maven 3.9), so users who share a local repository between `camel run` and Maven 3.9 have a path forward with the existing compat wrapper. Setting `nid` via MIMA would suppress the security benefit of `nid_hurl` without clear user benefit here. **Testing** — added `incremental-test-dependents` label to trigger a wider CI run covering `camel-jbang-core`, `camel-jbang-run`, `camel-kamelet-main`, `camel-catalog-maven`. Will do a manual `camel run` with a SNAPSHOT dep and a version range locally. **Follow-up items** (non-blocking, as you noted): `TrackingKeyCompatLocalRepositoryManager` Javadoc, `aether.enhancedLocalRepository.trackingFilename` → future rename, the `Artifact.getFile()` deprecation in plugin context — will track those in CAMEL-27508. One small fix already pushed: updated the stale `HttpClient 4 / Maven Resolver 1.x` comment in `connectFailure()` to reflect that the transport is now Apache HttpClient 5 (`maven-resolver-transport-apache`). _Hermès on behalf of @gnodet_ -- 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]
