@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class,
hint="org.ibissource.maven.IbisLifecycleParticipant")
public class IbisLifecycleParticipant
extends org.apache.maven.AbstractMavenLifecycleParticipant
implements org.codehaus.plexus.logging.LogEnabled
| Modifier and Type | Field and Description |
|---|---|
static String |
IBIS_WAR_PLUGIN_ARTIFACT_ID |
static String |
IBIS_WAR_PLUGIN_GROUP_ID |
static String |
MAVEN_WAR_PLUGIN_ARTIFACT_ID |
static String |
MAVEN_WAR_PLUGIN_GROUP_ID |
| Constructor and Description |
|---|
IbisLifecycleParticipant() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterProjectsRead(org.apache.maven.execution.MavenSession session) |
void |
enableLogging(org.codehaus.plexus.logging.Logger logger) |
protected org.apache.maven.model.Plugin |
getIbisWarPlugin(org.apache.maven.model.Model model)
Returns the ibis-war-plugin from build/plugins section of model or
null if not present. |
protected org.apache.maven.model.Plugin |
getIbisWarPluginFromContainer(org.apache.maven.model.PluginContainer pluginContainer)
Returns the ibis-war-plugin from pluginContainer or
null if not present. |
protected org.apache.maven.model.Plugin |
getMavenWarPlugin(org.apache.maven.model.Model model)
Returns the maven-war-plugin from build/plugins section of model or
null if not present. |
protected org.apache.maven.model.Plugin |
getMavenWarPluginFromContainer(org.apache.maven.model.PluginContainer pluginContainer)
Returns the maven-war-plugin from pluginContainer or
null if not present. |
protected org.apache.maven.model.Plugin |
getPluginByGAFromContainer(String groupId,
String artifactId,
org.apache.maven.model.PluginContainer pluginContainer) |
public static String MAVEN_WAR_PLUGIN_GROUP_ID
public static String MAVEN_WAR_PLUGIN_ARTIFACT_ID
public static String IBIS_WAR_PLUGIN_GROUP_ID
public static String IBIS_WAR_PLUGIN_ARTIFACT_ID
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
enableLogging in interface org.codehaus.plexus.logging.LogEnabledpublic void afterProjectsRead(org.apache.maven.execution.MavenSession session)
throws org.apache.maven.MavenExecutionException
afterProjectsRead in class org.apache.maven.AbstractMavenLifecycleParticipantorg.apache.maven.MavenExecutionExceptionprotected org.apache.maven.model.Plugin getMavenWarPlugin(org.apache.maven.model.Model model)
null if not present.protected org.apache.maven.model.Plugin getIbisWarPlugin(org.apache.maven.model.Model model)
null if not present.protected org.apache.maven.model.Plugin getMavenWarPluginFromContainer(org.apache.maven.model.PluginContainer pluginContainer)
null if not present.protected org.apache.maven.model.Plugin getIbisWarPluginFromContainer(org.apache.maven.model.PluginContainer pluginContainer)
null if not present.Copyright © 2018 Ibissource.org. All rights reserved.