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.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
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 :).
Try to move the local-Repository-path to another place, in the file: conf/settings.xml
Also check maven's configuration.
Add
-J-Djava.io.tmpdir=T:/Temp
to the end of thenetbeans_default_options
property inNetBeans/etc/netbeans.conf
configuration file, assuming thatT:\
has a lot more space thanC:\
.From Netbeans Settings Options->Java->Maven you can set the indexing to never. How exactly that relates to 'Completely disable' I'm not sure.
Had the same problem myself, it turned out to be the proxy settings (Tools/Options/Proxy settings).