Class AbstractMicronautAotCliMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.aot.AbstractMicronautAotMojo
io.micronaut.maven.aot.AbstractMicronautAotCliMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractAotAnalysisMojo, AbstractAotSampleMojo
Base class for Micronaut AOT mojos.
- Since:
- 3.2.0
- Author:
- Álvaro Sánchez-Mariscal
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected StringPackage name to use for generated sources.Fields inherited from class AbstractMicronautAotMojo
aotExclusions, compilerService, enabled, mavenProject, micronautAotVersion, outputDirectory, runtimeFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractMicronautAotCliMojo(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 voidMethods inherited from class AbstractMicronautAotMojo
alignRuntimeWithPackaging, execute, getBaseOutputDirectory, outputFile, setLog, shouldExecuteMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setPluginContext
-
Field Details
-
EXEC_MAVEN_PLUGIN_GROUP
- See Also:
-
EXEC_MAVEN_PLUGIN_ARTIFACT
- See Also:
-
EXEC_MAVEN_PLUGIN_VERSION_PROPERTY
- See Also:
-
DEFAULT_EXEC_MAVEN_PLUGIN_VERSION
- See Also:
-
packageName
Package name to use for generated sources.
-
-
Constructor Details
-
AbstractMicronautAotCliMojo
@Inject protected AbstractMicronautAotCliMojo(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
-
getExtraArgs
protected abstract List<String> getExtraArgs() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.eclipse.aether.resolution.DependencyResolutionException- Specified by:
doExecutein classAbstractMicronautAotMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.eclipse.aether.resolution.DependencyResolutionException
-