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

   This PR implements a fat-jar launcher for Camel JBang that provides a 
pre-built distribution with all dependencies included. The launcher eliminates 
the two-step process where JBang first parses the .java file and then calls 
camel-jbang.
   
   ### Key changes:
   - Created a new Maven module `camel-jbang-launcher`
   - Implemented a simple launcher class that calls `CamelJBangMain.run()`
   - Configured Maven Shade plugin to create a fat-jar with all dependencies
   - Created shell and batch scripts for Unix/Linux and Windows
   - Configured Maven Assembly plugin to create distribution archives
   - Used properties for dependency versions instead of hardcoded values
   - Placed scripts in the root folder of the distribution
   - Added example files in the examples directory
   - Fixed Maven dependency resolution by including all necessary dependencies
   
   ### Testing:
   - Tested the fat-jar launcher with basic commands like `version` and `--help`
   - Tested running Camel routes from YAML and Java files
   - Verified that the distribution archive contains the correct files
   
   This PR is in draft mode as it may need further refinement before being 
ready for review.
   
   ---
   Pull Request opened by [Augment Code](https://www.augmentcode.com/) with 
guidance from the PR author


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to