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 189845 - Maven repository browser does not allow to add dependency from search results
Summary: Maven repository browser does not allow to add dependency from search results
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks: 189312
  Show dependency tree
 
Reported: 2010-08-25 13:35 UTC by Ondrej Langr
Modified: 2013-01-14 10:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Add Dependency on search results (29.88 KB, image/png)
2010-08-31 15:48 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Langr 2010-08-25 13:35:57 UTC
Maven repository browser: a participant tried to add a dependency from contextual menu on a search results items and this was not possible. 

Highlight video available on request.
Comment 1 Antonin Nebuzelsky 2010-08-31 15:47:19 UTC
This feature is already available on the version nodes of the found artifacts.

Popup menu contains the action "Add As Dependency to" which opens a dialog box with the list of open projects. See attachment.

The action could be made available also in popup menu of the artifact nodes and the version would default to the latest one (as we already do in the Search In Maven Repositories dialog triggered from an editor hint).
Comment 2 Antonin Nebuzelsky 2010-08-31 15:48:36 UTC
Created attachment 101783 [details]
Add Dependency on search results
Comment 3 Milos Kleint 2013-01-14 10:15:03 UTC
Add as Dependency... action is present on the result's node. (excluding the hierarchy nodes without the complete Maven GAV coordinates.