【发布时间】:2011-07-07 10:26:05
【问题描述】:
我正在使用 Teamcity 来构建 基于 Maven 的 Java 项目。
我最近在我的 Nexus Repository Manager 中添加了一个第三方工件。现在,当我构建项目时,我收到以下错误:
[core:project1] Failed to execute goal on project project1: Could not resolve dependencies for project core:project1:jar:1.0.0: Failure to find com.oracle:ojdbc:jar:11.2.0.2.0 in http://localhost:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
谁能告诉我如何FORCE更新我的构建服务器上的本地存储库缓存?这和 Maven settings.xml 有关吗?
【问题讨论】:
标签: maven teamcity nexus dependency-management