Thank you for the wonderful reference and summary, Daniel!
While I'm parsing the information along with all its references, indeed
it seems a well-known path. I'm glad people have taken it to that great
extent, and have provided guidelines and solutions to newcomers like me.
– Stanimir
I can't figure out what's the best practice or just proper way for
setting up a JPMS Maven project with test sources that have additional
Java SE module dependencies to those of the main sources.
I have the following basic project structure:
pom.xml
src/
├─ main/
│ └─ java/
You are traveling a well-known path to many of us.
I highly recommend taking a look at junit-platform-maven-plugin:
https://github.com/sormuras/junit-platform-maven-plugin
Blog post outlining how to do what you'e doing is here: