类 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
Abstract base class for AOT processing MOJOs.
- 从以下版本开始:
- 3.0.0
- 作者:
- Phillip Webb, Scott Frederick, Omar YAYA
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 org.springframework.boot.maven.AbstractDependencyFilterMojo
AbstractDependencyFilterMojo.ExcludeTestScopeArtifactFilter, AbstractDependencyFilterMojo.RuntimeArtifactFilter
-
字段概要
从类继承的字段 org.springframework.boot.maven.AbstractDependencyFilterMojo
project
从接口继承的字段 org.apache.maven.plugin.Mojo
ROLE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected final void
compileSourceFiles
(URL[] classPath, File sourcesDirectory, File outputDirectory) protected final void
void
execute()
protected abstract void
protected void
generateAotAssets
(URL[] classPath, String processorClassName, String... arguments) protected final URL[]
getClassPath
(File[] directories, org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter... artifactFilters) protected final org.apache.maven.execution.MavenSession
Return Maven execution session.从类继承的方法 org.springframework.boot.maven.AbstractDependencyFilterMojo
filterDependencies, getDependencyURLs, setExcludeGroupIds, setExcludes, setIncludes, toURL
从类继承的方法 org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
构造器详细资料
-
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
- 抛出:
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
-
copyAll
- 抛出:
IOException
-