Netbeans: Transferring Maven Repository index: Cen

2020-02-25 08:33发布

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.

标签: java maven
5条回答
一纸荒年 Trace。
2楼-- · 2020-02-25 08:49

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

查看更多
在下西门庆
3楼-- · 2020-02-25 09:10

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.

查看更多
够拽才男人
4楼-- · 2020-02-25 09:10

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

查看更多
甜甜的少女心
5楼-- · 2020-02-25 09:13

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

查看更多
够拽才男人
6楼-- · 2020-02-25 09:15

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

查看更多
登录 后发表回答