Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-28 Thread Guillaume Nodet
Le mar. 28 mai 2024 à 20:23, Maarten Mulders  a
écrit :

> Yep, that commit was over 3 years ago... Yet Maven 3.8 and 3.9 have been
> released since that date, and both version series report having those
> options - although "ineffective".
>
>
Yes, that's because the 3.x branch has been created a long time ago.


>
> The good thing is that Maven 4 does not report them. So I'll leave it at
> that.
>
>
> Maarten
>
> On 25/05/2024 14:00, Guillaume Nodet wrote:
> > I think those have been removed  3 years ago...
> >   https://issues.apache.org/jira/browse/MNG-6888
> >
> > Le ven. 24 mai 2024 à 13:10, Maarten Mulders  a
> > écrit :
> >
> >> On 24/05/2024 09:43, Michael Osipov wrote:
> >>> On 2024/05/24 07:06:45 Maarten Mulders wrote:
>  Hi all,
> 
>  Today, I noticed Maven has an `-up` switch, for `--update-plugins`.
> The
>  help text says it's ineffective, only kept for backward compatibility.
> 
>  With the advent of Maven 4, would this be a good moment to remove this
>  switch?
> >>>
> >>> There much more of them to be killed, but before we do that we need to
> >> make sure that any of our plugins which invoke Maven never pass them,
> then
> >> we can discuss their removal.
> >>
> >> Just checked, and indeed, there are a few more listed explicitly as
> >> "ineffective":
> >>
> >> -cpu, --check-plugin-updates
> >> -npr, --no-plugin-registry
> >> -npu, --no-plugin-updates
> >> -up, --update-plugins
> >>
> >> My idea would then be to see if any of these four are used in our own
> >> code base (core as well as plugins). If there are usages, let's remove
> >> them. That should not be hard, as they don't trigger any behaviour
> >> anymore. After that, we can continue to drop them from the Maven CLI.
> >>
> >> Would that make sense?
> >>
> >>
> >> Maarten
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: dev-h...@maven.apache.org
> >>
> >>
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-- 

Guillaume Nodet


Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-28 Thread Maarten Mulders
Yep, that commit was over 3 years ago... Yet Maven 3.8 and 3.9 have been 
released since that date, and both version series report having those 
options - although "ineffective".



The good thing is that Maven 4 does not report them. So I'll leave it at 
that.



Maarten

On 25/05/2024 14:00, Guillaume Nodet wrote:

I think those have been removed  3 years ago...
  https://issues.apache.org/jira/browse/MNG-6888

Le ven. 24 mai 2024 à 13:10, Maarten Mulders  a
écrit :


On 24/05/2024 09:43, Michael Osipov wrote:

On 2024/05/24 07:06:45 Maarten Mulders wrote:

Hi all,

Today, I noticed Maven has an `-up` switch, for `--update-plugins`. The
help text says it's ineffective, only kept for backward compatibility.

With the advent of Maven 4, would this be a good moment to remove this
switch?


There much more of them to be killed, but before we do that we need to

make sure that any of our plugins which invoke Maven never pass them, then
we can discuss their removal.

Just checked, and indeed, there are a few more listed explicitly as
"ineffective":

-cpu, --check-plugin-updates
-npr, --no-plugin-registry
-npu, --no-plugin-updates
-up, --update-plugins

My idea would then be to see if any of these four are used in our own
code base (core as well as plugins). If there are usages, let's remove
them. That should not be hard, as they don't trigger any behaviour
anymore. After that, we can continue to drop them from the Maven CLI.

Would that make sense?


Maarten

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






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



Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-25 Thread Guillaume Nodet
I think those have been removed  3 years ago...
 https://issues.apache.org/jira/browse/MNG-6888

Le ven. 24 mai 2024 à 13:10, Maarten Mulders  a
écrit :

> On 24/05/2024 09:43, Michael Osipov wrote:
> > On 2024/05/24 07:06:45 Maarten Mulders wrote:
> >> Hi all,
> >>
> >> Today, I noticed Maven has an `-up` switch, for `--update-plugins`. The
> >> help text says it's ineffective, only kept for backward compatibility.
> >>
> >> With the advent of Maven 4, would this be a good moment to remove this
> >> switch?
> >
> > There much more of them to be killed, but before we do that we need to
> make sure that any of our plugins which invoke Maven never pass them, then
> we can discuss their removal.
>
> Just checked, and indeed, there are a few more listed explicitly as
> "ineffective":
>
> -cpu, --check-plugin-updates
> -npr, --no-plugin-registry
> -npu, --no-plugin-updates
> -up, --update-plugins
>
> My idea would then be to see if any of these four are used in our own
> code base (core as well as plugins). If there are usages, let's remove
> them. That should not be hard, as they don't trigger any behaviour
> anymore. After that, we can continue to drop them from the Maven CLI.
>
> Would that make sense?
>
>
> Maarten
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-- 

Guillaume Nodet


Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-25 Thread Bernd Eckenfels


>> My idea would then be to see if any of these four are used in our own 
>> code base (core as well as plugins). If there are usages, let's remove 
>> them. That should not be hard, as they don't trigger any behaviour 
>> anymore. After that, we can continue to drop them from the Maven CLI.
>> 
>> Would that make sense?
> 
> That would make sense.

If the investigation takes longer, you can
at least remove them from usage output
I had glanced over those options more
often than I like, just to learn they are
Ineffective,

Gruß
Bernd
— 
https://bernd.eckenfels.net

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



Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-25 Thread Michael Osipov

Am 2024-05-24 um 13:09 schrieb Maarten Mulders:

On 24/05/2024 09:43, Michael Osipov wrote:

On 2024/05/24 07:06:45 Maarten Mulders wrote:

Hi all,

Today, I noticed Maven has an `-up` switch, for `--update-plugins`. The
help text says it's ineffective, only kept for backward compatibility.

With the advent of Maven 4, would this be a good moment to remove this
switch?


There much more of them to be killed, but before we do that we need to 
make sure that any of our plugins which invoke Maven never pass them, 
then we can discuss their removal.


Just checked, and indeed, there are a few more listed explicitly as 
"ineffective":


-cpu, --check-plugin-updates
-npr, --no-plugin-registry
-npu, --no-plugin-updates
-up, --update-plugins

My idea would then be to see if any of these four are used in our own 
code base (core as well as plugins). If there are usages, let's remove 
them. That should not be hard, as they don't trigger any behaviour 
anymore. After that, we can continue to drop them from the Maven CLI.


Would that make sense?


That would make sense.


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



Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-24 Thread Karl Heinz Marbaise

Hi,

+1 for removing them as well

Kind regards
Karl Heinz Marbaise

On 24.05.24 13:09, Maarten Mulders wrote:

On 24/05/2024 09:43, Michael Osipov wrote:

On 2024/05/24 07:06:45 Maarten Mulders wrote:

Hi all,

Today, I noticed Maven has an `-up` switch, for `--update-plugins`. The
help text says it's ineffective, only kept for backward compatibility.

With the advent of Maven 4, would this be a good moment to remove this
switch?


There much more of them to be killed, but before we do that we need to
make sure that any of our plugins which invoke Maven never pass them,
then we can discuss their removal.


Just checked, and indeed, there are a few more listed explicitly as
"ineffective":

-cpu, --check-plugin-updates
-npr, --no-plugin-registry
-npu, --no-plugin-updates
-up, --update-plugins

My idea would then be to see if any of these four are used in our own
code base (core as well as plugins). If there are usages, let's remove
them. That should not be hard, as they don't trigger any behaviour
anymore. After that, we can continue to drop them from the Maven CLI.

Would that make sense?


Maarten




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



Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-24 Thread Matthias Bünger

For me it does and we should take the oppurtunity with Maven 4 to do so

Greetings

Matthias

Am 24.05.2024 um 13:09 schrieb Maarten Mulders:

On 24/05/2024 09:43, Michael Osipov wrote:

On 2024/05/24 07:06:45 Maarten Mulders wrote:

Hi all,

Today, I noticed Maven has an `-up` switch, for `--update-plugins`. The
help text says it's ineffective, only kept for backward compatibility.

With the advent of Maven 4, would this be a good moment to remove this
switch?


There much more of them to be killed, but before we do that we need
to make sure that any of our plugins which invoke Maven never pass
them, then we can discuss their removal.


Just checked, and indeed, there are a few more listed explicitly as
"ineffective":

-cpu, --check-plugin-updates
-npr, --no-plugin-registry
-npu, --no-plugin-updates
-up, --update-plugins

My idea would then be to see if any of these four are used in our own
code base (core as well as plugins). If there are usages, let's remove
them. That should not be hard, as they don't trigger any behaviour
anymore. After that, we can continue to drop them from the Maven CLI.

Would that make sense?


Maarten

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



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



Re: [DISCUSS] Removal of ineffective switch for Maven 4

2024-05-24 Thread Maarten Mulders

On 24/05/2024 09:43, Michael Osipov wrote:

On 2024/05/24 07:06:45 Maarten Mulders wrote:

Hi all,

Today, I noticed Maven has an `-up` switch, for `--update-plugins`. The
help text says it's ineffective, only kept for backward compatibility.

With the advent of Maven 4, would this be a good moment to remove this
switch?


There much more of them to be killed, but before we do that we need to make 
sure that any of our plugins which invoke Maven never pass them, then we can 
discuss their removal.


Just checked, and indeed, there are a few more listed explicitly as 
"ineffective":


-cpu, --check-plugin-updates
-npr, --no-plugin-registry
-npu, --no-plugin-updates
-up, --update-plugins

My idea would then be to see if any of these four are used in our own 
code base (core as well as plugins). If there are usages, let's remove 
them. That should not be hard, as they don't trigger any behaviour 
anymore. After that, we can continue to drop them from the Maven CLI.


Would that make sense?


Maarten

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