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

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

public class JdependPluginRelocator
extends AbstractPluginRelocator

A PluginRelocator for the maven-jdepend-plugin.

Version:
$Id: JdependPluginRelocator.java 661727 2008-05-30 14:21:49Z bentmann $
Author:
Dennis Lundberg

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

JdependPluginRelocator

public JdependPluginRelocator()
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-2008 The Apache Software Foundation. All Rights Reserved.