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.
Maven repository indexes are queried from various features of Maven Support and currently the queries are blocked unnecessarily long in the following cases: * the very first query trigeres local repository indexing and then download of remote indexes of all registered repositories - this query and all concurrent queries are blocked until all the indexes are downloaded - it usually takes minutes -> for some UI, it makes sense to show the user incremental results as they become available, allowing the user to choose artifacts found in the local repository first (e.g. in Add Dependency dialog or in the hint searching for resolution of a missing class in the code). * when an update of repository indexes (reindexing local or download of remote) gets started (usually automatically), queries are blocked until the update completes
Adding new variant of the repository query which uses an observable object to communicate incrementally found results of the query to the requester. core-main #c327743ea64b Using the new incremental repository query in Add Dependency dialog. core-main #7c5775a29447
Integrated into 'main-golden', will be available in build *201009070000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c327743ea64b User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #190182 - Optimize access to maven repository indexes (part 1)
Another use of the observable object in a query. core-main #1da40f3757c4 And using the query in Search Dependency hint UI. core-main #3622bc21acf4
Integrated into 'main-golden', will be available in build *201009080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c327743ea64b User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #190182 - Optimize access to maven repository indexes (part 1)
More improvements in core-main #7c64607b8faf core-main #4e69357f55ed
Integrated into 'main-golden', will be available in build *201009090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7c64607b8faf User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #190182 - Optimize access to maven repository indexes (part 3 cont.) - fixed a bug in repetitive searching in all repos instead of only in one...
Using the incremental repository query approach in Repository Browser window search facility. core-main #c3334c70f6bf
Closing fixed for now.
Integrated into 'main-golden', will be available in build *201009160000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c3334c70f6bf User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #190182 - Optimize access to maven repository indexes (part 5)
*** Bug 186990 has been marked as a duplicate of this bug. ***