Code Bye

mvn:install安装错误,怎么删除后重新安装

用mvn install:install-file安装的生活,DgroupId打错了。

重新install的时候提示Artifact is already in the local repository。

要怎么删除原先安装的。

解决方案:40分
http://stackoverflow.com/questions/9988419/maven-could-not-find-artifact-that-already-exists-in-repository
 

I am not sure how this could have happened, but the central has this artifact but with Final in its folder path and not FINAL.

Can you change your pom.xml to use Final and delete the existing local repository folder m2\repository\org\hibernate\hibernate-entitymanager\3.6.2.FINAL so that it can download again?

 

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明mvn:install安装错误,怎么删除后重新安装