Class 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 Detail

      • ExecutorService

        @Inject
        public ExecutorService​(org.apache.maven.project.MavenProject mavenProject,
                               org.apache.maven.execution.MavenSession mavenSession,
                               org.apache.maven.plugin.BuildPluginManager pluginManager)
    • 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
      • executeGoal

        public void executeGoal​(String pluginGroup,
                                String pluginArtifact,
                                String pluginVersion,
                                String goal,
                                org.codehaus.plexus.util.xml.Xpp3Dom configuration)
                         throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException