eclipse - Maven proxy configuration not working -


i know there many questions on subject somehow can't work out how use maven 3.0.5 behind proxy.

the settings.xml file inside .m2/ folder looks this

<settings xmlns="http://maven.apache.org/settings/1.0.0"   xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"   xsi:schemalocation="http://maven.apache.org/settings/1.0.0                       http://maven.apache.org/xsd/settings-1.0.0.xsd">   <proxies>    <proxy>       <id>http-proxy</id>       <active>true</active>       <protocol>http</protocol>       <host>proxyname</host>       <port>8080</port>       <username>domain\user</username>       <password>password</password>       <nonproxyhosts>127.0.0.1</nonproxyhosts>     </proxy>   </proxies> </settings> 

i added wagon-http-lighteweight-2.2.jar maven_home/lib/ext. i'm using maven inside eclipse, it's showing correct settings file in eclipse maven properties.

despite having these settings still following error message after importing spring boot project:

project build error: non-resolvable parent pom <projectname>:0.0.1-snapshot: not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.4.1.release from/to central (https://repo.maven.apache.org/maven2): failed authenticate proxy , 'parent.relativepath' points @ no local pom 

after running maven -x switch little santi suggested saw proxy not problem company work in uses lokal maven repositories had include.

i added these repositories , mirrors settings.xml , it's working fine.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -