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 179880 - Cannot delete maven locally-created repository
Summary: Cannot delete maven locally-created repository
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 13:54 UTC by russpet
Modified: 2012-10-19 18:13 UTC (History)
3 users (show)

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 russpet 2010-01-26 13:54:20 UTC
In tools > options > Misc > Maven
Add a new local repository in the "Local Repository" dialog box.
 - give it any name ("foo bar" and specify path = c:\lib
     (maybe the spaces in the name confused it?)

View the new repository in the maven repository browser window.

Try to delete the repo with a right click to the floating menu:

the Delete option is grayed out.

I removed the repo manually by removing/editing three files manually:

C:\Documents and Settings\Russ\.netbeans\6.8\var\cache\mavenindex

C:\Documents and Settings\Russ\.netbeans\6.8\config\Projects\org-netbeans-modules-maven\Repositories


C:\Documents and Settings\Russ\.netbeans\6.8\config\Preferences\org\netbeans\modules\maven\nexus\indexing.properties
Comment 1 Antonin Nebuzelsky 2010-07-28 15:44:05 UTC
Confirming that local repositories cannot be deleted in Maven Repository Browser. The action Delete is disabled for them.
Comment 2 tjquinn 2011-03-17 15:27:53 UTC
Back in November the target milestone was changed from 7.0 to TBD.

Any idea when we might see a fix?  

Thanks.
Comment 3 Jesse Glick 2011-03-17 15:34:23 UTC
core-main #5ac78de0e888
Comment 4 Quality Engineering 2011-03-18 09:46:37 UTC
Integrated into 'main-golden', will be available in build *201103180400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5ac78de0e888
User: Jesse Glick <jglick@netbeans.org>
Log: #179880: Cannot delete maven locally-created repository
Comment 5 karamba84 2012-10-19 07:51:02 UTC
This bug is back again! And its worse.
Comment 6 Jesse Glick 2012-10-19 18:13:43 UTC
karamba84: please leave this bug closed and file a fresh report for any problems you observe in a more recent version of the IDE. (The new bug can be marked as “blocking” this one if appropriate.)