2013-09-27 4 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"/> 

с настройками плюща:

<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 

что указывает repo1 Безразлично» t имеют версию 1.3.2, а регенерация весны maven не имеет ничего или ничего. Как мне получить плющ (или, может быть, искусственный?), Чтобы правильно справиться с репетицией весеннего maven? Я предполагаю, что весенний репо просто не совместим с сотнями, хотя я попытался помечать параметр ibiblio false для этого.

Спасибо!

+0

Кажется, проблема с развертыванием .. spring-ldap не удалось доставить посты и т. Д. Backi ng до 1.3.1 отлично работает. – ticktock

ответ

1

Вы установили свой файл настроек для загрузки из несуществующего домена «xxx.com».

Хорошей новостью является то, что вам не нужен файл настроек вообще, по умолчанию ivy будет загружаться из репозитория Maven Central.

Плохая новость в том, что нет 1.3.2.RELEASE версии весны-Ldap артефакта:

следующего файл плющ работа:

<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» был всего лишь моим именем моей компании. У нас есть локальная артефактура, поэтому да, мне нужен файл локальных настроек. Спасибо за помощь! – ticktock

Смежные вопросы