THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- a maven4 plugin (uses NEW Maven4 API!) just to show what plugin sees (it merely dumps out flags), example output: https://gist.github.com/cstamas/2831be5e56e330e14f29934867a16dd3
- a modular project api, impl and far fat (api=slf4j-api, impl=slf4j-simple sources, fat=api+impl), where fat produces a "squashed module" out of api and impl, so 3 artifacts are being built w/ new "module" packaging
- a modular consumer project that showcases consumption of these
The experimental build project (buildable with modified maven ONLY) is here: https://github.com/cstamas/maven4-jpms-experiment/tree/main
Note: the experimental build project contains a "hack" for IDEA IDE: when you load it up, enable "idea" profile, and IDE will work for you. Still, on CLI you will get what you expect to get.
Ideas/TODOs
- I'd rename JPMS related types to "jpms-module" instead, as we may want to get in "play' OSGi as well?
Related documents:
- gist listing needed artifact types and packaging https://gist.github.com/cstamas/4e9bcbef25ce912a90ad1e127b0c5db8