MAVEN项目导入我的工程错误。。

No plugin found for prefix 'war' in the current project and in the plugin groups [] available
from the repositories [local (D:\mawen\Repositoy), central (http://repo1.maven.org/m

CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-
plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for
org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: UnresolvableModelException: Failure to
transfer org.apache.maven.plugins:maven-plugins:pom:18 from http://repo1.maven.org/maven2
was cached in the local repository, resolution will not be reattempted until the update interval of
central has elapsed or updates are forced. Original error: Could not transfer artifact
org.apache.maven.plugins:maven-plugins:pom:18 from/to central (http://repo1.maven.org/maven2):
No response received after 60000
这两个问题怎么解决 谢谢。。

你的描述不够清楚,不确定有什么问题
1.resouces-plugin一般是用在maven的resource生命周期的,配置标签应该用<build><plugins><plugin>
2.install是不会往某个目录下拷贝多余的jar包的,除非你们有绑定任务到该阶段,我猜这些jar是在resource阶段拷过去的或者lib目录是你的本地maven库?
贴出你的POM配置和报错信息看下
温馨提示:答案为网友推荐,仅供参考
第1个回答  2015-07-02
插件的一些依赖jar没有下载正确,http://repo1.maven.org/http://search.maven.org/ 代替下试试来自:求助得到的回答本回答被网友采纳
第1个回答  2015-07-02
你的这个问题解决了吗? 是怎么解决的,求解。。。。。。
相似回答