Croway opened a new pull request, #28515:
URL: https://github.com/apache/camel/pull/28515

   # Description
   
   `camel doctor` creates its own Maven downloader without applying the 
`camel.jbang.*` Maven system properties. A custom distribution can therefore 
fail its Maven check even when its repositories are configured correctly for 
normal CLI use.
   
   Apply the configured repositories, Maven settings/security settings, 
repository enablement, download and freshness properties before building the 
downloader. Add regression tests that resolve a fixture artifact from a 
configured repository with an empty cache, reject a missing artifact, and 
verify initialization/resolution failures retain the existing failure exit code 
on main. Existing doctor tests now mock their Maven checks so their outcomes do 
not depend on network access or a developer cache.
   
   Update the command documentation and upgrade guides. The 4.22 guide records 
the corresponding maintenance-branch exit-code change; main already has failure 
exit codes.
   
   # Target
   
   - [x] Targets `main`.
   
   # Tracking
   
   - [ ] JIRA issue linked.
   
   # Validation
   
   - `mvn -Papache-snapshots -nsu -Dtest=DoctorTest,DoctorRepositoryTest test`: 
22 tests passed.
   - `mvn formatter:format impsort:sort` (invoked using fully qualified plugin 
coordinates): passed.
   - `git diff --check`: passed.
   
   _AI-generated by Codex on behalf of @Croway._
   


-- 
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]

Reply via email to