You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Robert Scholte <rf...@apache.org> on 2024/09/23 08:53:48 UTC
Most significant changes in history with every major release of Maven
Hi all,
Within 2 weeks I will do a talk with Maarten about Maven 4.
Part of that are some slides about previous major releases that should
clearly explain why it was a major release at not the next minor.
In short I came with this list:
M1 -> M2: (breaking change, migration required)
modelVersion: 3.0.0 -> 4.0.0
xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
https://maven.apache.org/xsd/maven-4.0.0.xsd
(as doc):
https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.2/mave
n.html -> https://maven.apache.org/ref/3.9.9/maven-model/maven.html
Spod: project.xml -> pom.xml
plugin: written in Jelly (=executable XML) -> written in Java
repository layout: /repository/maven/jars/maven-1.0-beta-8.jar
-> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
introduction of lifecycles
M2->M3: (migration required for reporting plugins)
Extract dependency/artifact related code to separate
independent library: Aether
Extract maven-reporting to separate independent library:
maven-reporting-api + maven-reporting-impl
Maven-reactor-plugin -> embedded
(https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
(for the end-user most changes were invisible, as they were mainly under the
hood)
Did I miss something important and are these statements correct?
Thanks,
Robert
RE: Most significant changes in history with every major release of Maven
Posted by Robert Scholte <rf...@apache.org>.
Hi Kevin,
The last couple of years these were published to https://www.youtube.com/@DevoxxForever so would expect the same for this year.
Thanks,
Robert
-----Original Message-----
From: Kévin Buntrock <ke...@gmail.com>
Sent: woensdag 25 september 2024 10:22
To: Maven Developers List <de...@maven.apache.org>
Subject: Re: Most significant changes in history with every major release of Maven
Hello Robert,
The subject piques my curiosity. Do you already know if there'll be a video available of your presentation?
Kind regards,
Kevin
Le lun. 23 sept. 2024, 21:59, Robert Scholte <rf...@apache.org> a écrit :
> I'm glad I asked the question, because this is indeed a huge and
> important change I was not aware of.
>
> Thanks,
> Robert
>
> -----Original Message-----
> From: Hervé Boutemy <he...@free.fr>
> Sent: dinsdag 24 september 2024 08:28
> To: Maven Developers List <de...@maven.apache.org>
> Subject: Re: Most significant changes in history with every major
> release of Maven
>
> wow, going back to Maven 1, old people need to refresh their memory :)
>
> summary looks ok to me, there is only one even more important change
> from Maven 1 to Maven 2: starting with Maven 2, plugins are not
> bundled any more in Maven core (Arnaud Héritier, who did the Maven 1.1
> release, remembers how choosing bundled plugins versions to not break
> every existing project was hard
> https://maven.apache.org/archives/maven-1.x/plugins/bundledHistory.htm
> l
> )
>
>
> bet wishes for your talk: I'm not sure I'll be in the room, sadly
>
> Regards,
>
> Hervé
>
> Le lundi 23 septembre 2024, 10:53:48 CEST Robert Scholte a écrit :
> > Hi all,
> >
> >
> >
> > Within 2 weeks I will do a talk with Maarten about Maven 4.
> >
> > Part of that are some slides about previous major releases that
> > should clearly explain why it was a major release at not the next minor.
> >
> >
> >
> > In short I came with this list:
> >
> >
> >
> > M1 -> M2: (breaking change, migration required)
> >
> > modelVersion: 3.0.0 -> 4.0.0
> >
> > xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> > https://maven.apache.org/xsd/maven-4.0.0.xsd
> >
> > (as doc):
> > https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.
> > 2/mave n.html ->
> > https://maven.apache.org/ref/3.9.9/maven-model/maven.html
> >
> > Spod: project.xml -> pom.xml
> >
> > plugin: written in Jelly (=executable XML) -> written
> > in Java
> >
> > repository layout:
> > /repository/maven/jars/maven-1.0-beta-8.jar
> > -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.ja
> > -> r
> >
> > introduction of lifecycles
> >
> > M2->M3: (migration required for reporting plugins)
> >
> > Extract dependency/artifact related code to separate
> > independent library: Aether
> >
> > Extract maven-reporting to separate independent library:
> > maven-reporting-api + maven-reporting-impl
> >
> > Maven-reactor-plugin -> embedded
> > (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
> >
> > (for the end-user most changes were invisible, as they were mainly
> > under the
> > hood)
> >
> >
> >
> > Did I miss something important and are these statements correct?
> >
> >
> >
> > Thanks,
> >
> > Robert
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For
> additional commands, e-mail: dev-help@maven.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For
> additional commands, e-mail: dev-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Most significant changes in history with every major release of Maven
Posted by Kévin Buntrock <ke...@gmail.com>.
Hello Robert,
The subject piques my curiosity. Do you already know if there'll be a video
available of your presentation?
Kind regards,
Kevin
Le lun. 23 sept. 2024, 21:59, Robert Scholte <rf...@apache.org> a
écrit :
> I'm glad I asked the question, because this is indeed a huge and important
> change I was not aware of.
>
> Thanks,
> Robert
>
> -----Original Message-----
> From: Hervé Boutemy <he...@free.fr>
> Sent: dinsdag 24 september 2024 08:28
> To: Maven Developers List <de...@maven.apache.org>
> Subject: Re: Most significant changes in history with every major release
> of
> Maven
>
> wow, going back to Maven 1, old people need to refresh their memory :)
>
> summary looks ok to me, there is only one even more important change from
> Maven 1 to Maven 2: starting with Maven 2, plugins are not bundled any more
> in Maven core (Arnaud Héritier, who did the Maven 1.1 release, remembers
> how
> choosing bundled plugins versions to not break every existing project was
> hard
> https://maven.apache.org/archives/maven-1.x/plugins/bundledHistory.html
> )
>
>
> bet wishes for your talk: I'm not sure I'll be in the room, sadly
>
> Regards,
>
> Hervé
>
> Le lundi 23 septembre 2024, 10:53:48 CEST Robert Scholte a écrit :
> > Hi all,
> >
> >
> >
> > Within 2 weeks I will do a talk with Maarten about Maven 4.
> >
> > Part of that are some slides about previous major releases that should
> > clearly explain why it was a major release at not the next minor.
> >
> >
> >
> > In short I came with this list:
> >
> >
> >
> > M1 -> M2: (breaking change, migration required)
> >
> > modelVersion: 3.0.0 -> 4.0.0
> >
> > xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> > https://maven.apache.org/xsd/maven-4.0.0.xsd
> >
> > (as doc):
> > https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.
> > 2/mave n.html ->
> > https://maven.apache.org/ref/3.9.9/maven-model/maven.html
> >
> > Spod: project.xml -> pom.xml
> >
> > plugin: written in Jelly (=executable XML) -> written in
> > Java
> >
> > repository layout:
> > /repository/maven/jars/maven-1.0-beta-8.jar
> > -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
> >
> > introduction of lifecycles
> >
> > M2->M3: (migration required for reporting plugins)
> >
> > Extract dependency/artifact related code to separate
> > independent library: Aether
> >
> > Extract maven-reporting to separate independent library:
> > maven-reporting-api + maven-reporting-impl
> >
> > Maven-reactor-plugin -> embedded
> > (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
> >
> > (for the end-user most changes were invisible, as they were mainly
> > under the
> > hood)
> >
> >
> >
> > Did I miss something important and are these statements correct?
> >
> >
> >
> > Thanks,
> >
> > Robert
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional
> commands, e-mail: dev-help@maven.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
RE: Most significant changes in history with every major release of Maven
Posted by Robert Scholte <rf...@apache.org>.
I'm glad I asked the question, because this is indeed a huge and important
change I was not aware of.
Thanks,
Robert
-----Original Message-----
From: Hervé Boutemy <he...@free.fr>
Sent: dinsdag 24 september 2024 08:28
To: Maven Developers List <de...@maven.apache.org>
Subject: Re: Most significant changes in history with every major release of
Maven
wow, going back to Maven 1, old people need to refresh their memory :)
summary looks ok to me, there is only one even more important change from
Maven 1 to Maven 2: starting with Maven 2, plugins are not bundled any more
in Maven core (Arnaud Héritier, who did the Maven 1.1 release, remembers how
choosing bundled plugins versions to not break every existing project was
hard https://maven.apache.org/archives/maven-1.x/plugins/bundledHistory.html
)
bet wishes for your talk: I'm not sure I'll be in the room, sadly
Regards,
Hervé
Le lundi 23 septembre 2024, 10:53:48 CEST Robert Scholte a écrit :
> Hi all,
>
>
>
> Within 2 weeks I will do a talk with Maarten about Maven 4.
>
> Part of that are some slides about previous major releases that should
> clearly explain why it was a major release at not the next minor.
>
>
>
> In short I came with this list:
>
>
>
> M1 -> M2: (breaking change, migration required)
>
> modelVersion: 3.0.0 -> 4.0.0
>
> xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> https://maven.apache.org/xsd/maven-4.0.0.xsd
>
> (as doc):
> https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.
> 2/mave n.html ->
> https://maven.apache.org/ref/3.9.9/maven-model/maven.html
>
> Spod: project.xml -> pom.xml
>
> plugin: written in Jelly (=executable XML) -> written in
> Java
>
> repository layout:
> /repository/maven/jars/maven-1.0-beta-8.jar
> -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
>
> introduction of lifecycles
>
> M2->M3: (migration required for reporting plugins)
>
> Extract dependency/artifact related code to separate
> independent library: Aether
>
> Extract maven-reporting to separate independent library:
> maven-reporting-api + maven-reporting-impl
>
> Maven-reactor-plugin -> embedded
> (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
>
> (for the end-user most changes were invisible, as they were mainly
> under the
> hood)
>
>
>
> Did I miss something important and are these statements correct?
>
>
>
> Thanks,
>
> Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional
commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Most significant changes in history with every major release of Maven
Posted by Hervé Boutemy <he...@free.fr>.
wow, going back to Maven 1, old people need to refresh their memory :)
summary looks ok to me, there is only one even more important change from
Maven 1 to Maven 2: starting with Maven 2, plugins are not bundled any more in
Maven core
(Arnaud Héritier, who did the Maven 1.1 release, remembers how choosing
bundled plugins versions to not break every existing project was hard
https://maven.apache.org/archives/maven-1.x/plugins/bundledHistory.html )
bet wishes for your talk: I'm not sure I'll be in the room, sadly
Regards,
Hervé
Le lundi 23 septembre 2024, 10:53:48 CEST Robert Scholte a écrit :
> Hi all,
>
>
>
> Within 2 weeks I will do a talk with Maarten about Maven 4.
>
> Part of that are some slides about previous major releases that should
> clearly explain why it was a major release at not the next minor.
>
>
>
> In short I came with this list:
>
>
>
> M1 -> M2: (breaking change, migration required)
>
> modelVersion: 3.0.0 -> 4.0.0
>
> xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> https://maven.apache.org/xsd/maven-4.0.0.xsd
>
> (as doc):
> https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.2/mave
> n.html -> https://maven.apache.org/ref/3.9.9/maven-model/maven.html
>
> Spod: project.xml -> pom.xml
>
> plugin: written in Jelly (=executable XML) -> written in Java
>
> repository layout: /repository/maven/jars/maven-1.0-beta-8.jar
> -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
>
> introduction of lifecycles
>
> M2->M3: (migration required for reporting plugins)
>
> Extract dependency/artifact related code to separate
> independent library: Aether
>
> Extract maven-reporting to separate independent library:
> maven-reporting-api + maven-reporting-impl
>
> Maven-reactor-plugin -> embedded
> (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
>
> (for the end-user most changes were invisible, as they were mainly under the
> hood)
>
>
>
> Did I miss something important and are these statements correct?
>
>
>
> Thanks,
>
> Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Most significant changes in history with every major release of Maven
Posted by Kévin Buntrock <ke...@gmail.com>.
Thank you Robert,
I'll carefully monitor this channel after your talk. :)
Kind regards,
Kevin
Le mer. 25 sept. 2024, 10:04, Tamás Cservenák <ta...@cservenak.net> a
écrit :
> Howdy,
>
> This page but this table particularly may be of help
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181305684#MavenEcosystemCleanup-ResolverandMaven
>
> T
>
> On Wed, Sep 25, 2024 at 9:53 PM Robert Scholte <rf...@apache.org>
> wrote:
>
> > Hi Benjamin,
> >
> > I'm especially interested in the previous major bumps, not the current
> one.
> > For Maven 4 we have 3 hours to go into the details.
> >
> > We will mention the new Java Runtime version requirement, but I consider
> > that a change that lifts upon the real majors.
> > During both Maven2 and Maven3 the Java runtime version requirement has
> > increased.
> > In general that was not a real issue as it was a push to the latest EOL
> > version.
> >
> > Thanks,
> > Robert
> >
> > -----Original Message-----
> > From: Benjamin Marwell <bm...@apache.org>
> > Sent: woensdag 25 september 2024 21:04
> > To: Maven Developers List <de...@maven.apache.org>
> > Subject: Re: Most significant changes in history with every major release
> > of Maven
> >
> > I think skipping 9 Java versions between Maven 3 and 4 is a big deal and
> > has never happened before 😁
> >
> > Java 17 will be required for Maven 4.
> >
> > Also Maven 4: extensions where you can use pom.conf or pom.yml etc.
> >
> > On Mon, 23 Sept 2024, 10:53 Robert Scholte, <rf...@apache.org>
> wrote:
> >
> > > Hi all,
> > >
> > >
> > >
> > > Within 2 weeks I will do a talk with Maarten about Maven 4.
> > >
> > > Part of that are some slides about previous major releases that should
> > > clearly explain why it was a major release at not the next minor.
> > >
> > >
> > >
> > > In short I came with this list:
> > >
> > >
> > >
> > > M1 -> M2: (breaking change, migration required)
> > >
> > > modelVersion: 3.0.0 -> 4.0.0
> > >
> > > xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> > > https://maven.apache.org/xsd/maven-4.0.0.xsd
> > >
> > > (as doc):
> > >
> > > https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.
> > > 2/mave
> > > n.html
> > > <https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0
> > > .2/maven.html>
> > > -> https://maven.apache.org/ref/3.9.9/maven-model/maven.html
> > >
> > > Spod: project.xml -> pom.xml
> > >
> > > plugin: written in Jelly (=executable XML) -> written in
> > > Java
> > >
> > > repository layout:
> > > /repository/maven/jars/maven-1.0-beta-8.jar
> > > -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
> > >
> > > introduction of lifecycles
> > >
> > > M2->M3: (migration required for reporting plugins)
> > >
> > > Extract dependency/artifact related code to separate
> > > independent library: Aether
> > >
> > > Extract maven-reporting to separate independent library:
> > > maven-reporting-api + maven-reporting-impl
> > >
> > > Maven-reactor-plugin -> embedded
> > > (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
> > >
> > > (for the end-user most changes were invisible, as they were mainly
> > > under the
> > > hood)
> > >
> > >
> > >
> > > Did I miss something important and are these statements correct?
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Robert
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
Re: Most significant changes in history with every major release of Maven
Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,
This page but this table particularly may be of help
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181305684#MavenEcosystemCleanup-ResolverandMaven
T
On Wed, Sep 25, 2024 at 9:53 PM Robert Scholte <rf...@apache.org> wrote:
> Hi Benjamin,
>
> I'm especially interested in the previous major bumps, not the current one.
> For Maven 4 we have 3 hours to go into the details.
>
> We will mention the new Java Runtime version requirement, but I consider
> that a change that lifts upon the real majors.
> During both Maven2 and Maven3 the Java runtime version requirement has
> increased.
> In general that was not a real issue as it was a push to the latest EOL
> version.
>
> Thanks,
> Robert
>
> -----Original Message-----
> From: Benjamin Marwell <bm...@apache.org>
> Sent: woensdag 25 september 2024 21:04
> To: Maven Developers List <de...@maven.apache.org>
> Subject: Re: Most significant changes in history with every major release
> of Maven
>
> I think skipping 9 Java versions between Maven 3 and 4 is a big deal and
> has never happened before 😁
>
> Java 17 will be required for Maven 4.
>
> Also Maven 4: extensions where you can use pom.conf or pom.yml etc.
>
> On Mon, 23 Sept 2024, 10:53 Robert Scholte, <rf...@apache.org> wrote:
>
> > Hi all,
> >
> >
> >
> > Within 2 weeks I will do a talk with Maarten about Maven 4.
> >
> > Part of that are some slides about previous major releases that should
> > clearly explain why it was a major release at not the next minor.
> >
> >
> >
> > In short I came with this list:
> >
> >
> >
> > M1 -> M2: (breaking change, migration required)
> >
> > modelVersion: 3.0.0 -> 4.0.0
> >
> > xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> > https://maven.apache.org/xsd/maven-4.0.0.xsd
> >
> > (as doc):
> >
> > https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.
> > 2/mave
> > n.html
> > <https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0
> > .2/maven.html>
> > -> https://maven.apache.org/ref/3.9.9/maven-model/maven.html
> >
> > Spod: project.xml -> pom.xml
> >
> > plugin: written in Jelly (=executable XML) -> written in
> > Java
> >
> > repository layout:
> > /repository/maven/jars/maven-1.0-beta-8.jar
> > -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
> >
> > introduction of lifecycles
> >
> > M2->M3: (migration required for reporting plugins)
> >
> > Extract dependency/artifact related code to separate
> > independent library: Aether
> >
> > Extract maven-reporting to separate independent library:
> > maven-reporting-api + maven-reporting-impl
> >
> > Maven-reactor-plugin -> embedded
> > (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
> >
> > (for the end-user most changes were invisible, as they were mainly
> > under the
> > hood)
> >
> >
> >
> > Did I miss something important and are these statements correct?
> >
> >
> >
> > Thanks,
> >
> > Robert
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
RE: Most significant changes in history with every major release of Maven
Posted by Robert Scholte <rf...@apache.org>.
Hi Benjamin,
I'm especially interested in the previous major bumps, not the current one.
For Maven 4 we have 3 hours to go into the details.
We will mention the new Java Runtime version requirement, but I consider that a change that lifts upon the real majors.
During both Maven2 and Maven3 the Java runtime version requirement has increased.
In general that was not a real issue as it was a push to the latest EOL version.
Thanks,
Robert
-----Original Message-----
From: Benjamin Marwell <bm...@apache.org>
Sent: woensdag 25 september 2024 21:04
To: Maven Developers List <de...@maven.apache.org>
Subject: Re: Most significant changes in history with every major release of Maven
I think skipping 9 Java versions between Maven 3 and 4 is a big deal and has never happened before 😁
Java 17 will be required for Maven 4.
Also Maven 4: extensions where you can use pom.conf or pom.yml etc.
On Mon, 23 Sept 2024, 10:53 Robert Scholte, <rf...@apache.org> wrote:
> Hi all,
>
>
>
> Within 2 weeks I will do a talk with Maarten about Maven 4.
>
> Part of that are some slides about previous major releases that should
> clearly explain why it was a major release at not the next minor.
>
>
>
> In short I came with this list:
>
>
>
> M1 -> M2: (breaking change, migration required)
>
> modelVersion: 3.0.0 -> 4.0.0
>
> xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> https://maven.apache.org/xsd/maven-4.0.0.xsd
>
> (as doc):
>
> https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.
> 2/mave
> n.html
> <https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0
> .2/maven.html>
> -> https://maven.apache.org/ref/3.9.9/maven-model/maven.html
>
> Spod: project.xml -> pom.xml
>
> plugin: written in Jelly (=executable XML) -> written in
> Java
>
> repository layout:
> /repository/maven/jars/maven-1.0-beta-8.jar
> -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
>
> introduction of lifecycles
>
> M2->M3: (migration required for reporting plugins)
>
> Extract dependency/artifact related code to separate
> independent library: Aether
>
> Extract maven-reporting to separate independent library:
> maven-reporting-api + maven-reporting-impl
>
> Maven-reactor-plugin -> embedded
> (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
>
> (for the end-user most changes were invisible, as they were mainly
> under the
> hood)
>
>
>
> Did I miss something important and are these statements correct?
>
>
>
> Thanks,
>
> Robert
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Most significant changes in history with every major release of Maven
Posted by Benjamin Marwell <bm...@apache.org>.
I think skipping 9 Java versions between Maven 3 and 4 is a big deal and
has never happened before 😁
Java 17 will be required for Maven 4.
Also Maven 4: extensions where you can use pom.conf or pom.yml etc.
On Mon, 23 Sept 2024, 10:53 Robert Scholte, <rf...@apache.org> wrote:
> Hi all,
>
>
>
> Within 2 weeks I will do a talk with Maarten about Maven 4.
>
> Part of that are some slides about previous major releases that should
> clearly explain why it was a major release at not the next minor.
>
>
>
> In short I came with this list:
>
>
>
> M1 -> M2: (breaking change, migration required)
>
> modelVersion: 3.0.0 -> 4.0.0
>
> xsd: https://maven.apache.org/xsd/maven-v3_0_0.xsd ->
> https://maven.apache.org/xsd/maven-4.0.0.xsd
>
> (as doc):
>
> https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.2/mave
> n.html
> <https://maven.apache.org/archives/maven-1.x/reference/maven-model/3.0.2/maven.html>
> -> https://maven.apache.org/ref/3.9.9/maven-model/maven.html
>
> Spod: project.xml -> pom.xml
>
> plugin: written in Jelly (=executable XML) -> written in Java
>
> repository layout:
> /repository/maven/jars/maven-1.0-beta-8.jar
> -> /repository/org/apache/maven/maven-core/2.2.1/maven-core-2.2.1.jar
>
> introduction of lifecycles
>
> M2->M3: (migration required for reporting plugins)
>
> Extract dependency/artifact related code to separate
> independent library: Aether
>
> Extract maven-reporting to separate independent library:
> maven-reporting-api + maven-reporting-impl
>
> Maven-reactor-plugin -> embedded
> (https://maven.apache.org/plugins/maven-reactor-plugin/index.html)
>
> (for the end-user most changes were invisible, as they were mainly under
> the
> hood)
>
>
>
> Did I miss something important and are these statements correct?
>
>
>
> Thanks,
>
> Robert
>
>