Maybe someone can help me with the following Problem:
I have declared a proxy in M
as described at maven - Configuring a proxy.
For some reason the proxy is ignored, although the proxy itself works correctly with maven when setting the proxy via command line.
When calling the maven goal like this, it works:
mvn -DproxySet=true -DproxyHost=myproxy.com -DproxyPort=3128 eclipse:eclipse
Any suggestions for this problem?
When
settings.xml
is ignored, I tend to check first if the environment variableM2_HOME
:settings.xml
mglauche comments:
For Maven Eclipse, as mglauche mentions in the comments, specify the full path in the maven preferences: