@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class)
public class MavenLifecycleListener
extends org.apache.maven.AbstractMavenLifecycleParticipant
| Modifier and Type | Field and Description |
|---|---|
static String |
DISABLE_POM_CHANGE_PROPERTY_KEY
Property key for disabling pom changes.
|
static String |
DISABLE_PROPERTY_KEY
Property key for disabling the extension.
|
| Constructor and Description |
|---|
MavenLifecycleListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterProjectsRead(org.apache.maven.execution.MavenSession session)
At this point all projects were read.
|
void |
afterSessionEnd(org.apache.maven.execution.MavenSession session) |
void |
afterSessionStart(org.apache.maven.execution.MavenSession session)
Entry point of the maven extension.
|
void |
setAutoverSession(AutoverSession anAutoverSession)
Setter.
|
void |
setLogger(org.codehaus.plexus.logging.Logger value)
Setter.
|
public static final String DISABLE_PROPERTY_KEY
public static final String DISABLE_POM_CHANGE_PROPERTY_KEY
public void afterSessionStart(org.apache.maven.execution.MavenSession session)
throws org.apache.maven.MavenExecutionException
afterSessionStart in class org.apache.maven.AbstractMavenLifecycleParticipantsession - the maven sessionorg.apache.maven.MavenExecutionException - for any problemspublic void afterProjectsRead(org.apache.maven.execution.MavenSession session)
afterProjectsRead in class org.apache.maven.AbstractMavenLifecycleParticipantsession - the maven sessionpublic void afterSessionEnd(org.apache.maven.execution.MavenSession session)
afterSessionEnd in class org.apache.maven.AbstractMavenLifecycleParticipantpublic void setAutoverSession(AutoverSession anAutoverSession)
anAutoverSession - the sessionpublic void setLogger(org.codehaus.plexus.logging.Logger value)
value - the loggerCopyright © 2020. All rights reserved.