org.apache.maven.lifecycle.internal
Class MojoDescriptorCreator
java.lang.Object
org.apache.maven.lifecycle.internal.MojoDescriptorCreator
@Component(role=MojoDescriptorCreator.class)
public class MojoDescriptorCreator
- extends Object
Resolves dependencies for the artifacts in context of the lifecycle build
- Since:
- 3.0
- Author:
- Benjamin Bentmann, Jason van Zyl, jdcasey, Kristian Rosenvold (extracted class only)
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MojoDescriptorCreator
public MojoDescriptorCreator()
MojoDescriptorCreator
public MojoDescriptorCreator(PluginVersionResolver pluginVersionResolver,
BuildPluginManager pluginManager,
PluginPrefixResolver pluginPrefixResolver,
LifecyclePluginResolver lifecyclePluginResolver)
convert
public static org.codehaus.plexus.util.xml.Xpp3Dom convert(MojoDescriptor mojoDescriptor)
getMojoDescriptor
public MojoDescriptor getMojoDescriptor(String task,
MavenSession session,
MavenProject project)
throws PluginNotFoundException,
PluginResolutionException,
PluginDescriptorParsingException,
MojoNotFoundException,
NoPluginFoundForPrefixException,
InvalidPluginDescriptorException,
PluginVersionResolutionException
- Throws:
PluginNotFoundException
PluginResolutionException
PluginDescriptorParsingException
MojoNotFoundException
NoPluginFoundForPrefixException
InvalidPluginDescriptorException
PluginVersionResolutionException
findPluginForPrefix
public Plugin findPluginForPrefix(String prefix,
MavenSession session)
throws NoPluginFoundForPrefixException
- Throws:
NoPluginFoundForPrefixException
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.