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 248836 - Indexing of Maven repo with no index won't stop
Summary: Indexing of Maven repo with no index won't stop
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-23 11:50 UTC by kalwi
Modified: 2015-04-16 10:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Repository properties (30.49 KB, image/png)
2014-11-23 11:50 UTC, kalwi
Details
Indexing is still in progress (24.29 KB, image/png)
2014-11-23 11:51 UTC, kalwi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kalwi 2014-11-23 11:50:46 UTC
Created attachment 150638 [details]
Repository properties

I have to work with some Maven projects using Maven remote repositories with no Maven index (either Nexus without indexing enabled or simple DAV repositories). NetBeans tries to index such remote repository despite the index is not present and the indexing never stops → any functionality which relies on indexing shows that indexing is still in progress (e.g. autocomplete in POM file, see the attached screenshot).

There are also produced files like 'nexus-maven-repository-index.properties1230112283458172920' with zero size in user TEMP directory which are never deleted (files created by indexing of an existing index are deleted). NB 8.0.1 constantly produces hundreds of files per minute (!) which is not too good for my SSD. This was partially fixed in #246409, so the latest dev. build produces only few files (one for each repository?) only for index-depending action like autocomplete in POM, but files are still not deleted.

In the repository properties dialog, there is a "Remote Index Downloadable" checkbox which is selected, but disabled. Maybe it's another bug, or is it just prepared for functionality which was not implemented yet?

Summary of requirements:
- stop the indexing process when index is not available, or:
- allow possibility to disable downloading the index/indexing of specific repo - a workaround like configuration files tuning would be fully suitable for me, but enabling the "Remote Index Downloadable" checkbox to allow to deselect it would be very nice,
- delete temporary files created for repo with no index.

Best regards
kalwi

Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Updates: NetBeans IDE is updated to version NetBeans 8.0.1 Patch 1.1
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18
System: Windows 8 version 6.2 running on amd64; Cp1250; cs_CZ (nb)
User directory: C:\Users\kalwi\AppData\Roaming\NetBeans\8.0.1
Cache directory: C:\Users\kalwi\AppData\Local\NetBeans\Cache\8.0.1

Product Version: NetBeans IDE Dev (Build 201411220001)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18
System: Windows 8 version 6.2 running on amd64; Cp1250; cs_CZ (nb)
User directory: C:\Users\kalwi\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\kalwi\AppData\Local\NetBeans\Cache\dev
Comment 1 kalwi 2014-11-23 11:51:12 UTC
Created attachment 150639 [details]
Indexing is still in progress
Comment 2 Tomas Stupka 2014-12-05 13:50:00 UTC
> - delete temporary files created for repo with no index.
fixed in scope of issue ##239915