Skip to content

Conversation

@ascheman
Copy link

Summary

  • Update all m4/pom.xml files to use maven-jar-plugin:4.0.0-beta-2-PR508-SNAPSHOT
  • Convert example_addExports_manifest/m4/src/modmain from symlink to real directory to support MANIFEST.MF
  • Add Maven 4 Migration Notes to example_addExports_manifest/README.adoc
  • Document resource handling requirements in main README.adoc

Dependencies

⚠️ This PR cannot be merged until the following PRs are merged and released:

  1. Migrate from Maven Archiver to standard jar tool apache/maven-jar-plugin#508 - Automatic JAR-per-module creation

    • Creates individual JARs for each module in modular Maven 4 projects
    • Reads Main-Class from module-specific MANIFEST.MF files
  2. Add module-aware resource handling for modular sources apache/maven#11505 - Module-aware resource handling

    • Automatically discovers resources from src/<module>/main/resources
    • Copies them to target/classes/<module>/

Test plan

🤖 Generated with Claude Code

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants