From bfa44afd08ee6fca76e1300409dedc098c5ef043 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Tue, 13 Jun 2023 21:48:43 +0200 Subject: [PATCH] enable spring native https --- pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index e213346..1cbbdfa 100644 --- a/pom.xml +++ b/pom.xml @@ -59,6 +59,15 @@ <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> + <configuration> + <image> + <builder>paketobuildpacks/builder:tiny</builder> + <env> + <BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE> + <BP_NATIVE_IMAGE_BUILD_ARGUMENTS>--enable-https</BP_NATIVE_IMAGE_BUILD_ARGUMENTS> + </env> + </image> + </configuration> </plugin> <plugin> <groupId>org.graalvm.buildtools</groupId> -- GitLab