My understanding is that maven-shared-utils was created as a clone of plexus-utils to get back this piece of code under the ASF banner. Which means that it's mostly a duplicate. If this never happened (i.e. most projects still use plexus-utils), we should drop it. The CLI stuff is also in plexus-utils, so not sure this is really relevant.
Le ven. 1 juil. 2022 à 18:22, Michael Osipov <[email protected]> a écrit : > 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] > > -- ------------------------ Guillaume Nodet
