여기에서, 우리는 Sonatype Maven 저장소를 사용합니다. 이것은 우리의 Maven 프로젝트에 유쾌하지만, Maven에서 dep가 필요한 의존성 관리를 위해 Ant + IVY를 사용하는 레거시 애플리케이션이 있습니다.내부 메이븐 저장소에 액세스 IVY
는내 IVY 설정 파일과 같이 보인다 :
<ivysettings>
<property name="dsnexus-root" value="http://internal-url/" override="false"/>
<credentials host="hostname" username="username" passwd="XXXX"/>
<!-- ... -->
<resolvers>
<chain name="shared">
<url name="shared-default">
<!-- ... -->
</url>
<url name="dsnexus-public" m2compatible="true">
<artifact pattern="${dsnexus-root}/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"/>
</url>
</chain>
</resolvers>
<modules>
<module organisation=".*" name=".*" resolver="shared"/>
</modules>
<!-- ... -->
</ivysettings>
하지만 내 deps를 해결하려고 할 때 내부의 repo
예를 들어, 아무것도 찾을 수 없습니다
module not found: xerces#xercesImpl;2.9.1
==== shared-default: tried
...
==== dsnexus-public: tried
-- artifact xerces#xercesImpl;2.9.1!xercesImpl.jar:
http://internal-url/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
물론 해당 URL에는 dep가 있습니다.
또한
<ibiblio name="dsnexus-public"
root="${dsnexus-root}"
m2compatible="true"
namespace="maven2"/>
시도와 같은 결과를 가지고있다.
내 생각 엔 내가 잘못한 자격 증명에 관한 것이 있습니다.
흠, 나는 이것을 시도 할 것이다. 내가 궁금해하는 영역의 실제 이름을 어떻게 발견 할 수 있습니까? –