I use Eclipse Juno at work behind proxy. When I try to create maven project with m2e plugin I get an error "Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quickstart:RELEASE from any of the configured repositories." The reason is that no proxy settings in maven settings.xml file (even if the proxy settings exists in the Eclipse preferences).
Go to Window - Preferences - Maven - User Settings - Browse. If settings.xml file does not exist, create it with proxy parameters:
Go to Window - Preferences - Maven - User Settings - Browse. If settings.xml file does not exist, create it with proxy parameters:
<proxies>
<proxy>
<id>myId</id>
<active>true</active>
<protocol>http</protocol>
<username>MyUser</username>
<password>MyPassword</password>
<host>my.proxy.host</host>
<port>myproxyport</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
</proxies>