From 230136f6231a235660b7662d4a8cd72fcba9b160 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Wed, 8 Nov 2023 14:40:33 +0100
Subject: [PATCH] switching base image; cleanup

---
 goofy-server/pom.xml                            | 8 ++++++++
 goofy-server/src/main/resources/application.yml | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/goofy-server/pom.xml b/goofy-server/pom.xml
index eef1d5ae06..a82f4a75e3 100644
--- a/goofy-server/pom.xml
+++ b/goofy-server/pom.xml
@@ -59,6 +59,14 @@
 				<groupId>org.springframework.boot</groupId>
 				<artifactId>spring-boot-maven-plugin</artifactId>
 				<configuration>
+					<profiles>
+						<profile>local</profile>
+						<profile>remotekc</profile>
+					</profiles>
+					<!-- remove it when using spring-boot 3.2 -->
+					<image>
+						<builder>paketobuildpacks/builder-jammy-base</builder>
+					</image>
 					<docker>
 						<publishRegistry>
 							<username>${docker-username}</username>
diff --git a/goofy-server/src/main/resources/application.yml b/goofy-server/src/main/resources/application.yml
index 711b248978..5837d4eb11 100644
--- a/goofy-server/src/main/resources/application.yml
+++ b/goofy-server/src/main/resources/application.yml
@@ -8,7 +8,7 @@ logging:
 spring:
   mvc:
     pathmatch:
-      matching-strategy: ant_path_matcher
+      matching-strategy: ant-path-matcher
   application:
     name: Goofy
   jackson:
-- 
GitLab