You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Herve Boutemy <hb...@apache.org> on 2022/07/01 05:50:22 UTC

Re: maven-shared-utils what the future is ...

as an old guy on the project, here is the proposal that explains why/how maven-shared-utils was introduced to try to replace plexus-utils:
https://cwiki.apache.org/confluence/display/MAVEN/MavenSharedUtils

how we went from a situation where shared-utils was expected to be easier to upgrade to new ways of coding, but now some feel that it is behind plexus-utils, I don't know: I did not really work on that, personally...

On 2022/06/24 18:52:10 Tamás Cservenák wrote:
> 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 <mi...@apache.org> 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: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org