Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans: Transferring Maven Repository index: Central - stuck at 0%

Tags:

java

maven

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.

like image 748
Webnet Avatar asked Mar 26 '12 15:03

Webnet


4 Answers

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 :).

like image 92
Amer Avatar answered Sep 16 '22 15:09

Amer


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

like image 31
Devology Ltd Avatar answered Sep 18 '22 15:09

Devology Ltd


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.

like image 21
Ilya Avatar answered Sep 18 '22 15:09

Ilya


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

like image 25
Cyberwiz Avatar answered Sep 17 '22 15:09

Cyberwiz