Package io.micronaut.maven.aot
Class AotSampleMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.AbstractMicronautMojo
io.micronaut.maven.aot.AbstractMicronautAotMojo
io.micronaut.maven.aot.AbstractMicronautAotCliMojo
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 AbstractMicronautAotCliMojo
Generates a sample
aot.properties
showcasing all the possible values along with a description.-
Field Summary
Fields inherited from class io.micronaut.maven.aot.AbstractMicronautAotCliMojo
DEFAULT_EXEC_MAVEN_PLUGIN_VERSION, EXEC_MAVEN_PLUGIN_ARTIFACT, EXEC_MAVEN_PLUGIN_GROUP, EXEC_MAVEN_PLUGIN_VERSION_PROPERTY, packageName
Fields inherited from class io.micronaut.maven.aot.AbstractMicronautAotMojo
compilerService, enabled, mavenProject, micronautAotVersion, outputDirectory, runtime
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
ConstructorDescriptionAotSampleMojo
(CompilerService compilerService, ExecutorService executorService, org.apache.maven.project.MavenProject mavenProject, DependencyResolutionService dependencyResolutionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Methods inherited from class io.micronaut.maven.aot.AbstractMicronautAotCliMojo
doExecute
Methods inherited from class io.micronaut.maven.aot.AbstractMicronautAotMojo
execute, getBaseOutputDirectory, outputFile
Methods inherited from class io.micronaut.maven.AbstractMicronautMojo
setLog
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Field Details
-
SAMPLE_AOT_PROPERTIES_FILE_NAME
- See Also:
-
NAME
- See Also:
-
-
Constructor Details
-
AotSampleMojo
@Inject public AotSampleMojo(CompilerService compilerService, ExecutorService executorService, org.apache.maven.project.MavenProject mavenProject, DependencyResolutionService dependencyResolutionService)
-
-
Method Details
-
getExtraArgs
- Specified by:
getExtraArgs
in classAbstractMicronautAotCliMojo
-
onSuccess
-