Skip to content

Allow "native" Maven profile to support both NBT and buildpacks #31770

@odrotbohm

Description

@odrotbohm

The Spring Boot build plugins support creating native images out of the box using the build-image command that uses Buildpacks to build the GraalVM native image. Still, Boot 3.0 has introduced a dedicated build profile native that rather uses the native-maven-plugin which requires GraalVM and the native plugin installed locally.

I would appreciate if one could build images without having to declare an extra profile with boilerplate setup to use the Boot plugin built in functionality to build a Docker container with a native image contained.

Metadata

Metadata

Assignees

Labels

theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions