org.apache.maven.plugins.annotations
Annotation Type Execute


@Documented
@Retention(value=CLASS)
@Target(value=TYPE)
@Inherited
public @interface Execute

Used if your Mojo needs to fork a lifecycle.

Since:
3.0
Author:
Olivier Lamy

Optional Element Summary
 String goal
          goal to fork.
 String lifecycle
          lifecycle id to fork.
 LifecyclePhase phase
          lifecycle phase to fork.
 

phase

public abstract LifecyclePhase phase
lifecycle phase to fork.

Returns:
the phase
Default:
NONE

goal

public abstract String goal
goal to fork.

Returns:
the goal
Default:
""

lifecycle

public abstract String lifecycle
lifecycle id to fork.

Returns:
the lifecycle id
Default:
""


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.