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. Both looks very similar ... like copy paste somewhen... 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 So IMHO we should choose one and maintain it. M > > -- Sławomir Jaranowski
