dev@glassfish.java.net

Building GlassFish v3 trunk workspace

From: Jane Young <jane.young_at_Oracle.COM>
Date: Fri, 28 Jan 2011 13:45:12 -0800

Hi,

The GF v3 trunk workspace now contains version 3.2-SNAPSHOT in the pom
files.
The 3.2-SNAPSHOT artifacts have not yet been published to Maven repository.

You'll need to first build with the profile "-Prelease-phase1":
"mvn -Prelease-phase1 install" and then build the workspace with "mvn
install"
You'll only need to do this once to build and populate
maven-glassfishbuild-plugin and maven-glassfishbuild-extension
3.2-SNAPSHOT artifacts in the local Maven repository.

If you don't build with -Prelease-phase1, you will this build failure:
Missing:
----------
1) org.glassfish.build:maven-glassfishbuild-extension:jar:3.2-SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.glassfish.build
-DartifactId=maven-glassfishbuild-extension -Dversion=3.2-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file

   Alternatively, if you host your own repository you can deploy the
file there:
       mvn deploy:deploy-file -DgroupId=org.glassfish.build
-DartifactId=maven-glassfishbuild-extension -Dversion=3.2-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

   Path to dependency:
         1)
org.glassfish.common:mejb-frag:distribution-fragment:3.2-SNAPSHOT
         2)
org.glassfish.build:maven-glassfishbuild-extension:jar:3.2-SNAPSHOT

----------
1 required artifact is missing.

Jane