@Singleton public class ExecutorService extends Object
Constructor and Description |
---|
ExecutorService(org.apache.maven.project.MavenProject mavenProject,
org.apache.maven.execution.MavenSession mavenSession,
org.apache.maven.plugin.BuildPluginManager pluginManager) |
Modifier and Type | Method and Description |
---|---|
void |
executeGoal(String pluginKey,
String goal)
Executes the given goal from the given plugin coordinates.
|
void |
executeGoal(String pluginGroup,
String pluginArtifact,
String pluginVersion,
String goal,
org.codehaus.plexus.util.xml.Xpp3Dom configuration)
Executes a goal using the given arguments.
|
@Inject public ExecutorService(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.BuildPluginManager pluginManager)
public void executeGoal(String pluginKey, String goal) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void executeGoal(String pluginGroup, String pluginArtifact, String pluginVersion, String goal, org.codehaus.plexus.util.xml.Xpp3Dom configuration) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2020–2023 Micronaut. All rights reserved.