18

I'm unable to get the Central Maven repo index. I'm running Netbeans 7.0.1 and have tried rebooting my PC, rebooting Netbeans 4 times and alternate mirrors. It sits at 0% and never goes anywhere and never throws an error. I'm unsure what to try or what to investigate to try to determine the problem.

Ben
  • 60,438
  • 111
  • 314
  • 488

5 Answers5

24

How to Stop Netbeans: Transferring repository index
I see at status bar, that Netbeans is Transferring repository index : java.net repository. It slows down my computer very much. Very annoying.

Solution for Netbeans 7.4 (and possibly later versions, 8.0):
Tools | Options | Java | Maven | Index”, find “Index Update Frequency” and then adjust how often it should be updated (Never :).

Community
  • 1
  • 1
Amer
  • 241
  • 2
  • 2
6

From Netbeans Settings Options->Java->Maven you can set the indexing to never. How exactly that relates to 'Completely disable' I'm not sure.

enter image description here

RobbiewOnline
  • 1,350
  • 1
  • 16
  • 36
4

Try to move the local-Repository-path to another place, in the file: conf/settings.xml

<localRepository>D:/mvn_repo</localRepository>

Also check maven's configuration.

Georgie
  • 15
  • 1
  • 5
Ilya
  • 29,135
  • 19
  • 110
  • 158
3

Had the same problem myself, it turned out to be the proxy settings (Tools/Options/Proxy settings).

Cyberwiz
  • 11,027
  • 3
  • 20
  • 40
2

Add -J-Djava.io.tmpdir=T:/Temp to the end of the netbeans_default_options property in NetBeans/etc/netbeans.conf configuration file, assuming that T:\ has a lot more space than C:\.

Ajil O.
  • 6,562
  • 5
  • 40
  • 72