public abstract class AbstractPluginConfigurationConverter extends org.codehaus.plexus.logging.AbstractLogEnabled implements PluginConfigurationConverter
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_BUILD_PLUGIN |
static String |
TYPE_REPORT_PLUGIN |
Constructor and Description |
---|
AbstractPluginConfigurationConverter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addConfigurationChild(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
Properties projectProperties,
String mavenOneProperty,
String mavenTwoElement)
Add a child element to the configuration.
|
protected void |
addConfigurationChild(org.codehaus.plexus.util.xml.Xpp3Dom configuration,
String mavenTwoElement,
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(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,
Properties projectProperties) |
void |
convertConfiguration(org.apache.maven.model.Model v4Model,
org.apache.maven.model.v3_0_0.Model v3Model,
Properties projectProperties) |
abstract String |
getArtifactId() |
String |
getGroupId() |
protected List |
getReportSets()
Get the report sets for this plugin.
|
abstract String |
getType() |
public static final String TYPE_BUILD_PLUGIN
public static final String TYPE_REPORT_PLUGIN
public AbstractPluginConfigurationConverter()
public abstract String getArtifactId()
public String getGroupId()
public abstract String getType()
public void addListeners(List listeners)
PluginConfigurationConverter
addListeners
in interface PluginConfigurationConverter
listeners
- The listeners list that will receive messagespublic void addListener(ConverterListener listener)
PluginConfigurationConverter
addListener
in interface PluginConfigurationConverter
listener
- The listener that will receive messagesprotected void addConfigurationChild(org.codehaus.plexus.util.xml.Xpp3Dom configuration, Properties projectProperties, String mavenOneProperty, 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, String mavenTwoElement, 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, Properties projectProperties) throws ProjectConverterException
convertConfiguration
in interface PluginConfigurationConverter
ProjectConverterException
protected abstract void buildConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration, org.apache.maven.model.v3_0_0.Model v3Model, Properties projectProperties) throws ProjectConverterException
ProjectConverterException
protected List getReportSets()
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.