I confess that I was using “standard” in the context of what I understand to be 
the _Maven_ standard, since this is the Maven developers list

I apologise for not being clearer.

Later,

Andy

From: Martin Desruisseaux <martin.desruisse...@geomatys.com>
Date: Thursday, 15 May 2025 at 19:24
To: dev@maven.apache.org <dev@maven.apache.org>
Subject: Re: Proposal: new default directory layout for modular project
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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.oracle.com%2Fen%2Fjava%2Fjavase%2F24%2Fdocs%2Fspecs%2Fman%2Fjavac.html%23module-pattern-form&data=05%7C02%7C%7C8ec6d75003bd4511e7c008dd93ddc765%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829302931008723%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=qMF%2FAmG5P8m4vvyrVu6V737Y70DFyHRRx9gAxEROz5E%3D&reserved=0<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
The University of Edinburgh is a charitable body, registered in Scotland, with 
registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh 
Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.

Reply via email to