Annotation Type Execute

    • Element Detail

      • phase

        LifecyclePhase phase
        Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal. For custom lifecycle phase ids use customPhase() instead. Only one of customPhase() and phase() must be set.
        Returns:
        the phase
        Default:
        org.apache.maven.plugins.annotations.LifecyclePhase.NONE
      • customPhase

        String customPhase
        Custom lifecycle phase to fork. Note that specifying a phase overrides specifying a goal. This element should only be used for non-standard phases. For standard phases rather use phase(). Only one of customPhase() and phase() must be set.
        Returns:
        the custom phase id
        Since:
        3.8.0
        Default:
        ""
      • goal

        String goal
        Goal to fork. Note that specifying a phase overrides specifying a goal. The specified goal must be another goal of the same plugin.
        Returns:
        the goal
        Default:
        ""
      • lifecycle

        String lifecycle
        Lifecycle id of the lifecycle that defines phase(). Only valid in combination with phase(). If not specified, Maven will use the lifecycle of the current build.
        Returns:
        the lifecycle id
        See Also:
        Lifecycle Mappings
        Default:
        ""