Hi,

thought I would just share my experiences; file:///c:/lonfs02/EBJAVA/repository/, that is three forward slashes, has always worked for me.

maven.repo.remote=file:///C:/lonfs02/EBJAVA/repository,http://www.ibiblio.org/maven,http://dist.codehaus.org,http://www.codeczar.com/maven

Regards
Bent



On Wed, 28 Jul 2004 14:06:27 +0200, Dennis Lundberg <[EMAIL PROTECTED]> wrote:

Two things:
1. There is one slash (/) to many in your file-URL. Try this:
maven.repo.remote=file:///lonfs02/EBJAVA/repository,http://www.ibiblio.org/maven,http://dist.codehaus.org,http://www.codeczar.com/maven

2. If that doesn't work you can enter a drive-letter, like this:
maven.repo.remote=file://C:/lonfs02/EBJAVA/repository,http://www.ibiblio.org/maven,http://dist.codehaus.org,http://www.codeczar.com/maven

Peter Anning wrote:

Hi all,
We have a remote repository located on a Windows file server.
The repository could be accessed using the file: protocol in maven rc2 upgrading to 1.0 seems to have broken this. I have tested it by putting the jar in question behind a local http server and it works.
build.properties are set as:
maven.repo.remote=file:////lonfs02/EBJAVA/repository,http://www.ibiblio.org/ma
ven,http://dist.codehaus.org,http://www.codeczar.com/maven
maven.repo.remote.enabled=true
Has anyone else seen this?
Below is the stack trace.
cheers
Peter Attempting to download commons-discovery.jar.
Getting URL: file://lonfs02/EBJAVA/repository/commons-discovery/jars/commons-
dis
covery.jar
Error retrieving artifact from [file://lonfs02/EBJAVA/repository/commons-
discove
ry/jars/commons-discovery.jar]: java.net.ConnectException: Connection refused: c
onnect
Error details
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:434)
at java.net.Socket.connect(Socket.java:384)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.NetworkClient.openServer(NetworkClient.java:118)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
at sun.net.ftp.FtpClient.<init>(FtpClient.java:687)
at sun.net.www.protocol.ftp.FtpURLConnection.connect
(FtpURLConnection.ja
va:175)
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
(Depend
encyVerifier.java:326)
at org.apache.maven.verifier.DependencyVerifier.getDependencies
(Dependen
cyVerifier.java:255)
at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies
(Depe
ndencyVerifier.java:171)
at org.apache.maven.verifier.DependencyVerifier.verify
(DependencyVerifie
r.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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

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



Reply via email to