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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
protected String
Package name to use for generated sources.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
ConstructorDescriptionAbstractMicronautAotCliMojo
(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.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
-
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)
-
-
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:
doExecute
in classAbstractMicronautAotMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.eclipse.aether.resolution.DependencyResolutionException
-