This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 191538 - Incorrect dependency graph shown in certain cases involving deep transitivity
Summary: Incorrect dependency graph shown in certain cases involving deep transitivity
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2010-11-01 19:23 UTC by Jesse Glick
Modified: 2016-08-25 19:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-11-01 19:23:29 UTC has the test case. Just open the attached project and show the dep graph in the IDE; batik-js will be missing.

From the comments by Benjamin Bentmann it sounds like we need to drop maven-dependency-tree altogether. Yet there is no apparent drop-in replacement, and I have little idea what would be required. There is a class DependencyNode in Aether but it has a somewhat different signature.
Comment 1 Jesse Glick 2012-06-06 15:43:30 UTC
e259066c6846 (NbRepositorySystem) apparently working toward this.
Comment 2 Jesse Glick 2012-06-11 16:25:51 UTC
Easiest fix would be to follow but since we can have a hard dep on M3/Aether this could likely be inlined & simplified.
Comment 3 Milos Kleint 2012-08-13 08:15:13 UTC
simple upgrading to dependency-tree 2.0 didn't cut it in the graph view. the dependency:tree goal shows the batik-js node correctly..
Comment 4 Milos Kleint 2012-08-13 08:45:22 UTC
interestingly dependency:tree in version 2.5 is using the DependencyGraphBuilder component, not DependencyTreeBuilder. Needs deeper rewrite, also MavenProject.getProjectBuildingRequest() is being used by the component, thus the base project's MavenProject instance cannot be used here.

a side note: the batik-js is not only missing in the graph, but also in the list of dependencies for artifacts in local repository. only batik-script contains it (the one really defining it) contains it in the list. apparently there's something we also do wrong when creating the dependencies list.
Comment 5 Martin Balin 2016-07-07 08:39:23 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 6 markiewb 2016-08-25 19:20:24 UTC