Package org.seedstack.maven
Class ToolMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.seedstack.maven.AbstractExecutableMojo
-
- org.seedstack.maven.ToolMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="tool", requiresProject=true, threadSafe=true, defaultPhase=VALIDATE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) @Execute(phase=PROCESS_CLASSES) public class ToolMojo extends AbstractExecutableMojoDefines the tool goal. This goal runs a Seed tool specified with by the "tool" property. Arguments to the tool can be given with the "args" property.
-
-
Constructor Summary
Constructors Constructor Description ToolMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()ContextgetContext()-
Methods inherited from class org.seedstack.maven.AbstractExecutableMojo
execute
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
getContext
public Context getContext()
-
-