You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Elliotte Rusty Harold <el...@ibiblio.org> on 2020/05/21 20:44:54 UTC

maven-dependency-plugin and Maven 3.0

The TreeMojo in maven-dependency-plugin uses maven-dependency-tree to
do some complicated reflection based switching between the Maven 3.0
and 3.1 dependency graph builders.

This is going to make reintroducing support for the verbose flag more
cumbersome.

Would it be acceptable to drop this and simply use the Maven resolver directly?


-- 
Elliotte Rusty Harold
elharo@ibiblio.org

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


Re: maven-dependency-plugin and Maven 3.0

Posted by Hervé BOUTEMY <he...@free.fr>.
yes, removing this type of code is exactly the objective of updating minimum 
Maven version prerequisite to something > 3.0.x

please all share your though on the other email thread on the next level of 
compatibility we should put in our plan:
https://maven.apache.org/developers/compatibility-plan.html

Regards,

Hervé

Le vendredi 22 mai 2020, 02:14:35 CEST Olivier Lamy a écrit :
> Oh yes +100000
> it would be so good to remove this hackhish code.
> Not sure but we may have this piece of code in few places..
> 
> On Fri, 22 May 2020 at 06:45, Elliotte Rusty Harold <el...@ibiblio.org>
> 
> wrote:
> > The TreeMojo in maven-dependency-plugin uses maven-dependency-tree to
> > do some complicated reflection based switching between the Maven 3.0
> > and 3.1 dependency graph builders.
> > 
> > This is going to make reintroducing support for the verbose flag more
> > cumbersome.
> > 
> > Would it be acceptable to drop this and simply use the Maven resolver
> > directly?
> > 
> > 
> > --
> > Elliotte Rusty Harold
> > elharo@ibiblio.org
> > 
> > ---------------------------------------------------------------------
> > 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


Re: maven-dependency-plugin and Maven 3.0

Posted by Olivier Lamy <ol...@apache.org>.
Oh yes +100000
it would be so good to remove this hackhish code.
Not sure but we may have this piece of code in few places..

On Fri, 22 May 2020 at 06:45, Elliotte Rusty Harold <el...@ibiblio.org>
wrote:

> The TreeMojo in maven-dependency-plugin uses maven-dependency-tree to
> do some complicated reflection based switching between the Maven 3.0
> and 3.1 dependency graph builders.
>
> This is going to make reintroducing support for the verbose flag more
> cumbersome.
>
> Would it be acceptable to drop this and simply use the Maven resolver
> directly?
>
>
> --
> Elliotte Rusty Harold
> elharo@ibiblio.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

-- 
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy