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.
For CLI, i cannot believe there is no some sane license compatible and well maintained alternative (commons?) that can be used instead? T On Fri, Jun 24, 2022, 20:27 Michael Osipov <[email protected]> wrote: > Am 2022-06-24 um 20:12 schrieb Slawomir Jaranowski: > > Hi, > > > > maven-shared-utils has many deprecated stuff and looks like we want to > bury > > this project. > > > > I want to fix the issue: MSHARED-1072 [1] ... is in maven-shared-utils > > project > > > > I need it in maven-invoker, which is used by m-release-p for executing > fork > > builds ... > > > > So I've tried to see if it is possible to move code responsible for the > cli > > process from shared-utils to invoker .... > > > > but ... looks like package org.apache.maven.shared.utils.cli is even > > widely used [2], so coping code is not good > > Beware, the CLI invocation code is, IMHO, fucked up. It wraps everything > in a shell, this is absolutely not necessary and caused a lot of bugs > around quoting and masking args. I wasted quite some time in SCM for > this. This must go way. Morover, it does not use ProcessBuilder, but > still Runtime.getRuntime().exec(). This must go way as well. > > M > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
