Re: What is new in Maven 4?

2025-03-16 Thread Fred Cooke
I'd like to revive this discussion on tiles and possible alternatives. I'll say it bluntly: Maven without tiles or an equivalent is not something I want to use. And yet there's nothing else that comes close, either. I've been using Maven since 2006 (2, then 3) and tiles since 2017, intensely sinc

Re: What is new in Maven 4?

2025-03-16 Thread Mark Derricutt
Hey Fred, I’d also love to revive the discussion, as it stands sadly - it seems Tiles as a plugin is at an empass, it’s been awhile since I had a look at my branch trying to update the code to M4 (had some personal health issues, and work deadlines take me away from that tho). With Maven 4’s mov

Re: [VOTE] Release Apache Software Foundation Parent POM version 34

2025-03-16 Thread Matthias Bünger
+1 nb Am 15.03.2025 um 12:55 schrieb Slawomir Jaranowski: Hi, We solved 39 issues: https://github.com/apache/maven-apache-parent/milestone/5?closed=1 There are no issues in GitHub There are still a couple of issues left in JIRA: https://issues.apache.org/jira/issues/?jql=project%20%3D%20MPOM%

Re: What is new in Maven 4?

2025-03-16 Thread Romain Manni-Bucau
@Fred from what I recall, tile system was actually not that widely used and doesn't exactly embraces maven configuration style so it needs more effort than just copying the code if it is what you had in mind. Also I do not think we should promote more than needed such pattern which makes builds mor

Re: What is new in Maven 4?

2025-03-16 Thread Fred Cooke
You are *severely* downplaying what tiles are used for - it's not "parent duplication avoidance" it's an entirely new paradigm and when fully leveraged it leaves everything else for dead. Tiles: An app in a set of apps - one line - GAV A set of apps or an app in an environment - one line - GAV A

RE: [DISCUSS] Create Maven 4.0.x branch and switch to 4.1.0-SNAPSHOT

2025-03-16 Thread Jeremy Landis
While at it, can someone please fix the maven wrapper as its broken in all the rc candidates to download the jar. If the jar is put in place, it works fine so something in maven 4 is failing to download. There I as ticket I opened a while ago on this. The response I got on that was seen as ig

Re: [DISCUSS] Create Maven 4.0.x branch and switch to 4.1.0-SNAPSHOT

2025-03-16 Thread Elliotte Rusty Harold
-1 I don't think we're anywhere near ready to finalize 4.0. The more I look at it, the more issues I see. https://issues.apache.org/jira/browse/MNG-8537 is perhaps the most critical We also need to finish the API. Most of it right now is experimental: https://issues.apache.org/jira/browse/MNG-84

Re: What is new in Maven 4?

2025-03-16 Thread Mark Derricutt
On 17 Mar 2025 at 2:42:25 AM, Elliotte Rusty Harold wrote: > It's possible that what you're trying to achieve could be equally well > achieved by appropriate use of XInclude, though Maven's borked > namespace handling might prevent that. > XInclude *would* work - *if* it supported pulling remot

Re: What is new in Maven 4?

2025-03-16 Thread Mark Derricutt
On 17 Mar 2025 at 2:27:47 AM, Fred Cooke wrote: > Why not simply adopt the existing widely used tile system - but not require > the plugin anymore > There are many reasons for that - at least in its current incarnation (groovy based, tho I have a Java port but that also integrates some question

Re: What is new in Maven 4?

2025-03-16 Thread Elliotte Rusty Harold
Adding more features to Maven increases the complexity of Maven more than linearly., There's more to document, more to test, and most importantly more to understand for anyone trying to get a handle on Maven. It is simply not worth the additional complexity it introduces. Equally importantly, addi

Re: [VOTE] Release Apache Maven Project Parent POMs version 44

2025-03-16 Thread Matthias Bünger
+1 (nb) Am 15.03.2025 um 20:38 schrieb Slawomir Jaranowski: Hi, NOTICE: ASF Maven parent 34 from staging is required for testing. We solved 40 issues: https://github.com/apache/maven-parent/milestone/5?closed=1 There are still a couple of issues left in GitHUb https://github.com/apache/maven-

Re: What is new in Maven 4?

2025-03-16 Thread Elliotte Rusty Harold
Yes, it's too late. I share your frustration with hierarchies, and more than in just the context of build systems. There are a lot of areas in computers where hierarchies are major problems, file systems not least among them. Nonetheless, at this late date Maven and the Maven repository system are

Re: What is new in Maven 4?

2025-03-16 Thread Fred Cooke
Why not simply adopt the existing widely used tile system - but not require the plugin anymore, have a POM 4.1 or 4.2 or whatever that has a element. On Mon, 17 Mar 2025 at 01:53, Elliotte Rusty Harold wrote: > Yes, it's too late. I share your frustration with hierarchies, and > more than in ju

Re: [VOTE] Release Apache Software Foundation Parent POM version 34

2025-03-16 Thread Sylwester Lachiewicz
+1 On 2025/03/15 11:55:30 Slawomir Jaranowski wrote: > Hi, > > We solved 39 issues: > https://github.com/apache/maven-apache-parent/milestone/5?closed=1 > > There are no issues in GitHub > > There are still a couple of issues left in JIRA: > https://issues.apache.org/jira/issues/?jql=project%20

Re: [VOTE] Release Apache Maven Project Parent POMs version 44

2025-03-16 Thread Sylwester Lachiewicz
+1 On 2025/03/15 19:38:21 Slawomir Jaranowski wrote: > Hi, > > NOTICE: > ASF Maven parent 34 from staging is required for testing. > > We solved 40 issues: > https://github.com/apache/maven-parent/milestone/5?closed=1 > > There are still a couple of issues left in GitHUb > https://github.com/ap

Re: What is new in Maven 4?

2025-03-16 Thread Fred Cooke
To be clear, what you get for any given build is a normal pom - just one that was built from the merging of N partial poms - through composition - any given merged pom is exactly what it needs to be, no more, no less, and standard maven post merge. On Mon, 17 Mar 2025 at 02:50, Romain Manni-Bucau

Re: What is new in Maven 4?

2025-03-16 Thread Fred Cooke
It's composition, most builds should be simple, and with tiles the poms are always small and succinct - just one plugin def, a unique GAV, 1 or more tiles in that plugin def, and the parent to satisfy maven, but the parent is empty and contributes precisely nothing (and exactly nothing so that ever

Re: What is new in Maven 4?

2025-03-16 Thread Elliotte Rusty Harold
On Sun, Mar 16, 2025 at 1:55 PM Fred Cooke wrote: > > You are *severely* downplaying what tiles are used for - it's not "parent > duplication avoidance" it's an entirely new paradigm and when fully > leveraged it leaves everything else for dead. Thanks for summarizing why this doesn't belong in M

Re: What is new in Maven 4?

2025-03-16 Thread Gary Gregory
I've been using Maven for years in projects from tiny to hundered of modules, and I've never had a need for tiles, flagstone, or other countertops ;-) Is this related to https://tiles.apache.org/ ? Is there a tutorial I can get an idea of what this is? Ty, Gary On Sun, Mar 16, 2025, 09:55 Fred

Re: What is new in Maven 4?

2025-03-16 Thread Guillaume Nodet
There was a discussion around mixins which happened years ago. I actually implemented a POC 18 months ago: https://github.com/apache/maven/pull/1209 Coupled with XInclude, which works quite well imho, despite what some seem to indicate, I think it can already support a bunch of use cases. I'd

Re: What is new in Maven 4?

2025-03-16 Thread Guillaume Nodet
I think the correct pointer is https://github.com/repaint-io/maven-tiles Le dim. 16 mars 2025 à 16:48, Gary Gregory a écrit : > I've been using Maven for years in projects from tiny to hundered of > modules, and I've never had a need for tiles, flagstone, or other > countertops ;-) > > Is this

[DISCUSS] Create Maven 4.0.x branch and switch to 4.1.0-SNAPSHOT

2025-03-16 Thread Guillaume Nodet
I think it's time to create a branch to release Maven 4.0.0 GA in the coming weeks and switch master to 4.1.0-SNAPSHOT. Thoughts ? -- Guillaume Nodet

Re: [DISCUSS] Create Maven 4.0.x branch and switch to 4.1.0-SNAPSHOT

2025-03-16 Thread Romain Manni-Bucau
+1 Romain Manni-Bucau @rmannibucau | .NET Blog | Blog | Old Blog | Github | LinkedIn | Book <

Re: [VOTE] Release Apache Maven Project Parent POMs version 44

2025-03-16 Thread Guillaume Nodet
+1 Le sam. 15 mars 2025 à 20:40, Slawomir Jaranowski a écrit : > Hi, > > NOTICE: > ASF Maven parent 34 from staging is required for testing. > > We solved 40 issues: > https://github.com/apache/maven-parent/milestone/5?closed=1 > > There are still a couple of issues left in GitHUb > https://gith

Re: [VOTE] Release Apache Software Foundation Parent POM version 34

2025-03-16 Thread Guillaume Nodet
+1 Le sam. 15 mars 2025 à 12:56, Slawomir Jaranowski a écrit : > Hi, > > We solved 39 issues: > https://github.com/apache/maven-apache-parent/milestone/5?closed=1 > > There are no issues in GitHub > > There are still a couple of issues left in JIRA: > > https://issues.apache.org/jira/issues/?jql

Re: [DISCUSS] Create Maven 4.0.x branch and switch to 4.1.0-SNAPSHOT

2025-03-16 Thread Tamás Cservenák
Let's do it: +1 On Sun, Mar 16, 2025 at 5:37 PM Guillaume Nodet wrote: > > I think it's time to create a branch to release Maven 4.0.0 GA in the > coming weeks and switch master to 4.1.0-SNAPSHOT. > Thoughts ? > > -- > > Guillaume Nodet --

Re: [DISCUSS] Create Maven 4.0.x branch and switch to 4.1.0-SNAPSHOT

2025-03-16 Thread Sylwester Lachiewicz
Yes good idea. +1 niedz., 16 mar 2025, 20:52 użytkownik Tamás Cservenák napisał: > Let's do it: +1 > > On Sun, Mar 16, 2025 at 5:37 PM Guillaume Nodet wrote: > > > > I think it's time to create a branch to release Maven 4.0.0 GA in the > > coming weeks and switch master to 4.1.0-SNAPSHOT. > > T

Re: [DISCUSS] Create Maven 4.0.x branch and switch to 4.1.0-SNAPSHOT

2025-03-16 Thread Slawomir Jaranowski
Generally ok ... - we need first stabilize an API now I see that 4.x plugins should be changed again ... - we should also refresh plugin-tools to allow build plugins with newest API On Sun, 16 Mar 2025 at 17:37, Guillaume Nodet wrote: > > I think it's time to create a branch to release Maven 4.0

Re: What is new in Maven 4?

2025-03-16 Thread Mark Derricutt
On 17 Mar 2025 at 3:04:31 AM, Romain Manni-Bucau wrote: > And it just breaks all editors and IDE out there except the almost no more > used netbeans ;) > Does it? I guess that depends on how you use your IDE. IntelliJ still resolves dependencies fine, and that’s all I care about— anything maven

Re: What is new in Maven 4?

2025-03-16 Thread Romain Manni-Bucau
AFAIK maven 4 was intended to support it as a first citizen thanks to extension mechanism so if anything doesn't work we must enhance the maven 4 api to support it else we would have missed the v4 promotion when getting final IMHO. Romain Manni-Bucau @rmannibucau | .NET

Re: What is new in Maven 4?

2025-03-16 Thread Romain Manni-Bucau
And it just breaks all editors and IDE out there except the almost no more used netbeans ;) (it is often the limitations of such "preprocessor of build file" tools, whatever way it is done technically - embed or literally before the build). So it will be hard to convince people to use vi to do java