org.apache.maven.model.converter.relocators
Class TasklistPluginRelocator

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.model.converter.relocators.AbstractPluginRelocator
          extended by org.apache.maven.model.converter.relocators.TasklistPluginRelocator
All Implemented Interfaces:
PluginRelocator, org.codehaus.plexus.logging.LogEnabled

public class TasklistPluginRelocator
extends AbstractPluginRelocator

A PluginRelocator for the maven-tasklist-plugin.

Version:
$Id: TasklistPluginRelocator.java 661727 2008-05-30 14:21:49Z bentmann $
Author:
Dennis Lundberg
Plexus component:
role:
"org.apache.maven.model.converter.relocators.PluginRelocator"
role-hint:
"tasklist"

Field Summary
 
Fields inherited from interface org.apache.maven.model.converter.relocators.PluginRelocator
ROLE
 
Constructor Summary
TasklistPluginRelocator()
           
 
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.apache.maven.model.converter.relocators.AbstractPluginRelocator
addListener, addListeners, getOldGroupId, relocate
 
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
 

Constructor Detail

TasklistPluginRelocator

public TasklistPluginRelocator()
Method Detail

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.