Jonathan Anstey wrote on Monday, February 26, 2007 2:18 PM:

> mark_in_gr wrote:
>> I have a pom.xml with basic <distributionManagement> settings which
>> should copy an artifact to a directory on my local filesystem,
>> however, no artifact is being sent there. The child <id> element
>> value under <distributionManagement> section matches an <id> value
>> in my settings.xml file. 
>> 
>> Why is this file not being copied to the location specified by the
>> <distributionManagement><url> value?
>> 
> Did you include the file:// prefix as shown below?
> 
> <url>file:///path/to/repo</url> (this is a *NIX style path...)

What is "path" for you?

If path does not contain a drive letter, you will find your repo at

<Windows System Drive>:\path\to\repo

:)

A file URL is assembled by:
[protocol][host][local path]

e.g:

file://localhost/c:\path\to\repo

the "localhost" can be omitted as it is used implicitly, the backslashes in the 
local path can be replaces by normal slashes. So to address a folder on the 
network, you may write

file:///\\server\folder\path\to\repo which is equivalent to 
file://///server/folder/path/to/repo (which is what we actually use)

Hope this helps.

- Jörg

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

Reply via email to