maven Failed to copy file for artifact

While building project:
Group-Id: xxx
Artifact-Id: xxxx
Version: x.x.x
From file: E:workspacexxxxpom.xml

Reason: Failed to copy file for artifact[xxx:xxxx:jar:x.x.x:compile]


错误原因是:要下载的这个xxx.xxxx.x.x.x.jar这个包,在本地已经有一个xxxx的工程,先将这工程关掉,然后再去maven war:inplace一下就不会有 问题了。


原文地址:https://www.cnblogs.com/blogyuan/p/3739641.html