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]