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

前端 未结 29 1649
执笔经年
执笔经年 2020-11-22 11:56
org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Faile         


        
29条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 12:20

    I could solve the issue with the following steps

    1. Install Maven separately
      https://www.mkyong.com/maven/how-to-install-maven-in-windows/
    2. Set the external Maven installation in Eclipse


    3. Set the proxy in settings.xml in Maven installation
    (C:\path\apache-maven-3.6.0\conf)

    
     optional
     true
     http
     optional-proxyuser
     optional-proxypass
     proxy.host.net
     80
     local.net|some.host.com
    
    
    1. Update the Maven User Settings

    2. Update Maven project

提交回复
热议问题