Geertjan's Blog

  • October 11, 2015

Configure Maven Indexing On Demand in NetBeans IDE

Geertjan Wielenga
Product Manager

You're in the process of truly unleashing the power of Maven and Java EE by using NetBeans IDE. Or you're using Maven for some other reason and have wisely chosen NetBeans IDE as your development environment.

However, you're in your country cottage where you can only get mobile internet. You have a daily flatrate consisting of 500mb download volume. Surprisingly, you find that this bandwidth is eaten up within a couple of hours, without having done anything on the Internet, no YouTube, nothing. So you look for the reason. Dropbox is disabled and you've disconnected all the other devices from your mobile wireless router. And so only the laptop is connected. No change, bandwidth is still being eaten up.

And then it turns out that NetBeans has been indexing Maven and, if download stalls, a new download process kicks off. In the status bar in the bottom right, you see this going on for a long time and eating up your bandwidth, in your country cottage.

What to do? Go here in the Options window:

In the Options window, the Index Update Frequency is set to "Once a week" by default. Set it to "Never" and then, as needed, click on the "Index Now" button. Now you have Maven indexing on demand. Just make sure to do this before going to your country cottage otherwise NetBeans IDE will simply use the default setting and kick off the process on its own and eat your bandwidth.

Thanks to Toni Epple, yes, he has a country cottage, for the info above.

Join the discussion

Comments ( 2 )
  • guest Saturday, October 17, 2015

    I refreshed maven index today(Oct-16) to try to get latest version of testng by netbeans.

    and found 6.9.6 on netbeans.

    but latest version is 6.9.8 in repository.


    It's "central" repos in netbeans.

    how about your environment?

  • guest Thursday, October 22, 2015

    It would be great to have indexing settings per repository!

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.