On 8/24/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

> Is there a way to control what the local repository is?  I've done
> some searching found -Dmaven.repo.local, but it doesn't work:

It works for me.  It's what I use to test 'does this build with a
clean local repo' to make sure all necessary dependencies are
available in a remote repo.

> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.codehaus.plexus:plexus-utils:jar:1.1

Strange, since it's right there:
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/

In the build output, I don't see it downloading anything at all, as if
it can't connect to any remote repos.

That it works if you don't specify a different local repo makes
sense-- it already has the artifacts in the local repo and doesn't
need to download them.

(BTW, I opened MNG-3165 to publish the 2.0.7 reference docs. I'm ssh
key-less at the moment, haven't moved everything over to the new
laptop yet.)

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to