On Fri, Jul 8, 2011 at 4:09 PM, Maven User <[email protected]> wrote:
> When I was building without the additional repository defined, maven (maven
> 3.0.3) was unable to find the parent pom.  Once I added this extra
> repository, boom - it all works.

It worked because you had <snapshots><enabled>true somewhere.

> What's extra confusing is I have <mirrorOf>*</mirrorOf> - shouldn't that say
> "this url is a mirror of EVERYTHING?

That means it'll be a mirror for any repository defined in
settings.xml or pom.xml.  If none of those repos have snapshots
enabled, Maven won't download any snapshots.

> But I'm not saying I'm mirroring JUST central, I thought I was saying "I'm
> mirroring every repository you could possibly need".
> See my comment about the <mirrorOf>*</mirrorOf>.

No, it just means, "When you go through your list of known
repositories, substitute this url instead of the original one
defined."

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to