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 242742 - Can't delete Maven repository from Services window
Summary: Can't delete Maven repository from Services window
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 13:16 UTC by phansson
Modified: 2015-05-24 04:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phansson 2014-03-10 13:16:02 UTC
In 8.0RC1 I cannot delete a repository from the IDE's Services window. (Maven Repositories node)

For some repos the "Delete" action is active in the context menu, while for others it is not. There's an old bug report (bug 179880) which kinda deals with the same issue, except that ticket is solely about local repos. I see the issue on non-local repos.

I cannot really find the system why the action is active on some repos and for others not.
Comment 1 Milos Kleint 2014-03-10 15:18:39 UTC
some of the nodes and explicitly defined by user - these can be deleted. Some are automatically inserted by the open projects (they are defined in opened projects). These cannot be deleted. 

I recall that at some point in time, the manual vs automatic was designated by additional text or some coloring in the nodes. Needs probably investigation into why this visual difference disappeared.
Comment 2 phansson 2014-03-10 15:24:37 UTC
I see. That makes sense. Yes, it would be nice to have some visual difference or a tooltip text that would say "Origin : from opened projects" or "Origin: Manually entered" or "Origin: Entered by the IDE" .. or something.
Comment 3 Tomas Stupka 2015-05-22 15:37:51 UTC
fixed in jet-main #bc5a80e88c6b
Comment 4 Quality Engineering 2015-05-24 04:08:26 UTC
Integrated into 'main-silver', will be available in build *201505240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bc5a80e88c6b
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #242742 - Can't delete Maven repository from Services window