|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.model.converter.relocators.AbstractPluginRelocator
public abstract class AbstractPluginRelocator
A general implementation of the PluginRelocator interface.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.model.converter.relocators.PluginRelocator |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractPluginRelocator()
|
|
| Method Summary | |
|---|---|
void |
addListener(ConverterListener listener)
Add a listener for all messages sended by the relocator. |
void |
addListeners(List listeners)
Add a listeners list for all messages sended by the relocator. |
abstract 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(). |
abstract 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(). |
abstract 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. |
String |
getOldGroupId()
Note: Because we are working on the recently converted Maven 2 model, this method must return the groupId that is in the model, after the model has been converted. |
void |
relocate(Model v4Model)
Relocate a plugin from one groupId/artifactId to another. |
| 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 |
|---|
public AbstractPluginRelocator()
| Method Detail |
|---|
public abstract String getNewArtifactId()
null from this method
and from getNewGroupId().
public abstract String getNewGroupId()
null from this method
and from getNewArtifactId().
public abstract String getOldArtifactId()
PomV3ToV4Translator.translateDependencies(java.util.List)public String getOldGroupId()
PomV3ToV4Translator.translateDependencies(java.util.List)public void relocate(Model v4Model)
relocate in interface PluginRelocatorv4Model - The model where we look for the pluginpublic void addListener(ConverterListener listener)
PluginRelocator
addListener in interface PluginRelocatorlistener - The listener that will receive messagespublic void addListeners(List listeners)
PluginRelocator
addListeners in interface PluginRelocatorlisteners - The listeners list that will receive messages
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||