dev@glassfish.java.net

Re: build failure related to JDCI

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Mon, 27 Apr 2009 17:44:33 -0700

Jane Young wrote:
> Hi Bill,
>
> Sorry the late response. The artifact: javax.jms:jms:jar:1.1 is there
> in the Nexus (http://maven.glassfish.org/index.html).
> The Nexus server serves as a proxy to the repsotiroy at Atlassian and I
> see the artifact there:
> http://maven.atlassian.com/repository/public/javax/jms/jms/1.1/
>
> What is the command you used to buid GFv3?

mvn -Prelease-phase install
mvn clean
mvn -U install

> Are you using a fresh maven
> repo?

Yes, I removed my .m2 directory. That's always step 1 when the build fails!
:-)

> Also, are you using a "settings.xml" file with <repositorires>
> elements?

No:

<settings xmlns="http://maven.apache.org/POM/4.0.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                       http://maven.apache.org/xsd/settings-1.0.0.xsd">
   <localRepository>${WS}/.m2/repository</localRepository>
  <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>
</settings>