eclipse误将maven库删除后恢复的方法

在项目.classpath下面里面加入eclipse

<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
maven

</classpathentry>spa


项目右键maven-upload便可恢复ip