BAEL-6088 - Ahead of Time Optimizations in Spring 6

This commit is contained in:
Cesare 2023-01-19 10:26:10 +01:00
parent 1bdb77da2b
commit a16876b7b9
2 changed files with 20 additions and 5 deletions

View File

@ -47,12 +47,26 @@
<skipNativeTests>true</skipNativeTests>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<!-- We can compile the application in AOT mode but not producing a native image -->
<!-- If we active this plugin -->
<!-- and deactive all the pom native component -->
<!-- <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<jvmArguments> -agentlib:native-image-agent=config-output-dir=target/native-image
</jvmArguments>
<systemPropertyVariables>
<springAot>true</springAot>
</systemPropertyVariables>
</configuration>
</plugin> -->
</plugins>
</pluginManagement>
</build>
<profiles>
<!-- The native profile is already defined by the parent POM. -->
<profiles>
<!-- The native profile is already defined by the parent POM. -->
<!-- To use this plugin, we need GraalVM (located under $GRAALVM_HOME) and -->
<!-- native-builder (located in the $PATH) -->
<profile>

View File

@ -1,3 +1,4 @@
## Relevant Articles:
- [Introduction to Spring Native](https://www.baeldung.com/spring-native-intro)
- [Ahead of Time Optimizations in Spring 6](https://www.baeldung.com/aot-optimization-spring)