dev@glassfish.java.net

Re: build failure related to JDCI

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 27 Apr 2009 23:52:13 -0700

Jane Young wrote:
> That must have a been a long time ago. Please use -Prelease-phase1.

Why doesn't -Prelease-phase cause an error?

You know that *you're* the one who told me to do this, right?
https://glassfish.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=10327

Was there an announcement of a change to this that I missed?

> See: http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions.
>
> I may know why you are getting the missing artifact build errors. In
> your settings.xml, you have the following entries:
> <mirrors>
> <mirror>
> <id>hk2gf</id>
> <name>Nexus Public Mirror</name>
> <url>http://maven.glassfish.org/content/groups/glassfish</url>
> <!--
> <url>http://legolas.sfbay:8081/nexus/content/groups/glassfish</url>
> -->
> <mirrorOf>*</mirrorOf>
> </mirror>
> </mirrors>
>
> The url does not contain the jar artifact for javax.jms:jms. In only
> contains pom and sha files. Similarly, it contains
> javassist:javassist:jar:3.4.GA, not 3.8.1.GA. I don't know how you got
> this URL. Looks like this repo is created by Kohsuke or Harsha to test
> Nexus. Can you remove the <mirrors>...<mirrors> from settings.xml and
> try again?
> By setting
> <mirrors>
> ...
> <mirrorOf>*</mirrorOf> <mirrors>
>
> in settings.xml, you are forcing maven to use a single repository.
> The repository must contain all of the desired artifacts which in this
> case is not true thus your build failed. See:
> http://maven.apache.org/guides/mini/guide-mirror-settings.html

I don't make this stuff up myself, you know! :-)

Here's the message that caused me to add this stuff:
https://glassfish.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=10343

This one may've been my mistake. Looking back I see that you told me I
didn't need this:
https://glassfish.dev.java.net/servlets/ReadMsg?listName=dev&msgNo=10759

I guess I never removed it because I thought that, even though it was
unnecessary for the v3 build, it would still be useful for other builds.

Why doesn't maven.glassfish.org have all of the artifacts?

Is there a different version of Nexus running somewhere that I should be
using instead?



I've complained about this before but there really needs to be:

1. A better way to get the message out when the build process changes.
2. A way to check that the build environment is set up properly.

Thanks for your help, Jane.