myeclipse建立maven是pom.xml报错

用MyEclipse10建立maven web工程的时候,POM.XML总是报错,错误信息如下。还请大神们帮帮忙啊~~ 小弟感激涕零!!
Multiple annotations found at this line:
- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the
repositories [local (C:\Users\Guan Yang.m2\repository), central (http://repo1.maven.org/maven2)]
- Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 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-resources-plugin:pom:2.4.3 from/to central (http://repo1.maven.org/maven2): null to
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-
plugin-2.4.3.pom

是新安装的maven吧。在命令行中输入mvn help:system,等下载完成再刷新看看。http://www.blogjava.net/fancydeepin/archive/2012/07/13/eclipse_maven3_plugin.html

在pom里添加:

         <dependency>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-resources-plugin</artifactId>
            <version>2.5</version>
        </dependency>

重启后就好了