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

      • ToolMojo

        public ToolMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • getContext

        public Context getContext()