That must have a been a long time ago. Please use -Prelease-phase1.
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
HTH,
Jane
Bill Shannon wrote:
> Jane Young wrote:
>>
>>>
>>> mvn -Prelease-phase install
>>> mvn clean
>>> mvn -U install
>> The profile, "release-phase" does not exist. Did you mean "mvn
>> -Prelease-phase1 install"?
>
> Long long ago I was told to use that as a workaround to some JDK bug.
> If the workaround changed, I missed it. I just put it in my build
> script and forgot about it.
>
> Do I still need the workaround for the JDK 6 bug?
>
> Note that I'm not getting any obvious failure or complaint related to
> using
> "release-phase" instead of "release-phase1". Here's what I see:
>
> + /opt/maven/bin/mvn -Prelease-phase install
> [INFO] Scanning for projects...
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/org/glassfish/pom/3/pom-3.pom
>
> 4/9K^M8/9K^M9/9K^M9K downloaded
> [INFO] Reactor build order:
> [INFO] GlassFish Parent Project
> [INFO] Super POM for Java EE API modules
>
> Let me know if you want my entire build output file.
>
>> I tried the same steps above but using "mvn -Prelease-phase1 install"
>> and could not reproduce it.
>>
>> Can you check in your local maven repository to see if
>> javax/jms/jms/1.1 exists?
>
> In .m2/repository/javax/jms/jms/1.1 I have jms-1.1.pom and
> jms-1.1.pom.sha1.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>