Class MojoExecutor

java.lang.Object
com.qulice.maven.MojoExecutor

public final class MojoExecutor extends Object
Executor of plugins.
Since:
0.3
  • Constructor Details

    • MojoExecutor

      public MojoExecutor(org.apache.maven.plugin.MavenPluginManager mngr, org.apache.maven.execution.MavenSession sesn)
      Public ctor.
      Parameters:
      mngr - The manager
      sesn - Maven session
  • Method Details

    • execute

      public void execute(String coords, String goal, Properties config) throws ValidationException
      Find and configure a mojor.
      Parameters:
      coords - Maven coordinates, e.g. "com.qulice:maven-qulice-plugin:1.0"
      goal - Maven plugin goal to execute
      config - The configuration to set
      Throws:
      ValidationException - If something is wrong inside