public abstract class AbstractPluginConfigurationConverter extends org.codehaus.plexus.logging.AbstractLogEnabled implements PluginConfigurationConverter
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_BUILD_PLUGIN |
static java.lang.String |
TYPE_REPORT_PLUGIN |
| Constructor and Description |
|---|
AbstractPluginConfigurationConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConfigurationChild(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
java.util.Properties projectProperties,
java.lang.String mavenOneProperty,
java.lang.String mavenTwoElement)
Add a child element to the configuration.
|
protected void |
addConfigurationChild(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
java.lang.String mavenTwoElement,
java.lang.String value)
Add a child element to the configuration.
|
void |
addListener(ConverterListener listener)
Add a listener for all messages sended by the relocator.
|
void |
addListeners(java.util.List listeners)
Add a listeners list for all messages sended by the relocator.
|
protected abstract void |
buildConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
org.apache.maven.model.v3_0_0.Model v3Model,
java.util.Properties projectProperties) |
void |
convertConfiguration(org.apache.maven.model.Model v4Model,
org.apache.maven.model.v3_0_0.Model v3Model,
java.util.Properties projectProperties) |
abstract java.lang.String |
getArtifactId() |
java.lang.String |
getGroupId() |
protected java.util.List |
getReportSets()
Get the report sets for this plugin.
|
abstract java.lang.String |
getType() |
public static final java.lang.String TYPE_BUILD_PLUGIN
public static final java.lang.String TYPE_REPORT_PLUGIN
public AbstractPluginConfigurationConverter()
public abstract java.lang.String getArtifactId()
public java.lang.String getGroupId()
public abstract java.lang.String getType()
public void addListeners(java.util.List listeners)
PluginConfigurationConverteraddListeners in interface PluginConfigurationConverterlisteners - The listeners list that will receive messagespublic void addListener(ConverterListener listener)
PluginConfigurationConverteraddListener in interface PluginConfigurationConverterlistener - The listener that will receive messagesprotected void addConfigurationChild(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
java.util.Properties projectProperties,
java.lang.String mavenOneProperty,
java.lang.String mavenTwoElement)
configuration - The configuration to add the element toprojectProperties - The M1 propertiesmavenOneProperty - The name of the Maven 1 property to convertmavenTwoElement - The name of the Maven 2 configuration elementprotected void addConfigurationChild(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
java.lang.String mavenTwoElement,
java.lang.String value)
configuration - The configuration to add the element tomavenTwoElement - The name of the Maven 2 configuration elementvalue - Set the value of the element to thispublic void convertConfiguration(org.apache.maven.model.Model v4Model,
org.apache.maven.model.v3_0_0.Model v3Model,
java.util.Properties projectProperties)
throws ProjectConverterException
convertConfiguration in interface PluginConfigurationConverterProjectConverterExceptionprotected abstract void buildConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
org.apache.maven.model.v3_0_0.Model v3Model,
java.util.Properties projectProperties)
throws ProjectConverterException
ProjectConverterExceptionprotected java.util.List getReportSets()
Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.