You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "kenwenzel (via GitHub)" <gi...@apache.org> on 2026/07/04 12:03:09 UTC
[I] Add Maven wrapper for Jitpack builds with Maven 3.9.0+ enforcement [karaf]
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: issues-unsubscribe@karaf.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Maven wrapper for Jitpack builds with Maven 3.9.0+ enforcement [karaf]
Posted by "kenwenzel (via GitHub)" <gi...@apache.org>.
kenwenzel commented on issue #2759:
URL: https://github.com/apache/karaf/issues/2759#issuecomment-4889757195
I close this for now until this Jitpack issue https://github.com/jitpack/jitpack.io/issues/8007 is fixed.
--
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: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add Maven wrapper for Jitpack builds with Maven 3.9.0+ enforcement [karaf]
Posted by "kenwenzel (via GitHub)" <gi...@apache.org>.
kenwenzel closed issue #2759: Add Maven wrapper for Jitpack builds with Maven 3.9.0+ enforcement
URL: https://github.com/apache/karaf/issues/2759
--
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: issues-unsubscribe@karaf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org