Yes, but I still think that there’s no need for this because that edge case 
could be handled by treating that multi-module JPMS project as a variation on 
the current multi-module aggregation

Later,

Andy

From: Guillaume Nodet <gno...@apache.org>
Date: Friday, 16 May 2025 at 13:53
To: Maven Developers List <dev@maven.apache.org>
Subject: Re: Proposal: new default directory layout for modular project
I hope you guys did understand that we're talking only about JPMS modules
and only when a give (sub-)project contains more than one JPMS module:

https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmaven.apache.org%2Fref%2F4.0.0-rc-3%2Fapidocs%2Forg%2Fapache%2Fmaven%2Fapi%2Fmodel%2FSource.html%23getModule&data=05%7C02%7C%7C9a3b07026b7d4344e76808dd9478a6f0%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829968132639245%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=T%2Fri55jBDhEwCgmfgG7I0clc%2BwmP59nIJMlhY3g%2BVQk%3D&reserved=0()<https://maven.apache.org/ref/4.0.0-rc-3/apidocs/org/apache/maven/api/model/Source.html#getModule>

Le ven. 16 mai 2025 à 14:28, Andy Law <andy....@roslin.ed.ac.uk> a écrit :

> From: Romain Manni-Bucau <rmannibu...@gmail.com>
> Date: Friday, 16 May 2025 at 08:10
> To: Maven Developers List <dev@maven.apache.org>
> Subject: Re: Proposal: new default directory layout for modular project
> The most natural way is to do parent/moduleX/src/main/java (and siblings)
> and handle the compiler plugin in parent to be jpms specific, no technical
> blocker, no maven core change needed.
>
>
> This (^^) just seems so natural, I can’t believe that there is any
> discussion about doing it any other way.
>
> And I still don’t understand what the <module> sub-element of the <source>
> tag is actually for.
>
> Later,
>
> Andy
>
> 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.
>


--
------------------------
Guillaume Nodet

Reply via email to