Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies
解决方案:
 在 pom.xml 文件中添加:
<dependency>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-resources-plugin</artifactId>
    <version>2.4.3</version>
</dependency>
在 settings.xml 文件中添加:
<mirror> 
    <id>Central</id> 
    <url>http://repo1.maven.org/maven2</url> 
    <mirrorOf>central</mirrorOf> 
</mirror>
然后执行Maven install命令就会自动下载
 亲测有效!!!(一般在pom.xml里添加完代码再执行命令等待就解决了)









