org.jfrog.maven.annomojo.annotations
Annotation Type MojoExecute


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface MojoExecute

When this goal is invoked, it will first invoke a parallel lifecycle, ending at the given phase. If a goal is provided instead of a phase, that goal will be executed in isolation. The execution of either will not affect the current project, but instead make available the ${executedProject} expression if required. An alternate lifecycle can also be provided: for more information see the documentation on the build lifecycle.


Optional Element Summary
 java.lang.String goal
          Ensure that this other mojo within the same plugin executes before this one.
 java.lang.String lifecycle
          This is optionally used in conjunction with the phase element, and specifies a custom life-cycle overlay that should be added to the cloned life cycle before the specified phase is executed.
 java.lang.String phase
          The phase to execute in the parallel lifecycle
 

phase

public abstract java.lang.String phase
The phase to execute in the parallel lifecycle

Default:
""

goal

public abstract java.lang.String goal
Ensure that this other mojo within the same plugin executes before this one. It's restricted to this plugin to avoid creating inter-plugin dependencies.

Default:
""

lifecycle

public abstract java.lang.String lifecycle
This is optionally used in conjunction with the phase element, and specifies a custom life-cycle overlay that should be added to the cloned life cycle before the specified phase is executed. This is useful to inject specialized behavior in cases where the main life cycle should remain unchanged.

Default:
""


Copyright © 2006-2009. All Rights Reserved.