dev@glassfish.java.net

Re: build broken?

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Mon, 22 Mar 2010 11:06:49 -0700

Hi Carla,

I followed Jane's instruction and have no problem building after
updating my workspace.
See attached email.

Anissa

Carla Mott wrote:
>
> I just updated my workspace of the trunk and get the following. Any
> ideas? The last time I was able to build was on Friday.
>
> Thanks,
> Carla
>
> <snip>
>
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building GlassFish Parent Project
> [INFO] task-segment: [clean]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] 'echo' was specified in an execution, but not found in the plugin
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: 'echo' was
> specified in an execution, but not found in the plugin
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindExecutionToLifecycle(DefaultLifecycleExecutor.java:1359)
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1260)
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)
>
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:477)
>
>

attached mail follows:



Hi,

If you update v3 (3.1 trunk) workspace and build, you may see the
following build error:

[INFO]
------------------------------------------------------------------------
[INFO] Building GlassFish Parent Project
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] 'echo' was specified in an execution, but not found in the plugin
[INFO]
------------------------------------------------------------------------


This is because a new maven-glassfishbuild-plugin goal "echo" is added
in v3/pom.xml.
The workaround is first build with the "-Prelease-phase1":
"mvn -Prelease-phase1 install" and then continue with "mvn install".
You only need to do this once.

Thanks,
Jane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: dev-help_at_glassfish.dev.java.net