org.apache.maven.model.converter.relocators
Class CoberturaPluginRelocator
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.model.converter.relocators.AbstractPluginRelocator
org.apache.maven.model.converter.relocators.AbstractSourceForgePluginRelocator
org.apache.maven.model.converter.relocators.CoberturaPluginRelocator
- All Implemented Interfaces:
- PluginRelocator, org.codehaus.plexus.logging.LogEnabled
public class CoberturaPluginRelocator
- extends AbstractSourceForgePluginRelocator
A PluginRelocator
for the maven-cobertura-plugin.
- Version:
- $Id: CoberturaPluginRelocator.java 661727 2008-05-30 14:21:49Z bentmann $
- Author:
- Dennis Lundberg
- Plexus component:
- role:
- "org.apache.maven.model.converter.relocators.PluginRelocator"
- role-hint:
- "cobertura"
|
Fields inherited from interface org.apache.maven.model.converter.relocators.PluginRelocator |
ROLE |
Method Summary |
String |
getNewArtifactId()
If there is no replacement for this plugin, you can have the plugin
removed from the v4 pom by returning null from this method
and from getNewGroupId(). |
String |
getNewGroupId()
If there is no replacement for this plugin, you can have the plugin
removed from the v4 pom by returning null from this method
and from getNewArtifactId(). |
String |
getOldArtifactId()
Note: Because we are working on the recently converted
Maven 2 model, this method must return the artifactId that is in the
model, after the model has been converted. |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoberturaPluginRelocator
public CoberturaPluginRelocator()
getNewArtifactId
public String getNewArtifactId()
- Description copied from class:
AbstractPluginRelocator
- If there is no replacement for this plugin, you can have the plugin
removed from the v4 pom by returning
null
from this method
and from getNewGroupId().
- Specified by:
getNewArtifactId
in class AbstractPluginRelocator
- Returns:
- The artifactId of the new Maven 2 plugin
- See Also:
AbstractPluginRelocator.getNewArtifactId()
getNewGroupId
public String getNewGroupId()
- Description copied from class:
AbstractPluginRelocator
- If there is no replacement for this plugin, you can have the plugin
removed from the v4 pom by returning
null
from this method
and from getNewArtifactId().
- Specified by:
getNewGroupId
in class AbstractPluginRelocator
- Returns:
- The groupId of the new Maven 2 plugin
- See Also:
AbstractPluginRelocator.getNewGroupId()
getOldArtifactId
public String getOldArtifactId()
- Description copied from class:
AbstractPluginRelocator
- Note: Because we are working on the recently converted
Maven 2 model, this method must return the artifactId that is in the
model, after the model has been converted.
- Specified by:
getOldArtifactId
in class AbstractPluginRelocator
- Returns:
- The artifactId of the Maven 1 plugin.
- See Also:
AbstractPluginRelocator.getOldArtifactId()
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.