Seem to be having issues with accessing a remote repository that is stored
on a shared drive

the remote repo properties are

maven.repo.remote=file:////lonfs02//EBJAVA//repository,http://www.ibiblio.or
g/maven,http://dist.codehaus.org
maven.repo.remote.enabled=true
maven.mode.online=true
maven.proxy.host=172.24.128.87
maven.proxy.port=80


but when a developer tries downloading dependencies only stored on the file
repo by running maven from the command line they get the error. HTTP
downloads are working just fine.

BUT

if maven is run from the mevenide plugin for eclipse it WORKS...  which is
odd.

This must be some environment issue but what? i've tried changing proxy
settings and maven.repo.remote format but without success...

any ideas?

Attempting to download j2ee.jar.
Getting URL: file://lonfs02/EBJAVA/repository/j2ee/jars/j2ee.jar
Error retrieving artifact from
[file://lonfs02/EBJAVA/repository/j2ee/jars/j2ee.
jar]: java.lang.Exception: Can't get j2ee.jar to
C:\java\maven\repository\j2ee\j
ars\j2ee.jar
Getting URL: http://www.ibiblio.org/maven/j2ee/jars/j2ee.jar
File not found on one of the repos
java.io.FileNotFoundException:
http://www.ibiblio.org/maven/j2ee/jars/j2ee.jar (
HTTP Error: 404 Not Found)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:235)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:110)
        at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend
encyVerifier.java:319)
        at
org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen
cyVerifier.java:258)
        at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe
ndencyVerifier.java:170)
        at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie
r.java:96)
        at
org.apache.maven.project.Project.verifyDependencies(Project.java:1353
)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
410)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
        at org.apache.maven.cli.App.doMain(App.java:466)
        at org.apache.maven.cli.App.main(App.java:1117)
        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)
Getting URL: http://dist.codehaus.org/j2ee/jars/j2ee.jar
File not found on one of the repos
java.io.FileNotFoundException: http://dist.codehaus.org/j2ee/jars/j2ee.jar
(HTTP
 Error: 404 Not Found)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:235)
        at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:110)
        at
org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact(Depend
encyVerifier.java:319)
        at
org.apache.maven.verifier.DependencyVerifier.getDependencies(Dependen
cyVerifier.java:258)
        at
org.apache.maven.verifier.DependencyVerifier.satisfyDependencies(Depe
ndencyVerifier.java:170)
        at
org.apache.maven.verifier.DependencyVerifier.verify(DependencyVerifie
r.java:96)
        at
org.apache.maven.project.Project.verifyDependencies(Project.java:1353
)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
410)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
        at org.apache.maven.cli.App.doMain(App.java:466)
        at org.apache.maven.cli.App.main(App.java:1117)
        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)
WARNING: Failed to download j2ee.jar.
The build cannot continue because of the following unsatisfied dependency:

j2ee.jar (no download url specified)

Total time: 2 seconds
Finished at: Thu May 27 10:29:14 BST 2004


......................................................................
BUPA
.....................................................................
BUPA House, 15-19 Bloomsbury Way, London, WC1A 2BA
.....................................................................
Internet communications are not secure and therefore BUPA does
not accept legal responsibility for the contents of this message. Any 
views or opinions presented are solely those of the author and do 
not necessarily represent those of BUPA.
.....................................................................

Reply via email to