Re: Maven 4.0.0-rc-2 and m-install-p 4.0.0-beta-1

2025-01-23 Thread Anders Hammar
Right. I just thought that there was an exception to m-install-p (and m-deploy-p) that they needed to be v4 as there has been changes to build/consumer pom which they need to know about. That not being the case is nicely done! /Anders On Thu, Jan 23, 2025 at 8:43 PM Tamás Cservenák wrote: > htt

Re: Maven 4.0.0-rc-2 and m-install-p 4.0.0-beta-1

2025-01-23 Thread Tamás Cservenák
https://gist.github.com/cstamas/b0605a9fad09de4adcbd888baa4c This above is just to get the idea: so Maven N will support Maven Plugin N-1, or in other words, Maven 4 will fully support Maven 3 plugins (but not Maven2 plugins). T On Thu, Jan 23, 2025 at 8:15 PM Anders Hammar wrote: > > OK. I

Re: Maven 4.0.0-rc-2 and m-install-p 4.0.0-beta-1

2025-01-23 Thread Anders Hammar
OK. I incorrectly thought that I needed to use m-install-p v4 with Maven 4. I just tested with m-install-p 3.1.1 and see that it works. Thanks for clarifying! /Anders On Thu, Jan 23, 2025 at 11:35 AM Tamás Cservenák wrote: > Howdy, > > Yes, plugins are lagging, as we currently focus on core. >

Maven Extension

2025-01-23 Thread Adrian Tarau
Hello everybody, I'm building a Maven extension to change the behavior of Maven while building, to scratch an itch had had for many years now. If others have this itch and this helps with that itch, that would be even better :) An overview of the extensions, it's goals and future plans (full

Re: What is new in Maven 4?

2025-01-23 Thread Tamás Cservenák
You sneaky :) Yes, they will be able to run in parallel, but not yet, not in 4.0.x, a bit patience pls :) Thanks T On Thu, Jan 23, 2025, 15:21 Abel Salgado Romero wrote: > Congratz everyone, great job! > > I saw the slides and these 2 comments: > > * Lifecycle changed from list to tree (br

Re: What is new in Maven 4?

2025-01-23 Thread Elliotte Rusty Harold
If we're going to use something like mvn:org.apache.maven:maven-snippet:1.0 let's make sure we define the scheme with the IANA. Yes, I suppose you can use id or element pointers without going full XPath. On Thu, Jan 23, 2025 at 12:24 PM Guillaume Nodet wrote: > > The XInclude spec does not forbi

Re: What is new in Maven 4?

2025-01-23 Thread Guillaume Nodet
The XInclude spec does not forbid non local references. See https://www.w3.org/TR/xinclude/#include-location So it could definitely be something like: mvn:org.apache.maven:maven-snippet:1.0 Also, pointers are actually supported as shown by the unit tests [1]. That said, we did choose to only su

Re: What is new in Maven 4?

2025-01-23 Thread Elliotte Rusty Harold
On Thu, Jan 23, 2025 at 12:16 AM Mark Derricutt wrote: > > If the xinclude support could use some form of GAV HREF, rather than just a > local file, that might cover the basic requirements/use cases (tho some > users seem to make heavy use of plugin configuration merging over a series > of parent

Re: Maven 4.0.0-rc-2 and m-install-p 4.0.0-beta-1

2025-01-23 Thread Tamás Cservenák
Howdy, Yes, plugins are lagging, as we currently focus on core. Given it works with Maven 3 plugins as well... you can still use Maven 4 w/ Maven 3 plugins. T On Thu, Jan 23, 2025 at 10:23 AM Anders Hammar wrote: > > It seems in fact that m-install-p 4.0.0-beta-1 is incompatible with Maven > 4.

Re: Maven 4.0.0-rc-2 and m-install-p 4.0.0-beta-1

2025-01-23 Thread Anders Hammar
It seems in fact that m-install-p 4.0.0-beta-1 is incompatible with Maven 4.0.0 RCs. Using m-install-p 4.0.0-beta-2-SNAPSHOT from master seems to work though. m-install-p 4.0.0-beta-1 has a dependency to Maven 4.0.0-beta-2 and there have been some API changes since. So IMHO there is currently no e