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

Later,

Andy

From: Romain Manni-Bucau <rmannibu...@gmail.com>
Date: Thursday, 15 May 2025 at 18:42
To: Maven Developers List <dev@maven.apache.org>
Subject: Re: Proposal: new default directory layout for modular project
I still fail why you need to not respect current maven layout, you are
allowed to enhance plugins to be inter maven modules if you want - tycho
does it for years - and it would be more natural for maven land IMHO and
enables JPMS for the few willing to use this mode, no?

Romain Manni-Bucau
@rmannibucau 
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fx.com%2Frmannibucau&data=05%7C02%7C%7C046d131fe81e4bc78cb408dd93d790fd%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829277563652769%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=HhamJEvgjpOS8%2B4X4DOw2QxIWOKP3T%2FH6bk23JZY%2F5c%3D&reserved=0<https://x.com/rmannibucau>>
 | .NET Blog
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdotnetbirdie.github.io%2F&data=05%7C02%7C%7C046d131fe81e4bc78cb408dd93d790fd%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829277563678696%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=%2FAmHOAbzjq3saVKED8UFt1N9IpXjPoP%2Bb6GSDt61o0w%3D&reserved=0<https://dotnetbirdie.github.io/>>
 | Blog 
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Frmannibucau.github.io%2F&data=05%7C02%7C%7C046d131fe81e4bc78cb408dd93d790fd%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829277563693426%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=k1Lr8evu69WyQiBtyRFR3YvFnlu%2BQk3pvD%2Ft6SYpL%2FI%3D&reserved=0<https://rmannibucau.github.io/>>
 | Old
Blog 
<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Frmannibucau.wordpress.com%2F&data=05%7C02%7C%7C046d131fe81e4bc78cb408dd93d790fd%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829277563707585%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=YX3TJPWfqIH3vvXS9EuvSJIhfw8AkGkNPUOOm1Ym1E4%3D&reserved=0<http://rmannibucau.wordpress.com/>>
 | Github
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frmannibucau&data=05%7C02%7C%7C046d131fe81e4bc78cb408dd93d790fd%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829277563720858%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=ZYMA1pWlVenKgAAWY86YziIcB%2BqJzcKpdrXSBfMgrak%3D&reserved=0<https://github.com/rmannibucau>>
 | LinkedIn
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Frmannibucau&data=05%7C02%7C%7C046d131fe81e4bc78cb408dd93d790fd%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829277563735038%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=2Sx%2BdpLRRBfq862ejiPjaIKD7RBm%2FAxL4tqH1IANy%2Bg%3D&reserved=0<https://www.linkedin.com/in/rmannibucau>>
 | Book
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.packtpub.com%2Fen-us%2Fproduct%2Fjava-ee-8-high-performance-9781788473064&data=05%7C02%7C%7C046d131fe81e4bc78cb408dd93d790fd%7C2e9f06b016694589878910a06934dc61%7C0%7C0%7C638829277563747972%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C80000%7C%7C%7C&sdata=Fgw3%2Fr5hOKttd5O0tMJIqpuRBLVoEe3k9LOnjtFxnms%3D&reserved=0<https://www.packtpub.com/en-us/product/java-ee-8-high-performance-9781788473064>>


Le jeu. 15 mai 2025 à 19:23, Martin Desruisseaux <
martin.desruisse...@geomatys.com> a écrit :

> Le 2025-05-15 à 19 h 03, Andy Law a écrit :
> >
> > I don’t understand why this is so different from an aggregated
> > project, with ${module} above src, but I may be missing the point
> > because I’ve not spent any time thinking about JPMS yet.
> >
> Because it enables compile-time verification that the compiler can't do
> in an aggregated project. Also because it simplifies aggregated Javadoc
> for example. On a maybe more minor note, it is also makes the build
> faster (compiling 10 modules in a single javac call is faster than
> invoking javac 10 times, especially if javac needs to reload many of the
> same dependencies each time).
>
>
> > You’re going to give me headaches navigating if you put ${module}
> > anywhere below either ${scope} or ${lang} though. Conceptually (to
> > me), a module contains scopes and “languages”.
> >
> Yes, I agree that module contains at least scope. I also admit that not
> containing "languages" may cause more problems (in Maven context) than
> the problem that it tries to solve. This give us proposal 1:
>
>     src/${module}/${scope}/${lang}
>
> Martin
>
>
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