首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >常春藤与艺术解决失败

常春藤与艺术解决失败
EN

Stack Overflow用户
提问于 2013-09-27 19:14:23
回答 1查看 649关注 0票数 0

与常春藤,艺术和春季回购有一个小问题。我试着用:

代码语言:javascript
复制
<dependency org="org.springframework.ldap"      name="spring-ldap-core" rev="1.3.2.RELEASE"         conf="compile->default"/>
<dependency org="org.springframework.ldap"      name="spring-ldap"      rev="1.3.2.RELEASE"         conf="compile->default"/>

常春藤设置:

代码语言:javascript
复制
<resolvers>
  <filesystem name="local">
    <ivy pattern="${repository.dir}/[module]/ivy.xml" />
    <artifact pattern="${repository.dir}/[module]/[artifact].[ext]" />
  </filesystem>
  <chain name="chain">
    <resolver ref="local"/>
    <ibiblio name="artifactory-spring" m2compatible="true" root="http://artifactory.xxx.com:8081/artifactory/spring-release"/>
    <ibiblio name="artifactory"        m2compatible="true"  root="http://artifactory.xxx.com:8081/artifactory/repo1"/>
  </chain>
</resolvers>

但是,我得到了错误(ant发布-verbose模式)

代码语言:javascript
复制
[ivy:cachepath] CLIENT ERROR: Not Found url=http://artifactory.xxx.com:8081/artifactory/spring-release/spring-ldap/jars/spring-ldap-1.3.2.RELEASE.jar
[ivy:cachepath]     artifactory-spring: no ivy file nor artifact found for org.springframework.ldap#spring-ldap;1.3.2.RELEASE
[ivy:cachepath]         tried http://artifactory.xxx.com:8081/artifactory/repo1/org/springframework/ldap/spring-ldap/1.3.2.RELEASE/spring-ldap-1.3.2.RELEASE.pom
[ivy:cachepath] CLIENT ERROR: Not Found url=http://artifactory.xxx.com:8081/artifactory/repo1/org/springframework/ldap/spring-ldap/1.3.2.RELEASE/spring-ldap-1.3.2.RELEASE.pom
[ivy:cachepath]         tried http://artifactory.xxx.com:8081/artifactory/repo1/org/springframework/ldap/spring-ldap/1.3.2.RELEASE/spring-ldap-1.3.2.RELEASE.jar
[ivy:cachepath] CLIENT ERROR: Not Found url=http://artifactory.xxx.com:8081/artifactory/repo1/org/springframework/ldap/spring-ldap/1.3.2.RELEASE/spring-ldap-1.3.2.RELEASE.jar

指示repo1没有1.3.2版本,spring回购没有pom或任何东西。我怎么得到常春藤(或者可能是工匠?)才能处理好春季回购吗?我猜想spring根本不是m2compatible,尽管我已经尝试过将ibiblio设置标记为false。

谢谢!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-09-27 22:01:58

您已经将设置文件配置为从不存在的"xxx.com“域下载。

好消息是,您根本不需要设置文件,默认情况下,常春藤将从Maven Central存储库下载。

坏消息是没有1.3.2 version版本的spring工件:

  • spring-ldap子
  • spring-ldap代码版本

以下常春藤文件工作:

代码语言:javascript
复制
  <dependency org="org.springframework.ldap"      name="spring-ldap-core" rev="1.3.2.RELEASE"         conf="compile->default"/>
  <dependency org="org.springframework.ldap"      name="spring-ldap"      rev="1.3.1.RELEASE"         conf="compile->default"/>
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19058420

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档