Posts

Showing posts from June, 2018

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:3.1 or one of its dependencies could not be resolved.

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:3.1 or one of its dependencies could not be resolved . First of all, check the maven repositiory server is up. 1. Check Proxy is set up and working First I thought it was a proxy problem, I made sure that maven settings.xml contained the proxy settings (settings.xml can exist in two places one in MAVEN_HOME. The other in %userprofile%.m2\ with the later having higher precedence): <proxy>   <id> optional </id>   <active> true </active>     <protocol> http </protocol>   <username> optional-proxyuser </username>   <password> optional-proxypass </password>   <host> proxy.host.net </host>   <port> 80 </port>   <nonProxyHosts> local.net|some.host.com </nonProxyHosts> </proxy> and checked that the proxy is working by trying to telnet to it: telnet [proxy] [port num