Package io.micronaut.maven.aot
Class AbstractMicronautAotCliMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.AbstractMicronautMojo
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:
AotAnalysisMojo,AotSampleMojo
Base class for Micronaut AOT mojos.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected StringPackage name to use for generated sources.Fields inherited from class io.micronaut.maven.aot.AbstractMicronautAotMojo
aotExclusions, compilerService, enabled, mavenProject, micronautAotVersion, outputDirectory, runtimeFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMicronautAotCliMojo(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 io.micronaut.maven.aot.AbstractMicronautAotMojo
execute, getBaseOutputDirectory, outputFileMethods inherited from class io.micronaut.maven.AbstractMicronautMojo
setLogMethods 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 public 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
-