org.apache.maven
Class AbstractMavenLifecycleParticipant
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMavenLifecycleParticipant
public AbstractMavenLifecycleParticipant()
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.