类 AbstractAotMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.boot.maven.AbstractDependencyFilterMojo
org.springframework.boot.maven.AbstractAotMojo
所有已实现的接口:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
直接已知子类:
ProcessAotMojo, ProcessTestAotMojo

public abstract class AbstractAotMojo extends AbstractDependencyFilterMojo
Abstract base class for AOT processing MOJOs.
从以下版本开始:
3.0.0
作者:
Phillip Webb, Scott Frederick, Omar YAYA
  • 构造器详细资料

    • AbstractAotMojo

      public AbstractAotMojo()
  • 方法详细资料

    • getSession

      protected final org.apache.maven.execution.MavenSession getSession()
      Return Maven execution session.
      返回:
      session
      从以下版本开始:
      3.0.10
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      抛出:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • executeAot

      protected abstract void executeAot() throws Exception
      抛出:
      Exception
    • generateAotAssets

      protected void generateAotAssets(URL[] classPath, String processorClassName, String... arguments) throws Exception
      抛出:
      Exception
    • compileSourceFiles

      protected final void compileSourceFiles(URL[] classPath, File sourcesDirectory, File outputDirectory) throws Exception
      抛出:
      Exception
    • getClassPath

      protected final URL[] getClassPath(File[] directories, org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter... artifactFilters) throws org.apache.maven.plugin.MojoExecutionException
      抛出:
      org.apache.maven.plugin.MojoExecutionException
    • copyAll

      protected final void copyAll(Path from, Path to) throws IOException
      抛出:
      IOException