Le 2025-05-15 à 19 h 54, Andy Law a écrit :

Or maybe go the whole hog and define a new <packaging> type specifically for jpms and just use the standard layouts underneath that?

Does "standard layouts" means "layout defined by the javac man page"? If yes, the default layout is just "src/${module}", with no scope and no "language". Oracle does not tell us how we should separate the main code from the test, but gives us the flexibility that we need for using the pattern of our choice with a "module pattern form":

https://docs.oracle.com/en/java/javase/24/docs/specs/man/javac.html#module-pattern-form

Therefore, some decision on our side is still needed. The only mandatory part is "${module}". The other parts can be put where we want. So we still need to decide between the different proposals.

    Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to