Fix to Maven on NetBeans using a proxy

Recently I started using Maven for my JAVA projects on NetBeans and as I am under a proxy where I work, NetBeans was having problems downloading the repository from even if you have set under preferences to use the proxy system configuration. Here is the solution.

Look if you have a settings.xml under the maven folder in your user:

If you don’t have it, you can copy it from your NetBeans folder (OS X):

Then uncomment the proxies section as follow: