maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cameron101 <cameron...@gmail.com>
Subject Is connection timeout configurable?
Date Mon, 20 Feb 2006 12:00:08 GMT
I'm attempting to pull down the latest xfire 1.0-RC1 jars/poms and
subsequent dependecies but have been ecountering timeout issues for the last
24hours (I even tried overnight too :-( ).  I have the following repos
mapped:

<repository>
   <id>http://dist.codehaus.org</id>
   <name>Codehaus Repository</name>
   <url>http://dist.codehaus.org</url>
   <layout>legacy</layout>
  </repository>
  <repository>
   <id>http://www.ibiblio.org/maven2</id>
   <name>Maven Repository Switchboard</name>
   <url>http://www.ibiblio.org/maven2</url>
   <layout>default</layout>
  </repository>
  <repository>
   <id>java.net</id>
   <name>java.net public repo</name>
   <url>https://maven-repository.dev.java.net/nonav/repository</url>
   <layout>legacy</layout>
  </repository>

BUT KEEP encountering down load failures.  I've tried from home, and work
but still no joy.
Is it possible to set the connection timeout?  If so how?

many thanks in advance.

Downloading:
https://maven-repository.dev.java.net/nonav/repository/xfire/poms/XmlSchema-20060128-patched.pom
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: xfire:XmlSchema

Reason: Error getting POM for 'xfire:XmlSchema' from the repository: Error
transferring file
  xfire:XmlSchema:pom:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)



[INFO]
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency information: Unable to read the metadata file for artifact
'xfire:Xml
Schema:jar': Error getting POM for 'xfire:XmlSchema' from the repository:
Error transferring file
  xfire:XmlSchema:pom:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)

  xfire:XmlSchema:jar:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)
Path to dependency:
        1) com.companyname.corpsys:casemgmt-data-access:jar:1.0-SNAPSHOT
        2) org.codehaus.xfire:xfire-all:jar:1.0-RC1
        3) org.codehaus.xfire:xfire-aegis:jar:1.0-RC1
        4) org.codehaus.xfire:xfire-core:jar:1.0-RC1


        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:548)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:472)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:303)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:270)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:139)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Unable to get dependency information: Unable to read the metadata file for
artifact 'xfire:XmlSchema:jar': Error getting POM for 'xfire:XmlSchema' from
the repository: Error transferring file
  xfire:XmlSchema:pom:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)

  xfire:XmlSchema:jar:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)
Path to dependency:
        1) com.companyname.corpsys:casemgmt-data-access:jar:1.0-SNAPSHOT
        2) org.codehaus.xfire:xfire-all:jar:1.0-RC1
        3) org.codehaus.xfire:xfire-aegis:jar:1.0-RC1
        4) org.codehaus.xfire:xfire-core:jar:1.0-RC1


        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:304)
        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:309)
        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:309)
        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:309)
        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(
DefaultArtifactCollector.java:67)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:223)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:211)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively
(DefaultArtifactResolver.java:182)
        at
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(
DefaultPluginManager.java:1120)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:369)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:531)
        ... 16 more
Caused by:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException:
Unable to read the metadata file for artifact 'xfire:XmlSchema:jar':
 Error getting POM for 'xfire:XmlSchema' from the repository: Error
transferring file
  xfire:XmlSchema:pom:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)

        at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java:131)
        at
org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(
DefaultArtifactCollector.java:282)
        ... 26 more
Caused by: org.apache.maven.project.ProjectBuildingException: Error getting
POM for 'xfire:XmlSchema' from the repository: Error transferring file
  xfire:XmlSchema:pom:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)

        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:417)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
DefaultMavenProjectBuilder.java:351)
        at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(
MavenMetadataSource.java:102)
        ... 27 more
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException:
Error transferring file
  xfire:XmlSchema:pom:20060128-patched

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  java.net (https://maven-repository.dev.java.net/nonav/repository)

        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:140)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:63)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(
DefaultMavenProjectBuilder.java:386)
        ... 29 more
Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
LightweightHttpWagon.java:99)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(
DefaultWagonManager.java:369)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:282)
        at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(DefaultWagonManager.java:244)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(
DefaultArtifactResolver.java:124)
        ... 31 more
Caused by: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java
:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        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.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java
:280)
        at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:337)
        at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient
(AbstractDelegateHttpsURLConnection.java:176)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(
HttpURLConnection.java:744)
        at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(
AbstractDelegateHttpsURLConnection.java:162)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(
HttpURLConnection.java:913)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(
HttpsURLConnectionImpl.java:234)
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(
LightweightHttpWagon.java:85)
        ... 36 more
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 31 seconds
[INFO] Finished at: Mon Feb 20 11:51:54 GMT 2006
[INFO] Final Memory: 6M/11M
[INFO]
----------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message