Posts

Showing posts with the label eclipse

Maven Proxy setting issues for NTLM Proxy Users

Image
Follow the following steps and the problem would be resolved. 1. Download and install cNTLM for windows. 2. Configure cNTLM as shown below: Open cntlm.ini configuration file. Configure cntlm.ini file Set user name. Set domain name Set user's password. Set Proxy IP and Port. Note down Listen port to set in maven's settings.xml file. Now save and close cntlm.ini file. 3. Open maven settings.xml file and set proxy settings as follows:     <settings>        <proxies>              <proxy>                     <active>true</active>                     <protocol>http</protocol>                     <host> 127.0.0.1 </host>                 ...

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...