org.apache.maven.model.converter.relocators
Interface PluginRelocator

All Known Implementing Classes:
AbstractPluginRelocator, AbstractSourceForgePluginRelocator, CastorPluginRelocator, CoberturaPluginRelocator, DeveloperActivityPluginRelocator, FaqPluginRelocator, FileActivityPluginRelocator, FindbugsPluginRelocator, JalopyPluginRelocator, JavaCCPluginRelocator, JavaNCSSPluginRelocator, JdependPluginRelocator, JdiffPluginRelocator, JunitReportPluginRelocator, LicenseRelocator, SimianPluginRelocator, TasklistPluginRelocator, XdocPluginRelocator

public interface PluginRelocator

A plugin relocator handles a plugin that has changed its groupId and/or artifactId between the Maven 1 version and the Maven 2 version. It changes the appropriate values in the v4 pom.

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

Field Summary
static String ROLE
           
 
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.
 void relocate(Model v4Model)
          Relocate a plugin from one groupId/artifactId to another.
 

Field Detail

ROLE

static final String ROLE
Method Detail

relocate

void relocate(Model v4Model)
Relocate a plugin from one groupId/artifactId to another.

Parameters:
v4Model - The model where we look for the plugin

addListener

void addListener(ConverterListener listener)
Add a listener for all messages sended by the relocator.

Parameters:
listener - The listener that will receive messages

addListeners

void addListeners(List listeners)
Add a listeners list for all messages sended by the relocator.

Parameters:
listeners - The listeners list that will receive messages


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.