mn:aot-sample-config
Full name:
io.micronaut.maven:micronaut-maven-plugin:4.7.2-SNAPSHOT:aot-sample-config
Description:
Generates a sample aot.properties
showcasing all the possible values along with a description.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope:
compile+runtime
. - The goal is not marked as thread-safe and thus does not support parallel builds.
- Since version:
4.0.0
. - Binds by default to the lifecycle phase:
package
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<micronautAotVersion> |
String |
- |
Micronaut AOT version. User Property: micronaut.aot.version |
<outputDirectory> |
File |
- |
Directory where compiled application classes are. Default: ${project.build.outputDirectory} |
<runtime> |
String |
- |
Micronaut AOT runtime. Possible values: jit , native .Default: jit User Property: micronaut.aot.runtime |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<aotDependencies> |
List<Dependency> |
- |
No description. |
<aotJvmArgs> |
List<String> |
4.0.2 |
Additional JVM arguments to pass to the AOT compiler (eg: --enable-preview ).User Property: micronaut.aot.jvmArgs |
<enabled> |
boolean |
- |
Whether to enable or disable Micronaut AOT. Default: false User Property: micronaut.aot.enabled |
<packageName> |
String |
- |
Package name to use for generated sources. User Property: micronaut.aot.packageName |
Parameter Details
<aotDependencies>
No description.
- Type:
java.util.List<org.apache.maven.model.Dependency>
- Required:
No
<aotJvmArgs>
Additional JVM arguments to pass to the AOT compiler (eg:
--enable-preview
).- Type:
java.util.List<java.lang.String>
- Since:
4.0.2
- Required:
No
- User Property:
micronaut.aot.jvmArgs
<enabled>
Whether to enable or disable Micronaut AOT.
- Type:
boolean
- Required:
No
- User Property:
micronaut.aot.enabled
- Default:
false
<micronautAotVersion>
Micronaut AOT version.
- Type:
java.lang.String
- Required:
Yes
- User Property:
micronaut.aot.version
<outputDirectory>
Directory where compiled application classes are.
- Type:
java.io.File
- Required:
Yes
- Default:
${project.build.outputDirectory}
<packageName>
Package name to use for generated sources.
- Type:
java.lang.String
- Required:
No
- User Property:
micronaut.aot.packageName
<runtime>
Micronaut AOT runtime. Possible values:
jit
, native
.- Type:
java.lang.String
- Required:
Yes
- User Property:
micronaut.aot.runtime
- Default:
jit