maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <>
Subject Re: Parent SNAPSHOT not resolved Maven 2.2.1 - 3.0.4 - (Nexus repo)
Date Thu, 03 Oct 2013 10:11:08 GMT
It should be the same for deps as well as parents. One difference could be
if you have a repo declared in the pom (not setiings.xml). It might be that
that repo is only used for deps and not the parent, I don't know.


On Thu, Oct 3, 2013 at 12:08 PM, NRO <> wrote:

> 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:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message