brief-engineer-67497
11/02/2018, 11:16 AMbrief-engineer-67497
11/02/2018, 11:18 AM<ivysettings>
<credentials host="my-nexus.com"
realm="Sonatype Nexus Repository Manager"
username="${login}"
passwd="${password}"/>
<property name="web.ivy.pattern"
value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
override="false" />
<property name="web.artifact.pattern"
value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"
override="false" />
<settings defaultResolver="chain-repos"/>
<resolvers>
<chain name="chain-repos" returnFirst="true">
<ibiblio name="my-nexus.com"
m2compatible="true"
usepoms="true"
root="https://my-nexus.com/repository/releases-sandbox/"/>
</chain>
<!--<url name="my-nexus.com"-->
<!--m2compatible="true">-->
<!--<artifact pattern="https://my-nexus.com/content/groups/global/${web.artifact.pattern}" />-->
<!--</url>-->
<url name="my-nexus.com" m2compatible="true">
<ivy pattern="https://my-nexus.com/repository/releases-sandbox/${web.ivy.pattern}" />
<artifact pattern="https://my-nexus.com/repository/releases-sandbox/${web.artifact.pattern}" />
</url>
</resolvers>
</ivysettings>