@Mojo(name="aot-sample-config",
defaultPhase=PACKAGE,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class AotSampleMojo
extends AbstractMicronautAotCliMojo
aot.properties showcasing all the possible values along with a description.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
SAMPLE_AOT_PROPERTIES_FILE_NAME |
DEFAULT_EXEC_MAVEN_PLUGIN_VERSION, EXEC_MAVEN_PLUGIN_ARTIFACT, EXEC_MAVEN_PLUGIN_GROUP, EXEC_MAVEN_PLUGIN_VERSION_PROPERTY, packageNamecompilerService, enabled, mavenProject, mavenSession, micronautAotVersion, outputDirectory, repositorySystem, runtime| Constructor and Description |
|---|
AotSampleMojo(CompilerService compilerService,
ExecutorService executorService,
org.apache.maven.project.MavenProject mavenProject,
org.apache.maven.execution.MavenSession mavenSession,
org.eclipse.aether.RepositorySystem repositorySystem,
DependencyResolutionService dependencyResolutionService) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getExtraArgs() |
protected void |
onSuccess(File outputDir) |
doExecuteexecute, getBaseOutputDirectory, outputFilepublic static final String SAMPLE_AOT_PROPERTIES_FILE_NAME
public static final String NAME
@Inject public AotSampleMojo(CompilerService compilerService, ExecutorService executorService, org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, org.eclipse.aether.RepositorySystem repositorySystem, DependencyResolutionService dependencyResolutionService)
protected List<String> getExtraArgs()
getExtraArgs in class AbstractMicronautAotCliMojoprotected void onSuccess(File outputDir)
Copyright © 2020–2023 Micronaut. All rights reserved.