You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Olivier Lamy <ol...@apache.org> on 2024/04/30 00:01:57 UTC

maven-compat removal?

Hi,
I can see plenty of PRs with maven-compat removal.
Maybe this could be explained and so more people could help for this task?

cheers
Olivier

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


Re: maven-compat removal?

Posted by Tamás Cservenák <ta...@cservenak.net>.
As Guillaume said, the time table of _actual removal_ from Maven (4) Core
is still questionable.
OTOH, we do want to _ensure_ that at least Maven Core Plugins are
maven-compat free...

Personal (biased) opinion: given how much of the plugin that claims itself
to be Maven3 plugin depends on maven-compat (explicitly or implicitly),
Maven 4.0 is most probably too early to remove it, DESPITE we talk about
maven-compat, a module that offers Maven2 compatibility layer. OTOH, the
_presence_ of this module is becoming an impediment for us, and we do want
to get rid of it, the sooner the better. On a related note: users who were
against Maven 3.9.x emitting warnings about deprecated plugins... They
"won", all the "Maven 3.9 should prepare for 4.0 work stopped", and this is
the price now: it is not simple to detect these plugins in the wild. I
understand "they (users) cannot do anything about warnings", but that could
be at least "they (users) live with warnings and report deprecation issues
to authors of deprecated plugins"... Currently we really have no clue how
many affected (non-core) Maven plugins could be out there, that would
simply break, if maven-compat would be removed.

Thanks
T

On Wed, May 1, 2024 at 12:32 AM Basil Crow <me...@basilcrow.com> wrote:

> On Tue, Apr 30, 2024 at 2:42 PM Tamás Cservenák <ta...@cservenak.net>
> wrote:
> >
> > This should have happened in last 10 years, but for some reason it
> didn't.
>
> Does the Maven project have a plan for ensuring that, once started,
> migrations are completed within a reasonable amount of time? In the
> Jenkins project, this is part of our engineering process at the design
> proposal stage:
>
>
> https://github.com/jenkinsci/jep/blob/eedd98dadbf70f69a291c9184facafc64dc82097/jep-template/0000/README.adoc?plain=1#L150-L185
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: maven-compat removal?

Posted by Basil Crow <me...@basilcrow.com>.
On Tue, Apr 30, 2024 at 2:42 PM Tamás Cservenák <ta...@cservenak.net> wrote:
>
> This should have happened in last 10 years, but for some reason it didn't.

Does the Maven project have a plan for ensuring that, once started,
migrations are completed within a reasonable amount of time? In the
Jenkins project, this is part of our engineering process at the design
proposal stage:

https://github.com/jenkinsci/jep/blob/eedd98dadbf70f69a291c9184facafc64dc82097/jep-template/0000/README.adoc?plain=1#L150-L185

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


Re: maven-compat removal?

Posted by Tamás Cservenák <ta...@cservenak.net>.
This should have happened in last 10 years, but for some reason it didn't.
Basically, if plugin explicitly (or implicitly) depends on maven-compat, it
is still de facto a Maven2 plugin. In 2024. Go figure!

Thanks
T

On Tue, Apr 30, 2024, 23:30 Olivier Lamy <ol...@apache.org> wrote:

> On Tue, 30 Apr 2024 at 15:56, Guillaume Nodet <gn...@apache.org> wrote:
> >
> > Maven-compat has been deprecated years ago, so the goal would be to get
> rid
> > of it.
> > For months, efforts have been made to first make maven-compat completely
> > optional.
> > This is now the case in maven itself.
> > However, some plugins still rely on it and they should be migrated to use
> > Maven 3 apis.
> > This is a required step before being able to get rid of maven-compat.
> >
> > I'm still hesitant about the time table, whether maven-compat should be
> > removed from
> > 4.0 distribution or not.  It may be slightly premature, since a few
> plugins
> > still depend on it.
> >
>
> if we could have at least core plugins (default lifecycle) ready, that
> could work, but that's some work.
> but do you have some timeline in mind for 4.0? or it's just whenever
> it;s ready :)
>
>
>
> > Le mar. 30 avr. 2024 à 02:02, Olivier Lamy <ol...@apache.org> a écrit :
> > >
> > > Hi,
> > > I can see plenty of PRs with maven-compat removal.
> > > Maybe this could be explained and so more people could help for this
> task?
> > >
> > > cheers
> > > Olivier
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> >
> >
> > --
> > ------------------------
> > Guillaume Nodet
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: maven-compat removal?

Posted by Olivier Lamy <ol...@apache.org>.
On Tue, 30 Apr 2024 at 15:56, Guillaume Nodet <gn...@apache.org> wrote:
>
> Maven-compat has been deprecated years ago, so the goal would be to get rid
> of it.
> For months, efforts have been made to first make maven-compat completely
> optional.
> This is now the case in maven itself.
> However, some plugins still rely on it and they should be migrated to use
> Maven 3 apis.
> This is a required step before being able to get rid of maven-compat.
>
> I'm still hesitant about the time table, whether maven-compat should be
> removed from
> 4.0 distribution or not.  It may be slightly premature, since a few plugins
> still depend on it.
>

if we could have at least core plugins (default lifecycle) ready, that
could work, but that's some work.
but do you have some timeline in mind for 4.0? or it's just whenever
it;s ready :)



> Le mar. 30 avr. 2024 à 02:02, Olivier Lamy <ol...@apache.org> a écrit :
> >
> > Hi,
> > I can see plenty of PRs with maven-compat removal.
> > Maybe this could be explained and so more people could help for this task?
> >
> > cheers
> > Olivier
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
>
> --
> ------------------------
> Guillaume Nodet

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


Re: maven-compat removal?

Posted by Guillaume Nodet <gn...@apache.org>.
Maven-compat has been deprecated years ago, so the goal would be to get rid
of it.
For months, efforts have been made to first make maven-compat completely
optional.
This is now the case in maven itself.
However, some plugins still rely on it and they should be migrated to use
Maven 3 apis.
This is a required step before being able to get rid of maven-compat.

I'm still hesitant about the time table, whether maven-compat should be
removed from
4.0 distribution or not.  It may be slightly premature, since a few plugins
still depend on it.

Le mar. 30 avr. 2024 à 02:02, Olivier Lamy <ol...@apache.org> a écrit :
>
> Hi,
> I can see plenty of PRs with maven-compat removal.
> Maybe this could be explained and so more people could help for this task?
>
> cheers
> Olivier
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>


--
------------------------
Guillaume Nodet

Re: maven-compat removal?

Posted by Herve Boutemy <hb...@apache.org>.
it's part of the wider Maven Ecosystem Cleanup plan
https://cwiki.apache.org/confluence/display/MAVEN/Maven+Ecosystem+Cleanup

Regards,

Hervé

On 2024/04/30 00:01:57 Olivier Lamy wrote:
> Hi,
> I can see plenty of PRs with maven-compat removal.
> Maybe this could be explained and so more people could help for this task?
> 
> cheers
> Olivier
> 
> ---------------------------------------------------------------------
> 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