dev@glassfish.java.net

Re: GFv3 build failures

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 27 May 2008 15:33:36 -0700

Here is the stack trace:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Error transferring file
  org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  maven2.java.net (http://download.java.net/maven/2),
  repo1.maven.org (http://repo1.maven.org/maven2),
  java-dev-repository
(https://maven-repository.dev.java.net/nonav/repository),
  glassfish-repository (http://download.java.net/maven/glassfish),
  maven2.java.net-backup
(https://maven2-repository.dev.java.net/nonav/repository),
  EclipseLink Repo
(http://download.eclipse.org/technology/eclipselink/maven.repo),
  glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
Path to dependency:
        1) org.glassfish.persistence:eclipselink-wrapper:jar:10.0-SNAPSHOT
        2) org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT



Caused by I/O exception: Server returned HTTP response code: 504 for
URL:
http://maven.dyndns.org/glassfish/org/glassfish/build/maven-glassfish-extension/1.0-SNAPSHOT/maven-glassfish-extension-1.0-SNAPSHOT.jar

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
transferring file
  org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  maven2.java.net (http://download.java.net/maven/2),
  repo1.maven.org (http://repo1.maven.org/maven2),
  java-dev-repository
(https://maven-repository.dev.java.net/nonav/repository),
  glassfish-repository (http://download.java.net/maven/glassfish),
  maven2.java.net-backup
(https://maven2-repository.dev.java.net/nonav/repository),
  EclipseLink Repo
(http://download.eclipse.org/technology/eclipselink/maven.repo),
  glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
Path to dependency:
        1) org.glassfish.persistence:eclipselink-wrapper:jar:10.0-SNAPSHOT
        2) org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT


        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:166)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:141)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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: Error
transferring file
  org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  maven2.java.net (http://download.java.net/maven/2),
  repo1.maven.org (http://repo1.maven.org/maven2),
  java-dev-repository
(https://maven-repository.dev.java.net/nonav/repository),
  glassfish-repository (http://download.java.net/maven/glassfish),
  maven2.java.net-backup
(https://maven2-repository.dev.java.net/nonav/repository),
  EclipseLink Repo
(http://download.eclipse.org/technology/eclipselink/maven.repo),
  glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
Path to dependency:
        1) org.glassfish.persistence:eclipselink-wrapper:jar:10.0-SNAPSHOT
        2) org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT


        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:201)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:294)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
        at
org.apache.maven.extension.DefaultExtensionManager.addExtension(DefaultExtensionManager.java:121)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:158)
        ... 12 more
Caused by: org.apache.maven.wagon.TransferFailedException: Error
transferring file
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:104)
        at
org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:94)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:446)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:347)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:181)
        ... 17 more
Caused by: java.io.IOException: Server returned HTTP response code: 504
for URL:
http://maven.dyndns.org/glassfish/org/glassfish/build/maven-glassfish-extension/1.0-SNAPSHOT/maven-glassfish-extension-1.0-SNAPSHOT.jar
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:83)
        ... 21 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 57 seconds
[INFO] Finished at: Tue May 27 15:21:22 PDT 2008
[INFO] Final Memory: 10M/18M
[INFO]
------------------------------------------------------------------------


Sahoo wrote:
> Error transferring file
> org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT from
> the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> maven2.java.net (http://download.java.net/maven/2),
> repo1.maven.org (http://repo1.maven.org/maven2),
> java-dev-repository
> (https://maven-repository.dev.java.net/nonav/repository),
> glassfish-repository (http://download.java.net/maven/glassfish),
> maven2.java.net-backup
> (https://maven2-repository.dev.java.net/nonav/repository),
> glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
> Path to dependency:
> 1) org.glassfish.external:external:pom:10.0-SNAPSHOT
> 2) org.glassfish.build:maven-glassfish-extension:jar:1.0-SNAPSHOT
>
> Affects hudson as well:
> http://kohsuke.sfbay/hudson/view/GFv3/job/glassfish-v3/3924/console
>
> Thanks,
> Sahoo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>