Eclipse 将动态Web项目转换为Maven项目

Eclipse 将动态Web项目转换为Maven项目,eclipse,maven,tomcat7,Eclipse,Maven,Tomcat7,我在eclipse中将我的动态Web项目转换为Maven项目。我的pom文件中有错误,我无法进行Maven清理。我需要做什么 以下是一些我希望能帮助您了解问题所在的信息: 在执行Maven clean时,我得到一个构建失败的反馈: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descr

我在eclipse中将我的动态Web项目转换为Maven项目。我的pom文件中有错误,我无法进行Maven清理。我需要做什么

以下是一些我希望能帮助您了解问题所在的信息:

在执行Maven clean时,我得到一个构建失败的反馈:

Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (http://repo.maven.apache.org/maven2): connect timed out -> [Help 1]
我的pom文件有两个错误:

第一个错误在该行:

<project xmlns="http://maven.apache.org/POM/4.0.0"
<plugins>

尝试使用以下方法:右键单击project,然后在Maven中单击更新project…。然后通过选中强制更新快照/发布来更新项目