[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-user
Subject: Re: Cannot retrieve parent snapshot pom, but can depend on it - why?
From: NRO <nourredine.rouibah () gmail ! com>
Date: 2013-09-30 10:25:28
Message-ID: 1380536728499-5772160.post () n5 ! nabble ! com
[Download RAW message or body]
Hello,
We are facing a slightly similar problem.
We are using Nexus.
Our settings.xml file has a mirror section with "*" resolves to our Nexus
server.
Maven can resolve a SNAPSHOT dependency but cannot resolve a Parent
SNAPSHOT.
The only way we found to make this happen is to:
Exclude the snapshot repository from the mirror and to add a specific
repository definition in the settings.xml file.
If we change the settings.xml file to:
[...]
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*,!internal.project.snapshot</mirrorOf>
<url>http://foo.bar.com:15000/nexus/content/groups/public</url>
</mirror>
</mirrors>
[...]
<repositories>
<repository>
<id>internal.project.snapshot</id>
<name>internal.project.snapshot</name>
<url>
http://foo.bar.com:15000/nexus/content/repositories/project_snapshot/
</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<releases>
<enabled>false</enabled>
<updatePolicy>never</updatePolicy>
</releases>
</repository>
</repositories>
[...]
--
View this message in context: \
http://maven.40175.n5.nabble.com/Cannot-retrieve-parent-snapshot-pom-but-can-depend-on-it-why-tp3401886p5772160.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic