Class RunCompleteGoalsPhase

  • All Implemented Interfaces:
    ReleasePhase, org.codehaus.plexus.logging.LogEnabled

    @Component(role=ReleasePhase.class,
               hint="run-completion-goals")
    public class RunCompleteGoalsPhase
    extends AbstractRunGoalsPhase
    Run the completion goals for the project to before committing the continuing development stream.
    • Constructor Detail

      • RunCompleteGoalsPhase

        public RunCompleteGoalsPhase()
    • Method Detail

      • execute

        public ReleaseResult execute​(ReleaseDescriptor releaseDescriptor,
                                     ReleaseEnvironment releaseEnvironment,
                                     java.util.List<org.apache.maven.project.MavenProject> reactorProjects)
                              throws ReleaseExecutionException
        Description copied from interface: ReleasePhase
        Execute the phase.
        Parameters:
        releaseDescriptor - the configuration to use
        releaseEnvironment - the environmental configuration, such as Maven settings, Maven home, etc.
        reactorProjects - the reactor projects
        Returns:
        the release result
        Throws:
        ReleaseExecutionException - an exception during the execution of the phase
      • simulate

        public ReleaseResult simulate​(ReleaseDescriptor releaseDescriptor,
                                      ReleaseEnvironment releaseEnvironment,
                                      java.util.List<org.apache.maven.project.MavenProject> reactorProjects)
                               throws ReleaseExecutionException
        Description copied from interface: ReleasePhase
        Simulate the phase, but don't make any changes to the project.
        Parameters:
        releaseDescriptor - the configuration to use
        releaseEnvironment - the environmental configuration, such as Maven settings, Maven home, etc.
        reactorProjects - the reactor projects
        Returns:
        the release result
        Throws:
        ReleaseExecutionException - an exception during the execution of the phase