for UNC you need 3 slashes http://ucb.openoffice.org/docs/fileurl.html
<url>file:///some/file/on/a/server</url> -D On 4/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I'm not sure, but this works for me in my settings.xml > > > <profile> > <id>localRepository</id> > <repositories> > <repository> > <id>local</id> > <name>Local Repository</name> > <url>file://some/file/on/a/server</url> > <layout>default</layout> > </repository> > </repositories> > </profile> > > ... > > <activeProfiles> > <activeProfile>localRepository</activeProfile> > </activeProfiles> > > HTH, > > -j > > --------------------------------------------------- > Justin Fung > [EMAIL PROTECTED] > Sr. Analyst, Business Systems > IT Banking Systems, e-Business > HSBC Bank Canada > http://www.hsbc.ca > p: (604) 643-6605 > f: (604) 643-6727 > > > > > > > > > "EJ Ciramella" <[EMAIL PROTECTED]> > 04/06/2006 01:24 PM > Please respond to "Maven Users List" > > > To: "Maven Users List" <[email protected]> > cc: > Subject: Internal (intranet) repositories > > Our Ref: > Your Ref: > > > I'm trying hard to use a fileserver as an internal repository (I saw > this somewhere in the documentation): > > Such an internal repository can be downloaded from using HTTP or the > file system (using a file:// URL), and uploaded to using SCP, FTP, or a > file copy. > > > <repositories> > <repository> > <id>central-2</id> > <name>Upromise Maven Repository</name> > <url>file://somefileserver/mavenrepository</url> > </repository> > </repositories> > > the (real) path works just fine for windows explorer, but when I run mvn > compile, I see it go to: > > Downloading: http://repo1.maven.org/maven2..... > > what am I doing wrong? > > > > *************************************************************** > This email may contain confidential information, and is intended only for > the named recipient and may be privileged. Distribution or copying of > this email by anyone other than the named recipient is prohibited. If you > are not the named recipient, please notify us immediately and permanently > destroy this email and all copies of it. Internet email is not private, > secure, or reliable. No member of the HSBC Group is liable for any errors > or omissions in the content or transmission of this email. Any opinions > contained in this email are solely those of the author and, unless clearly > indicated otherwise in writing, are not endorsed by any member of the HSBC > Group. > *************************************************************** > Ce courriel peut renfermer des renseignements confidentiels et privilégiés > et s'adresse au destinataire désigné seulement. La distribution ou la > copie de ce courriel par toute personne autre que le destinataire désigné > est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous > en aviser immédiatement et détruire de façon permanente ce courriel ainsi > que toute copie de celui-ci. La transmission de courriel par Internet ne > constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. > Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des > omissions relatives au contenu ou à la transmission de ce courriel. > L'auteur de ce courriel est seul responsable des opinions émises dans ce > courriel, lesquelles, à moins d'un avis contraire fourni par écrit, ne > sont pas endossées par aucun membre du Groupe HSBC. > *************************************************************** > >
