Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.pom. Return code is: 501, ReasonPhrase:HTTPS Required. -> [Help 1]
这个问题是没有找到对应的文件
解决办法步骤:
1.修改maven的setting.xml文件
2.找到/I:/Program Files (x86)/JavaMaven/apache-maven-3.0.4/repository标签
3.把标签里面的路径填如你maven的repository位置
修改完再运行就成功了