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.
Currently any custom repository defined in a project is persisted when that project is opened. It will thereafter be displayed in Maven Repository Browser, searched, and indexed. This is undesirable for a repo used only in a demo project, or with a nonstandard ID or URL, etc. While still permitting users to manually add custom repos, the IDE should only transiently display repos found in open projects. (Either remove them when the last referring project is closed, as with Hudson builders, or just do not persist across a restart.) Should also display plugin repos, which is not done now. This should also permit the java.net2 and netbeans repo definitions to be removed; they will appear only when relevant. Thus only local and central would be registered by default. One catch is that the New Project wizard for NetBeans-related archetypes searches the netbeans repo for available versions, so this repo needs to be transiently added when the wizard runs, even before the project is opened.
core-main #3990c03cdc65
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3990c03cdc65 User: Jesse Glick <jglick@netbeans.org> Log: #196610: Do not persist repo just because project using it was opened