dev@glassfish.java.net

Re: Building GlassFish v3 trunk workspace

From: Chris Kasso <chris.kasso_at_oracle.com>
Date: Fri, 28 Jan 2011 14:08:57 -0800

To avoid any confusion, the trunk is not open for general check ins yet.
  At this time we are only allowing approved 3.1 changes into the trunk
(and 3.1 branch once it opens later today).

Once we have stabilized the branch and have all the tests passing we'll
open the trunk for changes unrelated to 3.1.

Chris

On 01/28/11 13:45, Jane Young wrote:
> 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