@Component(role=MojoDescriptorCreator.class) public class MojoDescriptorCreator extends Object
Constructor and Description |
---|
MojoDescriptorCreator() |
MojoDescriptorCreator(PluginVersionResolver pluginVersionResolver,
BuildPluginManager pluginManager,
PluginPrefixResolver pluginPrefixResolver,
LifecyclePluginResolver lifecyclePluginResolver) |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.plexus.util.xml.Xpp3Dom |
convert(MojoDescriptor mojoDescriptor) |
Plugin |
findPluginForPrefix(String prefix,
MavenSession session) |
MojoDescriptor |
getMojoDescriptor(String task,
MavenSession session,
MavenProject project) |
public MojoDescriptorCreator()
public MojoDescriptorCreator(PluginVersionResolver pluginVersionResolver, BuildPluginManager pluginManager, PluginPrefixResolver pluginPrefixResolver, LifecyclePluginResolver lifecyclePluginResolver)
public static org.codehaus.plexus.util.xml.Xpp3Dom convert(MojoDescriptor mojoDescriptor)
public MojoDescriptor getMojoDescriptor(String task, MavenSession session, MavenProject project) throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException, MojoNotFoundException, NoPluginFoundForPrefixException, InvalidPluginDescriptorException, PluginVersionResolutionException
public Plugin findPluginForPrefix(String prefix, MavenSession session) throws NoPluginFoundForPrefixException
NoPluginFoundForPrefixException
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.