|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.loader.DefaultPluginPrefixLoader
@Component(role=PluginPrefixLoader.class) public class DefaultPluginPrefixLoader
| Constructor Summary | |
|---|---|
DefaultPluginPrefixLoader()
|
|
| Method Summary | |
|---|---|
void |
enableLogging(org.codehaus.plexus.logging.Logger logger)
|
Plugin |
findPluginForPrefix(java.lang.String prefix,
MavenProject project,
MavenSession session)
Determine the appropriate PluginDescriptor instance for use with the specified plugin
prefix, using the following strategies (in order):
Search for a plugin that has already been loaded with the specified prefix Search for a plugin configured in the POM that has a matching prefix Search the pluginGroups specified in the settings.xml for a matching plugin Use groupId == org.apache.maven.plugins, and artifactId == maven-<prefix>-plugin, and try to resolve based on that. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPluginPrefixLoader()
| Method Detail |
|---|
public Plugin findPluginForPrefix(java.lang.String prefix,
MavenProject project,
MavenSession session)
throws PluginLoaderException
PluginDescriptor instance for use with the specified plugin
prefix, using the following strategies (in order):
findPluginForPrefix in interface PluginPrefixLoaderPluginLoaderExceptionpublic void enableLogging(org.codehaus.plexus.logging.Logger logger)
enableLogging in interface org.codehaus.plexus.logging.LogEnabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||