@Component(role=MojoDescriptorCreator.class) public class MojoDescriptorCreator extends Object
Resolves dependencies for the artifacts in context of the lifecycle build
NOTE: This class is not part of any public api and can be changed or deleted without prior notice.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–2019 The Apache Software Foundation. All rights reserved.