Class AotSampleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.aot.AbstractMicronautAotMojo
io.micronaut.maven.aot.AbstractMicronautAotCliMojo
io.micronaut.maven.aot.AbstractAotSampleMojo
io.micronaut.maven.aot.AotSampleMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="aot-sample-config",
defaultPhase=PACKAGE,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class AotSampleMojo
extends AbstractAotSampleMojo
Standalone Micronaut AOT sample configuration goal.
- Since:
- 3.2.0
- Author:
- Álvaro Sánchez-Mariscal
-
Field Summary
Fields inherited from class AbstractAotSampleMojo
NAME, SAMPLE_AOT_PROPERTIES_FILE_NAMEFields inherited from class AbstractMicronautAotCliMojo
DEFAULT_EXEC_MAVEN_PLUGIN_VERSION, EXEC_MAVEN_PLUGIN_ARTIFACT, EXEC_MAVEN_PLUGIN_GROUP, EXEC_MAVEN_PLUGIN_VERSION_PROPERTY, packageNameFields inherited from class AbstractMicronautAotMojo
aotExclusions, compilerService, enabled, mavenProject, micronautAotVersion, outputDirectory, runtimeFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionAotSampleMojo(CompilerService compilerService, ExecutorService executorService, org.apache.maven.project.MavenProject mavenProject, DependencyResolutionService dependencyResolutionService, org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.toolchain.ToolchainManager toolchainManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanControls whether the configured runtime should be normalized against the current project packaging.Methods inherited from class AbstractAotSampleMojo
getExtraArgs, onSuccessMethods inherited from class AbstractMicronautAotCliMojo
doExecuteMethods inherited from class AbstractMicronautAotMojo
execute, getBaseOutputDirectory, outputFile, setLog, shouldExecuteMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Constructor Details
-
AotSampleMojo
@Inject public AotSampleMojo(CompilerService compilerService, ExecutorService executorService, org.apache.maven.project.MavenProject mavenProject, DependencyResolutionService dependencyResolutionService, org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.toolchain.ToolchainManager toolchainManager)
-
-
Method Details
-
alignRuntimeWithPackaging
Description copied from class:AbstractMicronautAotMojoControls whether the configured runtime should be normalized against the current project packaging.- Overrides:
alignRuntimeWithPackagingin classAbstractMicronautAotMojo- Returns:
trueto enforce the integrated packaging/runtime mapping
-