Thanks Wim

I tried that but it doesn't work for me. It creates the JAR and says it has copied it but I can't where it has copied it to. Certainly not where I was expecting. I'll have to have a play with it.

I now have another question, I guess I'll start a separate post.

Thanks for your help.


Deblauwe, Wim wrote:

You can use UNC path names using 4 slahes:

file:////myserver/myshare

regards,

Wim

PS: Does anybody know why FireFox requires 5 slahes, like
file://///myserver/myshare ?

-----Original Message-----
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: maandag 7 maart 2005 14:47
To: Maven Users List
Subject: Re: Setting up internal repository



I don't think you can use the "file" protocol from Java to access another computer from windows shares. You should mount the Shared folder from Vindaloo (let's say "V:") and use it in your repository path :

maven.repo.remote=file:///V:/repository
maven.repo.internalrepository=file:///V:

in a file URL, the third "/" means "localhost root", this is the reason your jar is deployed to C:/
"file:///" == "file://localhost/"


You can try to use "file://Vindaloo/", but I've no idea if it may work.

Nico.

Andrew Watters a écrit :



I'm trying to set up an internal repository, in the first instance using the file protocol.

In project.properties I have added




maven.repo.remote=http://www.ibiblio.org/maven,http://www.codeczar.com/maven
,file:///Vindaloo/Shared/repository


maven.repo.list=internalrepository
maven.repo.internalrepository=file:///Vindaloo/Shared
maven.repo.internalrepository.directory=/repository

Vindaloo is the name of the share I want to use as a local repository.

I run 'maven jar:deploy'. The JAR is generated ok but it is published to 'C:\Vindaloo\Shared\repository' rather than "\\Vindaloo\Shared\repository".

What have I done wrong please?

Thanks
Andrew


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




This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.





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



Reply via email to