2013-09-27 6 views
0

아이비, 인공물 및 봄 레포에 약간의 문제가 있습니다.담쟁이와 인공물 해결 실패

<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"/> 

아이비 설정 : 내가 사용하려고 시도했습니다 repo1은 '아무튼 나타내는

<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> 

을 그러나, 나는 오류를 받고 있어요 (개미 게시 -verbose 모드)

[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 

버전 1.3.2가 있고 스프링 메이븐 레포에는 pom이나 아무것도 없다. 스프링 메이븐 레포를 적절히 다루기 위해 아이비 (또는 아마 인공물?)를 얻으려면 어떻게해야합니까? 나는 spring repo가 ​​단순히 m2compatible이 아니라고 추측하고 있지만, ibiblio 설정을 false로 설정하려고했습니다.

감사합니다.

+0

배포 문제인 것처럼 보입니다. spring-ldap은 폼 등을 제공하지 못했습니다. Backi 아래 1.3.1까지 잘 작동합니다. – ticktock

답변

1

존재하지 않는 "xxx.com"도메인에서 다운로드하도록 설정 파일을 구성했습니다.

좋은 소식은 설정 파일이 전혀 필요 없다는 것입니다. 기본적으로 ivy는 Maven Central 저장소에서 다운로드합니다.

다음 담쟁이 파일이 작동합니다 :

나쁜 소식은 봄 LDAP 이슈의 더 1.3.2.RELEASE 버전이 없다는 것입니다

<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"/> 
+0

감사합니다. 'xxx'도메인은 내 회사 이름을 x'ing했다. 우리는 로컬 artifactory를 설정 했으므로 네, 로컬 설정 파일이 필요합니다. 도와 주셔서 감사합니다! – ticktock