Class MojoParametersListener

  • All Implemented Interfaces:
    org.apache.maven.execution.MojoExecutionListener

    @Singleton
    @Named
    public class MojoParametersListener
    extends Object
    implements org.apache.maven.execution.MojoExecutionListener
    MojoParametersListener
    • Constructor Detail

      • MojoParametersListener

        public MojoParametersListener()
    • Method Detail

      • beforeMojoExecution

        public void beforeMojoExecution​(org.apache.maven.execution.MojoExecutionEvent event)
        Specified by:
        beforeMojoExecution in interface org.apache.maven.execution.MojoExecutionListener
      • afterMojoExecutionSuccess

        public void afterMojoExecutionSuccess​(org.apache.maven.execution.MojoExecutionEvent event)
                                       throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        afterMojoExecutionSuccess in interface org.apache.maven.execution.MojoExecutionListener
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • afterExecutionFailure

        public void afterExecutionFailure​(org.apache.maven.execution.MojoExecutionEvent event)
        Specified by:
        afterExecutionFailure in interface org.apache.maven.execution.MojoExecutionListener
      • getProjectExecutions

        public Map<String,​org.apache.maven.execution.MojoExecutionEvent> getProjectExecutions​(org.apache.maven.project.MavenProject project)