Package com.qulice.maven
Class MojoExecutor
java.lang.Object
com.qulice.maven.MojoExecutor
Executor of plugins.
- Since:
- 0.3
-
Constructor Summary
ConstructorsConstructorDescriptionMojoExecutor
(org.apache.maven.plugin.MavenPluginManager mngr, org.apache.maven.execution.MavenSession sesn) Public ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(String coords, String goal, Properties config) Find and configure a mojor.
-
Constructor Details
-
MojoExecutor
public MojoExecutor(org.apache.maven.plugin.MavenPluginManager mngr, org.apache.maven.execution.MavenSession sesn) Public ctor.- Parameters:
mngr
- The managersesn
- Maven session
-
-
Method Details
-
execute
Find and configure a mojor.- Parameters:
coords
- Maven coordinates, e.g. "com.qulice:maven-qulice-plugin:1.0"goal
- Maven plugin goal to executeconfig
- The configuration to set- Throws:
ValidationException
- If something is wrong inside
-