maven-jetty-plugin does not exist or no valid version could be found

解决方案:

 

在maven安装目录下的conf文件夹里找到settings.xml

修改其中一段:

<pluginGroups>
    <!-- pluginGroup
     | Specifies a further group identifier to use for plugin lookup.
    <pluginGroup>com.your.plugins</pluginGroup>
    -->
 <pluginGroup>org.mortbay.jetty</pluginGroup>
</pluginGroups>

即可解决

你可能感兴趣的:(maven,xml)