maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NRO <>
Subject Re: Parent SNAPSHOT not resolved Maven 2.2.1 - 3.0.4 - (Nexus repo)
Date Thu, 03 Oct 2013 10:08:17 GMT
I understand your point, but the explaination you provide is based on how it
is implemented...and not on how it is specified.

The fact that maven can resolve the same artifact when it is a dependency
means that it is not a limitation but an implementation issue.

That looks bad to me to have to add a fake repository to have Maven resolve
the parent SNAPSHOT.

Note that in my example the foo repository does not exist at all neither
http://foo URL. 
It is juste a fake declaration in the settings.xml.

This means that maven at the end, failover and still uses the mirror to go
to Nexus and retrieve the SNAPSHOT parent.

Why (repo!=mirror) applies to Parent and not to project dependencies ?

At the end we added the fake repo declaration to all our settings.xml, but
that's not very elegant, but it works.

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message