NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cannot remove maven repository...

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
russpet



Joined: 13 Jan 2010
Posts: 19

PostPosted: Tue Jan 26, 2010 7:13 am    Post subject: Cannot remove maven repository... Reply with quote

In Netbeans in the Maven repository window I created a new local repository and now I cannot delete it -- the Delete choice is grayed out.

I don't think it is really a valid repository, I just pointed to a directory (C:\lib) on my local drive and gave it an ID and name.

Is there a way to manually remove it?
Back to top
mkleint
Posted via mailing list.





PostPosted: Wed Jan 27, 2010 11:49 am    Post subject: Cannot remove maven repository... Reply with quote

please file it as a bug.
To remove it, look for the
~/.netbeans/6.8/Config/org/netbeans/modules/maven/<something>.property
file which holds the repository definitions and remove it or edit it.

Milos

russpet wrote:
Quote:
In Netbeans in the Maven repository window I created a new local repository and now I cannot delete it -- the Delete choice is grayed out.

I don't think it is really a valid repository, I just pointed to a directory (C:\lib) on my local drive and gave it an ID and name.

Is there a way to manually remove it?




Back to top
russpet



Joined: 13 Jan 2010
Posts: 19

PostPosted: Wed Jan 27, 2010 12:04 pm    Post subject: Cannot remove maven repository... Reply with quote

Thanks. I'll file a bug.

fyi, I deleted one entry in a file, and when I closed and reopened
netbeans it recreated it. I finally had to delete entries in three
files before it was gone for good:

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

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

C:\Documents and
Settings\Russ\.netbeans\6.8\config\Preferences\org\netbeans\modules\maven\nexus\indexing.properties



On Mon, Jan 25, 2010 at 11:40 PM, mkleint <address-removed> wrote:
Quote:
please file it as a bug.
To remove it, look for the
~/.netbeans/6.8/Config/org/netbeans/modules/maven/<something>.property file
which holds the repository definitions and remove it or edit it.

Milos

russpet wrote:
Quote:

In Netbeans in the Maven repository window I created a new local
repository and now I cannot delete it  -- the Delete choice is grayed out.

I don't think it is really a valid repository, I just pointed to a
directory (C:\lib) on my local drive and gave it an ID and name.
Is there a way to manually remove it?






Back to top
russpet



Joined: 13 Jan 2010
Posts: 19

PostPosted: Wed Jan 27, 2010 12:14 pm    Post subject: Cannot remove maven repository... Reply with quote

Bug filed: Bug 179880 - Cannot delete maven locally-created repository
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo