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.
|Summary:||Do not persist repo just because project using it was opened|
|Product:||projects||Reporter:||Jesse Glick <jglick>|
|Component:||Maven||Assignee:||Jesse Glick <jglick>|
|Issue Type:||DEFECT||Exception Reporter:|
|Bug Depends on:||201821, 208903|
|Bug Blocks:||190468, 201463|
Description Jesse Glick 2011-03-11 20:44:02 UTC
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.
Comment 1 Jesse Glick 2011-08-24 23:44:31 UTC
Comment 2 Quality Engineering 2011-08-26 14:41:13 UTC
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/3990c03cdc65 User: Jesse Glick <email@example.com> Log: #196610: Do not persist repo just because project using it was opened