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

   ## Summary
   
   - Adds a `camel wrapper` command that installs wrapper scripts (`camelw` / 
`camelw.cmd`) and a `.camel/camel-wrapper.properties` file for pinning a 
specific Camel version to a project directory
   - The wrapper scripts download the `camel-launcher` JAR on first use and run 
it, similar to how Maven Wrapper (`mvnw`) works
   - Supports `--camel-version` to specify the version (defaults to current) 
and `--repo-url` to specify a custom Maven repository
   
   ## Test plan
   
   - [x] Unit tests for `WrapperCommand` covering file creation, properties 
content, default version, custom repo URL, and script content
   - [ ] Manual testing: run `camel wrapper` and verify `camelw` / `camelw.cmd` 
/ `.camel/camel-wrapper.properties` are created
   - [ ] Manual testing: run `./camelw version get` to verify the wrapper 
downloads and runs the launcher


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