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

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.JalopyPluginRelocator
All Implemented Interfaces:
PluginRelocator, org.codehaus.plexus.logging.LogEnabled

public class JalopyPluginRelocator
extends AbstractPluginRelocator

A PluginRelocator for the Jalopy plugin.

Version:
$Id: JalopyPluginRelocator.java 679703 2008-07-25 08:38:26Z bentmann $
Author:
Dennis Lundberg
Plexus component:
role:
"org.apache.maven.model.converter.relocators.PluginRelocator"
role-hint:
"jalopy"

Field Summary
 
Fields inherited from interface org.apache.maven.model.converter.relocators.PluginRelocator
ROLE
 
Constructor Summary
JalopyPluginRelocator()
           
 
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

JalopyPluginRelocator

public JalopyPluginRelocator()
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.