Wednesday 16 April 2014

Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5

Solution :
Under .M2 folder(hint: click on start->search for .M2 it will show list of folders select .M2 folder)

Settings.xml file might be missing proxy settings or

Your proxy settings password expired

Just in case if you don't have any proxy details you can use this

<?xml version="1.0"?>
<settings>
 <proxies>
  <proxy>
   <active>true</active>
   <protocol>http</protocol>
   <host>proxyurl</host>
   <port>8080</port>
   <username>proxyusername</username>
   <password>password</password>
  </proxy>
 </proxies>
</settings>


And after that go to Eclipse 

Right click on your project after that
Maven -> Update your project - >
Click Force update of  snapshots / Releases




No comments:

Post a Comment