Am 2022-06-30 um 21:19 schrieb Slawomir Jaranowski:
Hi,

We have a very similar implementation on cl utils in plexus-utils and in
maven-shared-util - looks like somewhen was copy paste.

Searching for usage  of CommandLineUtils

plexus-utils is used about 2800 times [1]
shared-utils is used abutt 100 times [2]

so my proposition is to switch to plexus-utils I will try do it in
maven-invoker

[1]
https://github.com/search?l=Java&q=org.codehaus.plexus.util.cli.CommandLineUtils&type=Code
[2]
https://github.com/search?l=Java&p=1&q=org.apache.maven.shared.utils.cli.CommandLineUtils&type=Code


I have a slight counter proposal: Instead of blindly moving off to Plexus Utils for this, would rather create Maven Shared CLI to fix all annoyances CLI has, e.g., those I mentioned throwing out shell invocation, etc.

First a diff between both in required, of course. Then part of Maven Shared Utils is moved to the new component and issues addressed.

M

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to