WIP: Update maven-jar-plugin to PR #508 snapshot#8
Draft
Conversation
Update all m4/pom.xml to use maven-jar-plugin 4.0.0-beta-2-PR508-SNAPSHOT which provides automatic JAR-per-module creation. Additional changes: - Convert example_addExports_manifest/m4/src/modmain from symlink to real directory to support MANIFEST.MF with Add-Exports and Main-Class - Add Maven 4 Migration Notes to example_addExports_manifest/README.adoc - Document resource handling in README.adoc Dependencies: - apache/maven-jar-plugin#508: Automatic JAR-per-module creation - apache/maven#11505: Module-aware resource copying 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Introduced in the course of support-and-care/maven-support-and-care#137
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
m4/pom.xmlfiles to usemaven-jar-plugin:4.0.0-beta-2-PR508-SNAPSHOTexample_addExports_manifest/m4/src/modmainfrom symlink to real directory to supportMANIFEST.MFexample_addExports_manifest/README.adocREADME.adocDependencies
Migrate from Maven Archiver to standard
jartool apache/maven-jar-plugin#508 - Automatic JAR-per-module creationMain-Classfrom module-specificMANIFEST.MFfilesAdd module-aware resource handling for modular sources apache/maven#11505 - Module-aware resource handling
src/<module>/main/resourcestarget/classes/<module>/Test plan
jartool apache/maven-jar-plugin#508 to be merged and released./jigsaw-examples/all.shto verify🤖 Generated with Claude Code