I want to create OCI images with different JVM bases using Spring Boot's build-image goal. However, I am having difficulty finding documentation for overriding the JVM. Can anyone let me know how to override just the JVM varients say " paketo-buildpacks/adoptium"?
My pom file looks like the one below.
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<builder>jfrog.mycompany.com/paketobuildpacks/builder:base</builder>
<runImage>jfrog.mycompany.com/paketobuildpacks/run:base-cnb</runImage>
</image>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
I tried checking the Spring boot plugin as well as paketo documentaion. But there is no stratight forward examples or instructions.