public abstract class AbstractMicronautAotCliMojo extends AbstractMicronautAotMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_EXEC_MAVEN_PLUGIN_VERSION |
static String |
EXEC_MAVEN_PLUGIN_ARTIFACT |
static String |
EXEC_MAVEN_PLUGIN_GROUP |
static String |
EXEC_MAVEN_PLUGIN_VERSION_PROPERTY |
protected String |
packageName
Package name to use for generated sources.
|
compilerService, enabled, mavenProject, mavenSession, micronautAotVersion, outputDirectory, repositorySystem, runtime| Constructor and Description |
|---|
AbstractMicronautAotCliMojo(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 void |
doExecute() |
protected abstract List<String> |
getExtraArgs() |
execute, getBaseOutputDirectory, outputFilepublic static final String EXEC_MAVEN_PLUGIN_GROUP
public static final String EXEC_MAVEN_PLUGIN_ARTIFACT
public static final String EXEC_MAVEN_PLUGIN_VERSION_PROPERTY
public static final String DEFAULT_EXEC_MAVEN_PLUGIN_VERSION
@Parameter(property="micronaut.aot.packageName") protected String packageName
@Inject public AbstractMicronautAotCliMojo(CompilerService compilerService, ExecutorService executorService, org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.MavenSession mavenSession, org.eclipse.aether.RepositorySystem repositorySystem, DependencyResolutionService dependencyResolutionService)
protected abstract List<String> getExtraArgs() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.eclipse.aether.resolution.DependencyResolutionException
doExecute in class AbstractMicronautAotMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.eclipse.aether.resolution.DependencyResolutionExceptionCopyright © 2020–2023 Micronaut. All rights reserved.