Maven: Failed to retrieve plugin descriptor error

前端 未结 15 1758
粉色の甜心
粉色の甜心 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:09

    If you created new settings.xml file instead of copy it from somewhere else, remember to put the tag inside :

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> .....

提交回复
热议问题