org.apache.maven.lifecycle
Interface LifecycleExecutorListener


public interface LifecycleExecutorListener

Event notification for the start/end of the maven execution.

The exact semantics in Maven is undocumented (as usual!), but apparently this is invoked at the beginning of the build and the end, surrounding the complete mojo executions.

Author:
Kohsuke Kawaguchi

Method Summary
 void postBuild(org.apache.maven.execution.MavenSession session, org.apache.maven.execution.ReactorManager rm, org.apache.maven.monitor.event.EventDispatcher dispatcher)
           
 void preBuild(org.apache.maven.execution.MavenSession session, org.apache.maven.execution.ReactorManager rm, org.apache.maven.monitor.event.EventDispatcher dispatcher)
           
 

Method Detail

preBuild

void preBuild(org.apache.maven.execution.MavenSession session,
              org.apache.maven.execution.ReactorManager rm,
              org.apache.maven.monitor.event.EventDispatcher dispatcher)
              throws org.apache.maven.BuildFailureException,
                     org.apache.maven.lifecycle.LifecycleExecutionException
Throws:
org.apache.maven.BuildFailureException
org.apache.maven.lifecycle.LifecycleExecutionException

postBuild

void postBuild(org.apache.maven.execution.MavenSession session,
               org.apache.maven.execution.ReactorManager rm,
               org.apache.maven.monitor.event.EventDispatcher dispatcher)
               throws org.apache.maven.BuildFailureException,
                      org.apache.maven.lifecycle.LifecycleExecutionException
Throws:
org.apache.maven.BuildFailureException
org.apache.maven.lifecycle.LifecycleExecutionException


Copyright © 2007. All Rights Reserved.