Class AotGenerateMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="aot-generate", defaultPhase=PREPARE_PACKAGE, threadSafe=true, requiresDependencyResolution=COMPILE_PLUS_RUNTIME, requiresDependencyCollection=COMPILE_PLUS_RUNTIME) public class AotGenerateMojo extends AbstractRunMojo
Invoke the AOT engine on the application.
Since:
3.0.0
Author:
Stephane Nicoll, Andy Wilkinson
  • Constructor Details

    • AotGenerateMojo

      public AotGenerateMojo()
  • Method Details

    • run

      protected void run(File workingDirectory, String startClassName, Map<String,String> environmentVariables) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Description copied from class: AbstractRunMojo
      Run with a forked VM, using the specified class name.
      Specified by:
      run in class AbstractRunMojo
      Parameters:
      workingDirectory - the working directory of the forked JVM
      startClassName - the name of the class to execute
      environmentVariables - the environment variables
      Throws:
      org.apache.maven.plugin.MojoExecutionException - in case of MOJO execution errors
      org.apache.maven.plugin.MojoFailureException - in case of MOJO failures
    • getClassPathUrls

      protected URL[] getClassPathUrls() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      getClassPathUrls in class AbstractRunMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException