It seems like you have an extra forward slash in the definition of the file 
protocol

try

maven.repo.remote = file://M:/Shared
maven.repo.remote.directory = repository

see if it works,
Markos Charatzas

On Monday 07 March 2005 18:43, Andrew Watters wrote:
> Thank you for the suggestion.
>
> I have tried
>
> file:///M:/Shared/repository
> file:///M|/Shared/repository
> file:////Vindaloo/Shared/repository (Vindaloo is the share name for M:)
>
> None of which work unfortunately. M| is giving me a
> java.net.UnknownHostException for M: with the stack trace below. I'm
> suprised by the contents of the stack trace. It appears to be trying to
> open an FTP connection?
>
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>         at java.net.Socket.connect(Socket.java:507)
>         at java.net.Socket.connect(Socket.java:457)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>         at sun.net.NetworkClient.openServer(NetworkClient.java:118)
>         at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
>         at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
>         at
> sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270
>) at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:421) at
> org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287) at
> org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181) at
> org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(DependencyVe
>rifier.java:326) at
> org.apache.maven.verifier.DependencyVerifier.getDependencies(DependencyVeri
>fier.java:255) at
> org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Dependency
>Verifier.java:171) at
> org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifier.java
>:97) at
> org.apache.maven.project.Project.verifyDependencies(Project.java:1365) at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:510)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266) at
> org.apache.maven.cli.App.doMain(App.java:486)
>         at org.apache.maven.cli.App.main(App.java:1215)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
>
> Jörg Schaible wrote:
> >Andrew Watters wrote on Monday, March 07, 2005 4:51 PM:
> >>I have an internal repository set up (thanks to help here!) but I
> >>can't download artifacts from it.
> >>
> >>In my project.properties I have
> >>maven.repo.remote=file:///M:/Shared/repository,http://www.ibib
> >>lio.org/maven,http://www.codeczar.com/maven
> >>
> >>If I run 'maven jar -X' I can see that maven asks 'ibiblio' and
> >>'codeczar' for the JAR but it doesn't try to access 'M'. How can I
> >>make it look there also?
> >
> >Try:
> >maven.repo.remote=file:///M|/Shared/repository,http://www.ibiblio.org/mave
> >n,http://www.codeczar.com/maven
> >
> >The '|' is normally taken as a replacement for ':' since the second colon
> > results in an invalid URL.
> >
> >- Jörg
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to