dev@glassfish.java.net

Re: broken build?

From: Jane Young <jane.young_at_oracle.com>
Date: Wed, 20 Oct 2010 15:07:02 -0700

Carla,

HTTP response code: 502 indicates a bad gateway from the Nexus server.
I'm not sure why. This could be intermittent. Hudson continuous job
is running fine and I just built locally with an updated workspace. Can
you try building again?

...

While I was responding to your e-mail, I tried logging in to the
GlassFish Nexus server, maven.glassfish.org. I noticed that the system
is not responding. I'll contact IT and see what's going on in the lab...

Jane


On 10/20/10 2:45 PM, Carla Mott wrote:
>
> I just updated my workspace and the build is failing with the message
> below. I did a clean before starting the build.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Public APIs of Glassfish V3
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reloading plugin container for:
> org.glassfish.build:maven-glassfishbuild-plugin. The plugin artifact
> has changed.
> [INFO] snapshot org.glassfish:simple-glassfish-api:3.1-SNAPSHOT:
> checking for updates from glassfish-repo-archive
> [INFO] [enforcer:enforce {execution: enforce-versions}]
> [INFO] [osgiversion:compute-osgi-version {execution:
> compute-osgi-version}]
> [INFO] [gf:echo {execution: echo}]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building in /Users/cmott/logging/v3/common/glassfish-api
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 142 source files to
> /Users/cmott/logging/v3/common/glassfish-api/target/classes
> Note:
> /Users/cmott/logging/v3/common/glassfish-api/src/main/java/org/glassfish/api/embedded/Server.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note:
> /Users/cmott/logging/v3/common/glassfish-api/src/main/java/org/glassfish/api/embedded/Server.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> [INFO] [bundle:manifest {execution: bundle-manifest}]
> [WARNING] Warning in manifest for
> org.glassfish.common:glassfish-api:hk2-jar:3.1-SNAPSHOT : Superfluous
> export-package instructions: [org.glassfish.api.admin.cli,
> org.glassfish.api.managedbean, org.glassfish.api.interceptor]
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> /Users/cmott/logging/v3/common/glassfish-api/src/test/resources
> [INFO] [hk2:hk2-test-compile]
> [INFO] Compiling 1 source file to
> /Users/cmott/logging/v3/common/glassfish-api/target/test-classes
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> /Users/cmott/logging/v3/common/glassfish-api/target/surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.glassfish.api.tests.ImmutableTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
>
> Results :
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [hk2:package]
> [INFO] Building jar:
> /Users/cmott/logging/v3/common/glassfish-api/target/glassfish-api.jar
> [INFO] [source:jar-no-fork {execution: attach-sources}]
> [INFO] Building jar:
> /Users/cmott/logging/v3/common/glassfish-api/target/glassfish-api-sources.jar
> [INFO] [install:install]
> [INFO] Installing
> /Users/cmott/logging/v3/common/glassfish-api/target/glassfish-api.jar
> to
> /Users/cmott/.m2/repository/org/glassfish/common/glassfish-api/3.1-SNAPSHOT/glassfish-api-3.1-SNAPSHOT.jar
> [INFO] Installing
> /Users/cmott/logging/v3/common/glassfish-api/target/glassfish-api-sources.jar
> to
> /Users/cmott/.m2/repository/org/glassfish/common/glassfish-api/3.1-SNAPSHOT/glassfish-api-3.1-SNAPSHOT-sources.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building GlassFish Common modules
> [INFO] task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Error transferring file
> org.glassfish.build:maven-glassfishbuild-plugin:maven-plugin:3.1-SNAPSHOT
>
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish)
>
>
> Caused by I/O exception: Server returned HTTP response code: 502 for
> URL:
> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/build/maven-glassfishbuild-plugin/3.1-SNAPSHOT/maven-glassfishbuild-plugin-3.1-SNAPSHOT.jar
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14 minutes 41 seconds
> [INFO] Finished at: Wed Oct 20 21:32:38 GMT-00:08 2010
> [INFO] Final Memory: 133M/249M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>