maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Re: DependencyTreeBuilder vs. DependencyGraphBuilder
Date Wed, 02 Apr 2014 00:46:59 GMT
the difference still exists, and will never be fixed: that's the reasoning 
behind deprecating DependencyTreeBuilder

I you need additional info about version conflicts, you should use Aether API + 
Maven Aether Provider for Maven 3, which will give you everything

But at this precise level, you don't have any single API working with every 
version of Maven

Regards,

Hervé

Le mardi 1 avril 2014 08:29:20 Stefan Ferstl a écrit :
> I'm using the org.apache.maven.shared:dependency-tree library to
> gather dependency information on my projects. In order to get
> additional information about version conflicts, I prefer to use
> DependencyTreeBuilder instead of DependencyGraphBuilder. However, the
> Javadoc of DependencyTreeBuilder says:
> 
> "Notice that it doesn't fail with Maven 3, but when Maven 2 and Maven
> 3 don't calculate the same transitive dependency result, the tree
> calculated with this component is consistent with Maven 2 even if run
> with Maven 3 (see MSHARED-167)"
> 
> The issue MSHARED-167 [1] was closed in June 2012. So may
> DependencyTreeBuilder still produce different results than
> DependencyGraphBuilder or is this not an issue anymore?
> 
> 
> Cheers,
> Stefan
> 
> [1] https://jira.codehaus.org/browse/MSHARED-167
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


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


Mime
View raw message