Proxy settings for Maven are specified in the settings.xml file. There are two possible locations for the settings.xml file.
netbeans.home/java/maven/conf/settings.xml.
This file is located in the Maven installation that is bundled with the IDE.
This file contains the global settings for the Maven installation; you should not edit it.
user.home/.m2/settings.xml.
This file is located next to your local repository and contains the user settings for users of the local repository.
If the local repository does not contain a settings.xml file you can copy the global settings file from the Maven installation location.
ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5 from/to central (http://repo.maven.apache.org/maven2): Malformed reply from SOCKS server - [Help 1]
Failed to read artifact descriptor for maven-resources-plugin
How to solve maven 2.6 resource plugin dependency?
Why Netbeans doesn't pick up on Maven proxy settings