kenwenzel opened a new issue, #2759: URL: https://github.com/apache/karaf/issues/2759
## Summary Add a Maven wrapper (mvnw) for Jitpack builds to ensure that Maven version 3.9.0 or above is consistently used across all build environments. ## Motivation - **Consistency**: Ensures all builds, especially those on Jitpack, use the same Maven version - **Compatibility**: Maven 3.9.0+ may introduce important security updates and compatibility improvements - **Reliability**: Eliminates issues caused by version mismatches between local development and CI/Jitpack builds - **User Experience**: Users can build the project without manually installing specific Maven versions ## Implementation Details The Maven wrapper should: - Be configured to require Maven 3.9.0 or higher - Include the `.mvn/wrapper/maven-wrapper.properties` configuration file - Include the `.mvn/wrapper/maven-wrapper.jar` binary - Include shell scripts (`mvnw` for Linux/Mac and `mvnw.cmd` for Windows) - Be tested to ensure Jitpack builds work correctly with the wrapper ## Files to Add/Modify - `.mvn/wrapper/maven-wrapper.jar` - `.mvn/wrapper/maven-wrapper.properties` (set `distributionUrl` to Maven 3.9.0+) - `mvnw` (shell script) - `mvnw.cmd` (batch script) - `.mvn/wrapper/.gitkeep` (if needed for directory tracking) ## Testing - Verify Maven wrapper works locally on Linux/Mac and Windows - Test Jitpack builds with the wrapper - Ensure the specified Maven version is enforced -- 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]
