org.apache.maven
Class AbstractMavenLifecycleParticipant

java.lang.Object
  extended by org.apache.maven.AbstractMavenLifecycleParticipant

public abstract class AbstractMavenLifecycleParticipant
extends Object

Allows core extensions to participate in build lifecycle. All callback methods (will) follow beforeXXX/afterXXX naming pattern to indicate at what lifecycle point it is being called.


Constructor Summary
AbstractMavenLifecycleParticipant()
           
 
Method Summary
 void afterProjectsRead(MavenSession session)
          Invoked after all MavenProject instances have been created.
 void afterSessionStart(MavenSession session)
          Invoked after MavenSession instance has been created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMavenLifecycleParticipant

public AbstractMavenLifecycleParticipant()
Method Detail

afterProjectsRead

public void afterProjectsRead(MavenSession session)
                       throws MavenExecutionException
Invoked after all MavenProject instances have been created. This callback is intended to allow extensions to manipulate MavenProjects before they are sorted and actual build execution starts.

Throws:
MavenExecutionException

afterSessionStart

public void afterSessionStart(MavenSession session)
                       throws MavenExecutionException
Invoked after MavenSession instance has been created. This callback is intended to allow extensions to inject execution properties, activate profiles and perform similar tasks that affect MavenProject instance construction.

Throws:
MavenExecutionException


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.