You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Slawomir Jaranowski <s....@gmail.com> on 2025/08/10 12:48:46 UTC

[DISCUSSION] Minimal maven version for ASF Maven plugins

Hi,

Currently we have set a Maven version 3.6.3 as minimal version for ASF
Maven plugins
https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html

As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...

What do you think to set 3.9.0 as prerequisites/maven as default for:
https://maven.apache.org/plugins/index.html

- we can reduce jobs on CI to only 3.9.x and 4.x
- we can open a way to clean up code ...

-- 
Sławomir Jaranowski

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Sylwester Lachiewicz <sl...@gmail.com>.
I also think it will be good move - to set it to our latest 3.8.x version.

We still have few plugins without 3.6.3 set as minimum - to me we can jump
with those also directly to 3.8 as this is also version with Java 7 as
minimum.

Sylwester

niedz., 10 sie 2025, 18:20 użytkownik Michael Osipov <mi...@apache.org>
napisał:

> -1
>
> I agree with elharo@. We have just announced it. A raise can happen when
> 3.8.x will disappear from dist.
>
> On 2025/08/10 12:48:46 Slawomir Jaranowski wrote:
> > Hi,
> >
> > Currently we have set a Maven version 3.6.3 as minimal version for ASF
> > Maven plugins
> >
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
> >
> > As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
> >
> > What do you think to set 3.9.0 as prerequisites/maven as default for:
> > https://maven.apache.org/plugins/index.html
> >
> > - we can reduce jobs on CI to only 3.9.x and 4.x
> > - we can open a way to clean up code ...
> >
> > --
> > Sławomir Jaranowski
> >
> > ---------------------------------------------------------------------
> > 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Michael Osipov <mi...@apache.org>.
-1

I agree with elharo@. We have just announced it. A raise can happen when 3.8.x will disappear from dist.

On 2025/08/10 12:48:46 Slawomir Jaranowski wrote:
> Hi,
> 
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
> 
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
> 
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
> 
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
> 
> -- 
> Sławomir Jaranowski
> 
> ---------------------------------------------------------------------
> 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Elliotte Rusty Harold <el...@ibiblio.org>.
-1

Too many organizations and distros don't upgrade that fast. Maven 3.8
would be safer for now.

On Sun, Aug 10, 2025 at 12:49 PM Slawomir Jaranowski
<s....@gmail.com> wrote:
>
> Hi,
>
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
>
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
>
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
>
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
>
> --
> Sławomir Jaranowski
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>


-- 
Elliotte Rusty Harold
elharo@ibiblio.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Mirko Friedenhagen <mf...@gmx.de.INVALID>.
Sounds to me, the project should use Maven-wrapper Thema as well.
Mit freundlichen Grüßen
Mirko Friedenhagen
— 
Sent from my mobile

> Am 14.08.2025 um 11:23 schrieb Elliotte Rusty Harold <el...@ibiblio.org>:
> 
> On Thu, Aug 14, 2025 at 7:51 AM Mirko Friedenhagen
> <mf...@gmx.de.invalid> wrote:
>> 
>> +1 for 3.9
>> 
>> To the argument that "some organizations still use 3.6 or 3.8“: are these organizations which will update their plugin versions anyways?
>> 
> 
> Yes, absolutely they are. There is a big difference between what's
> installed in the bash $PATH and what's specified in a project's
> pom.xml. They are not at all the same thing. You can't upgrade the
> version of Maven you get when you run `mvn package` by editing one
> line in a pom.xml.
> 
> --
> Elliotte Rusty Harold
> elharo@ibiblio.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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Tamás Cservenák <ta...@cservenak.net>.
In my experience it is totally the opposite: "no, absolutely they are not".
Entities Eliotte talks about are usually commercial entities (corps)
and are usually big ones.
Hence, they follow that mantra of "don't touch it if it's not broken".
They even run Maven Core 2.x plugins many times, as I see.
And usually we have zero (read: 0) feedback and contribution getting
back from them.

Contrast that to other "lively" modern (OSS or not) projects that do
keep their builds up to date.
From there, we sometimes even get contributions back, but most
importantly we ALWAYS get back valuable feedback (bug reports, etc).

And you can upgrade the wrapper whenever you want, only if you want or
care about it.

My 5 cents.

T

On Thu, Aug 14, 2025 at 11:23 AM Elliotte Rusty Harold
<el...@ibiblio.org> wrote:
>
> On Thu, Aug 14, 2025 at 7:51 AM Mirko Friedenhagen
> <mf...@gmx.de.invalid> wrote:
> >
> > +1 for 3.9
> >
> > To the argument that "some organizations still use 3.6 or 3.8“: are these organizations which will update their plugin versions anyways?
> >
>
> Yes, absolutely they are. There is a big difference between what's
> installed in the bash $PATH and what's specified in a project's
> pom.xml. They are not at all the same thing. You can't upgrade the
> version of Maven you get when you run `mvn package` by editing one
> line in a pom.xml.
>
> --
> Elliotte Rusty Harold
> elharo@ibiblio.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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Elliotte Rusty Harold <el...@ibiblio.org>.
On Thu, Aug 14, 2025 at 7:51 AM Mirko Friedenhagen
<mf...@gmx.de.invalid> wrote:
>
> +1 for 3.9
>
> To the argument that "some organizations still use 3.6 or 3.8“: are these organizations which will update their plugin versions anyways?
>

Yes, absolutely they are. There is a big difference between what's
installed in the bash $PATH and what's specified in a project's
pom.xml. They are not at all the same thing. You can't upgrade the
version of Maven you get when you run `mvn package` by editing one
line in a pom.xml.

-- 
Elliotte Rusty Harold
elharo@ibiblio.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Mirko Friedenhagen <mf...@gmx.de.INVALID>.
+1 for 3.9

To the argument that "some organizations still use 3.6 or 3.8“: are these organizations which will update their plugin versions anyways?

Mit freundlichen Grüßen
Mirko Friedenhagen
— 


> Am 10.08.2025 um 14:48 schrieb Slawomir Jaranowski <s....@gmail.com>:
> 
> Hi,
> 
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
> 
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
> 
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
> 
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
> 
> -- 
> Sławomir Jaranowski
> 
> ---------------------------------------------------------------------
> 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Sergey Chernov <se...@gmail.com>.
+1

> On 10 Aug 2025, at 14:48, Slawomir Jaranowski <s....@gmail.com> wrote:
> 
> Hi,
> 
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
> 
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
> 
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
> 
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
> 
> -- 
> Sławomir Jaranowski
> 
> ---------------------------------------------------------------------
> 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Slawomir Jaranowski <s....@gmail.com>.
Ok, I see that many votes for 3.8, so roll with it

On Sun, 10 Aug 2025 at 14:48, Slawomir Jaranowski
<s....@gmail.com> wrote:
>
> Hi,
>
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
>
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
>
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
>
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
>
> --
> Sławomir Jaranowski



-- 
Sławomir Jaranowski

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Matthias Bünger <mb...@apache.org>.
+1 (nb)

Am 10.08.2025 um 14:48 schrieb Slawomir Jaranowski:
> Hi,
>
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
>
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
>
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
>
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Tamás Cservenák <ta...@cservenak.net>.
+1


On Sun, Aug 10, 2025 at 2:49 PM Slawomir Jaranowski
<s....@gmail.com> wrote:
>
> Hi,
>
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
>
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
>
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
>
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
>
> --
> Sławomir Jaranowski
>
> ---------------------------------------------------------------------
> 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Konrad Windszus <kw...@apache.org>.
+1 for raising to 3.9.
Konrad

> On 10. Aug 2025, at 14:48, Slawomir Jaranowski <s....@gmail.com> wrote:
> 
> Hi,
> 
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
> 
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
> 
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
> 
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
> 
> -- 
> Sławomir Jaranowski
> 
> ---------------------------------------------------------------------
> 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Anders Hammar <an...@hammar.net>.
0

I've changed from being fairly conservative with forcing newer
versions upon end users to now thinking it's a good collective
movement to do so. We all benefit from this, I think. The recent
increased Java LTS release schedule is primarily IMO what's triggered
this.
However, in this case I think that 3.8.0 also could be good enough. Hence the 0.

/Anders

On Sun, Aug 10, 2025 at 2:49 PM Slawomir Jaranowski
<s....@gmail.com> wrote:
>
> Hi,
>
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
>
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
>
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
>
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
>
> --
> Sławomir Jaranowski
>
> ---------------------------------------------------------------------
> 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Romain Manni-Bucau <rm...@gmail.com>.
+1 for 3.9

Romain Manni-Bucau
@rmannibucau <https://x.com/rmannibucau> | .NET Blog
<https://dotnetbirdie.github.io/> | Blog <https://rmannibucau.github.io/> | Old
Blog <http://rmannibucau.wordpress.com> | Github
<https://github.com/rmannibucau> | LinkedIn
<https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/en-us/product/java-ee-8-high-performance-9781788473064>


Le lun. 11 août 2025 à 11:46, Olivier Lamy <ol...@apache.org> a écrit :

> +1.
> Sounds reasonable to me as 3.6.x is EOL and 3.8.x will be soon
> We can probably make 3.8 minimum already.
>
>
>
> On Sun, 10 Aug 2025 at 22:49, Slawomir Jaranowski
> <s....@gmail.com> wrote:
> >
> > Hi,
> >
> > Currently we have set a Maven version 3.6.3 as minimal version for ASF
> > Maven plugins
> >
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
> >
> > As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
> >
> > What do you think to set 3.9.0 as prerequisites/maven as default for:
> > https://maven.apache.org/plugins/index.html
> >
> > - we can reduce jobs on CI to only 3.9.x and 4.x
> > - we can open a way to clean up code ...
> >
> > --
> > Sławomir Jaranowski
> >
> > ---------------------------------------------------------------------
> > 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: [DISCUSSION] Minimal maven version for ASF Maven plugins

Posted by Olivier Lamy <ol...@apache.org>.
+1.
Sounds reasonable to me as 3.6.x is EOL and 3.8.x will be soon
We can probably make 3.8 minimum already.



On Sun, 10 Aug 2025 at 22:49, Slawomir Jaranowski
<s....@gmail.com> wrote:
>
> Hi,
>
> Currently we have set a Maven version 3.6.3 as minimal version for ASF
> Maven plugins
> https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-dist-tool/job/master/site/dist-tool-prerequisites.html
>
> As Maven 3.6.3 is EOL and 3.8.x is going to be EOL soon ...
>
> What do you think to set 3.9.0 as prerequisites/maven as default for:
> https://maven.apache.org/plugins/index.html
>
> - we can reduce jobs on CI to only 3.9.x and 4.x
> - we can open a way to clean up code ...
>
> --
> Sławomir Jaranowski
>
> ---------------------------------------------------------------------
> 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