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

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

public class JunitReportPluginRelocator
extends AbstractPluginRelocator

A PluginRelocator for the maven-junit-report-plugin.

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

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

JunitReportPluginRelocator

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