Maven: Failed to retrieve plugin descriptor error

前端 未结 15 1741
粉色の甜心
粉色の甜心 2020-11-28 23:23

I configured Maven 3.0.3 and tried to download a sample project using archetypes with this command:

mvn archetype:generate -DarchetypeGroupId=org.graniteds.         


        
15条回答
  •  野性不改
    2020-11-29 00:15

    I had the same issue in Windows

    and it worked since my proxy configuration in settings.xml file was changed

    So locate and edit the file inside the \conf folder, for example : C:\Program Files\apache-maven-3.2.5\conf

    
        
      
    
    • In my case i had to chage from port 80 to 8080
    • If you can´t edit this file that is located inside /program files you can make a copy, edit the file and replace the file located into /program files folder.

提交回复
热议问题