Class ProcessTestAotMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.springframework.boot.maven.AbstractDependencyFilterMojo
org.springframework.boot.maven.AbstractAotMojo
org.springframework.boot.maven.ProcessTestAotMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="process-test-aot",
defaultPhase=PROCESS_TEST_CLASSES,
threadSafe=true,
requiresDependencyResolution=TEST,
requiresDependencyCollection=TEST)
public class ProcessTestAotMojo
extends AbstractAotMojo
Invoke the AOT engine on tests.
- Since:
- 3.0.0
- Author:
- Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractAotMojo
AbstractAotMojo.Errors
Nested classes/interfaces inherited from class AbstractDependencyFilterMojo
AbstractDependencyFilterMojo.ExcludeTestScopeArtifactFilter, AbstractDependencyFilterMojo.RuntimeArtifactFilter
-
Field Summary
Fields inherited from class AbstractDependencyFilterMojo
project
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorsConstructorDescriptionProcessTestAotMojo
(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.eclipse.aether.RepositorySystem repositorySystem) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected URL[]
getClassPath
(boolean includeJUnitPlatformLauncher) Methods inherited from class AbstractAotMojo
compileSourceFiles, copyAll, execute, generateAotAssets, getClassPath, getSession
Methods inherited from class AbstractDependencyFilterMojo
filterDependencies, getDependencyURLs, setExcludeGroupIds, setExcludes, setIncludes, toURL
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ProcessTestAotMojo
@Inject public ProcessTestAotMojo(org.apache.maven.toolchain.ToolchainManager toolchainManager, org.eclipse.aether.RepositorySystem repositorySystem)
-
-
Method Details
-
executeAot
- Specified by:
executeAot
in classAbstractAotMojo
- Throws:
Exception
-
getClassPath
-