Class ListLifecyclePhasesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.help.AbstractHelpMojo
org.apache.maven.plugins.help.ListLifecyclePhasesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="list-lifecycle-phases", requiresProject=false, aggregator=true) public class ListLifecyclePhasesMojo extends AbstractHelpMojo
Displays the list of all lifecycle phases that are defined in Maven.
Since:
3.5.2
  • Constructor Details

    • ListLifecyclePhasesMojo

      @Inject public ListLifecyclePhasesMojo(org.apache.maven.project.ProjectBuilder projectBuilder, org.eclipse.aether.RepositorySystem repositorySystem, org.apache.maven.lifecycle.DefaultLifecycles defaultLifecycles)
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException