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

Summary: Need option to specify Maven temporary directory for indexing
Product: projects Reporter: benad <benad>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

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 http://statistics.netbeans.org/analytics/detail.do?id=55693 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 java.io.tmpdir .
Comment 1 Milos Kleint 2013-11-14 10:15:34 UTC
and can you set java.io.tmpdir 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, java.io.tmpdir 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 java.io.tmpdir 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).