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 238072 - Need option to specify Maven temporary directory for indexing
Summary: Need option to specify Maven temporary directory for indexing
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2013-11-06 23:16 UTC by benad
Modified: 2017-10-01 09:52 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description benad 2013-11-06 23:16:26 UTC
Maven indexing only uses the system's temporary directory, and easily takes gigabytes of disk space. It is just too easy to run out of disk space when this happens. See the crash reports and bug 162313 .

It would greatly help if there was an easy way to tell the Maven indexer to use a different temporary directory that the system's .
Comment 1 Milos Kleint 2013-11-14 10:15:34 UTC
and can you set to a directory with enough diskspace?
Comment 2 Martin Balin 2016-07-07 08:37:02 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 3 dazz 2017-07-13 03:05:20 UTC
I have arrived at this page because I have this exact problem. I am trying to compile an app from Maven Central inside Netbeans.  It is failing because the temp folder/disk has insufficient space.  I want to be able to tell Maven/Netbeans where to hold temp files.  As far as I can tell, can only be set within an app. 

This may be more of a Maven problem than a Netbeans one but it doesn't really matter to me.  It is a problem I can't find an answer to.

I am using NetBeans IDE 8.2 (Build 201609300101) with Win10.
Comment 4 giorgio42 2017-10-01 09:52:30 UTC
As I have just run into a too full myself solely due to the Maven repository index: what's so hard to understand about adding an option to the Maven configuration panel in the Java section of NetBeans Options, where you can enter the path, where NB should store the repository index.

Sounds like an easy task that would help a lot of people.

Thanks for listening.

Georg (using NetBeans since it was Forte 2.0).