BAEL-6088 - Ahead of Time Optimizations in Spring 6
This commit is contained in:
parent
1bdb77da2b
commit
a16876b7b9
|
@ -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>
|
||||
|
|
|
@ -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)
|
Loading…
Reference in New Issue