users@glassfish.java.net

[gf-users] building 4.1 fails?

From: Pawel Veselov <pawel.veselov_at_gmail.com>
Date: Wed, 15 Apr 2015 13:31:38 -0700

Hi.

I'm running into these problems trying to build 4.1:
JAVA_HOME=/opt/java/jdk1.8 MVN_HOME=~/soft/apache-maven-3.0.4/
PATH=$PATH:~/soft/apache-maven-3.0.4/bin/ ./gfbuild.sh

[INFO] GlassFish Nucleus Parent Project .................. FAILURE [0.700s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:40.646s
[INFO] Finished at: Wed Apr 15 12:12:57 PDT 2015
[INFO] Final Memory: 153M/2217M
[INFO]
------------------------------------------------------------------------
[ERROR] Unknown lifecycle phase "". You must specify a valid lifecycle
phase or a goal in the format <plugin-prefix>:<goal> or
<plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available
lifecycle phases are: validate, initialize, generate-sources,
process-sources, generate-resources, process-resources, compile,
process-classes, generate-test-sources, process-test-sources,
generate-test-resources, process-test-resources, test-compile,
process-test-classes, test, prepare-package, package, pre-integration-test,
integration-test, post-integration-test, verify, install, deploy, pre-site,
site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1]

Any hints on what I may be missing?