niedz., 26 cze 2022 o 12:54 Michael Osipov <[email protected]> napisał(a):

> Am 2022-06-24 um 22:17 schrieb Slawomir Jaranowski:
> > pt., 24 cze 2022 o 21:13 Michael Osipov <[email protected]>
> napisał(a):
> >
> >> Am 2022-06-24 um 20:52 schrieb Tamás Cservenák:
> >>> I bet i m-shared-util 50% of source is deprecated, white other big
> batch
> >> is
> >>> duplicated (overlaps for example with plexus-utils). Otoh, p-u release
> >> pace
> >>> and maintenance is light-years ahead of m-shared-u... Do I'd really
> drop
> >>> this.
> >>
> >> Some pains:
> >> https://github.com/codehaus-plexus/plexus-utils/pull/109
> >> https://github.com/codehaus-plexus/plexus-utils/pull/110
> >>
> >>
> >>> For CLI, i cannot believe there is no some sane license compatible and
> >> well
> >>> maintained alternative (commons?) that can be used instead?
> >>
> >> Commons Exec is dead
> >> Here a few with limitations:
> >> https://github.com/zeroturnaround/zt-exec
> >> https://github.com/brettwooldridge/NuProcess
> >>
> >> I believe that with can retain mostly of the current CLI API and drop a
> >> of internal code for ProcessBuidler.
> >>
> >>
> > One we need for  ProcessBuidler is parsing the command line to process
> args.
>
> Why do we need to parse CLI as a whole string? All of those usecases I
> would ultimately deprecate and replace with a distinc list/array approach.
> Can you list them?
>
>
As I know:

m-invoker-p -> invoker.properties -> invoker.goals
m-release-p -> arguments


> > Both will have the same problem if System.in will be used as input for
> > forked process that will hang forever.
> >
> >
> https://github.com/codehaus-plexus/plexus-utils/blob/master/src/main/java/org/codehaus/plexus/util/cli/CommandLineUtils.java#L229
> >
> https://github.com/apache/maven-shared-utils/blob/master/src/main/java/org/apache/maven/shared/utils/cli/CommandLineUtils.java#L339
>
> This I cannot tell and has to be a separate discussion.
>
> M
>


-- 
Sławomir Jaranowski

Reply via email to