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 189842

Summary: Dependency graph does not allow to add dependency from contextual menu
Product: projects Reporter: Ondrej Langr <olangr>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: normal CC: anebuzelsky, hanasaki
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 189312    

Description Ondrej Langr 2010-08-25 13:28:39 UTC
Dependency graph attempted to be used to add dependency several times, via contextual menu on a graph element.


Recommendations: 
Add "Add dependency" option on each of the elements in the dependency graph.
Comment 1 Antonin Nebuzelsky 2010-08-31 15:04:27 UTC
> Add "Add dependency" option on each of the elements in the dependency graph.

Note that only some of the elements are user's local projects.

More issues with this action on the graph elements:

* it would have to be verified that the element in the graph is the version (e.g. 1.0-SNAPSHOT) of that particular project that the user has sources for

* another question is if the user should be able to modify this way a project which he does not have opened

* after the user adds a dependency this way, the graph should reflect the new dependency, but the dependency actually appears in the artifact only after that project is rebuilt

To sum it up - I am not sure if we can make it work in a reasonable and sane way.
Comment 2 Jesse Glick 2010-12-03 18:31:20 UTC
Not a good idea.