maven 3 jar存在,但构建失败

时间:2013-02-19 20:07:36

标签: maven maven-3

当我构建自己的项目时,我遇到了错误:

Failure to find com.google.gwt:gwt-user:jar:2.5 in http://repo.maven.apache.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

但实际上这个罐子存在于我当地的回购中。 我在〜/ .m2中也有settings.xml,但这是我公司回购的设置,也许这​​就是原因。但我试着没有这个文件但是失败了。

那么我如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

在命令行构建中尝试-U