【问题标题】:Artifactory remote repos and TerracotaArtifactory 远程仓库和兵马俑
【发布时间】:2012-07-27 20:57:48
【问题描述】:

我想设置我的 maven settings.xml 文件以从 Artifactory 缓存下载所有外部依赖项,而不是直接从任何公共存储库(如 repo1、repo2 或 Jboss)下载它们。我按照http://wiki.jfrog.org/confluence/display/RTF/Configuring+Artifacts+Resolution 的说明进行操作,但我遇到了 terracota 库的错误,错误是:

    Could not find artifact net.sf.ehcache:ehcache-terracotta:jar:2.5.0 in remote-repos

我尝试在远程存储库部分添加 terracota 存储库,但这也不起作用。

请指教。

【问题讨论】:

    标签: artifactory


    【解决方案1】:

    我能想到几种可能性:

    1. 您的远程存储库缓存未配置为指向包含 Terracotta 文件的远程存储库
    2. 解决对 Terracotta 的依赖项时,您的构建未使用正确的组织或模块名称。

    您能否在问题中添加一些信息,详细说明您在哪里看到错误消息,以及您是否可以在 Artifactory 中浏览到 ehcache-terracotta 2.5.0 版?

    【讨论】:

    • 我看到执行 maven 全新安装命令时出错。我浏览了 artifactory 存储库中的 ehcache-terracota 2.5.0,但它不存在。这是我在 pom 文件中包含的唯一 ehcache jar: net.sf.ehcacheehcache2.5.0pom编译code
    • 这是我如何在 aretifactory imageshack.us/photo/my-images/266/capturehhy.jpg 中添加 terracota repo 的截图
    【解决方案2】:

    请将兵马俑库添加到您的工件中

    这是网址=http://www.terracotta.org/download/reflector/releases 如果 repo 的测试不起作用,请不要担心...

    最后一步是进入 Edit Virtual Repository 并将新的 terracotta repo 添加到名为“Remote Repo”的虚拟存储库中。

    【讨论】:

      猜你喜欢
      • 2013-08-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-15
      • 2014-03-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多