That is and isn't a bug. It is a bug insomuch that it is not expected
behavior - it isn't a bug because you told Maven to create it. Maven (fairly
universally) uses the Java convention: when you give an absolute path, it'll
use it, otherwise, it's relative.

If you are running windows that means your path must begin with drive
letter. If you are using a *nix system, it must begin with root (/)... the
example you gave does neither, so the Maven runtime assumes that the
directory is local. If you want the repo to be in /lib, you'll need to set
file:///lib (three slashes) not file://lib.

Go head and file a JIRA though, since this might trip others up - I can't
imagine why anyone would want a relative repo.

Eric

On 2/20/07, Holger Hoffstaette <[EMAIL PROTECTED]> wrote:

Forgot to mention..

> 2.0.5 has decided to create my repository directories for me.

..when running eclipse:eclipse for the project. It's repeatable
too: no lib dir is created with 2.0.4, it immediately appears when run
with 2.0.5.

thanks
Holger



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




--
Eric Redmond
http://codehaus.org/~eredmond

Reply via email to