Package io.micronaut.build.services
Class ExecutorService
- java.lang.Object
-
- io.micronaut.build.services.ExecutorService
-
@Singleton public class ExecutorService extends Object
Provides methods to execute goals on the current project- Since:
- 1.1
- Author:
- Álvaro Sánchez-Mariscal
-
-
Constructor Summary
Constructors Constructor Description ExecutorService(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.plugin.BuildPluginManager pluginManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeGoal(String pluginKey, String goal)
void
executeGoal(String pluginGroup, String pluginArtifact, String pluginVersion, String goal)
void
executeGoal(String pluginGroup, String pluginArtifact, String pluginVersion, String goal, org.codehaus.plexus.util.xml.Xpp3Dom configuration)
void
executeGoal(String pluginKey, String goal, org.codehaus.plexus.util.xml.Xpp3Dom configuration)
-
-
-
Method Detail
-
executeGoal
public void executeGoal(String pluginKey, String goal) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
executeGoal
public void executeGoal(String pluginKey, String goal, org.codehaus.plexus.util.xml.Xpp3Dom configuration) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
executeGoal
public void executeGoal(String pluginGroup, String pluginArtifact, String pluginVersion, String goal) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-