From 8be60e8dab0d582b267140ba16a51fcaa9ea7250 Mon Sep 17 00:00:00 2001 From: Lehmann_Fabian Date: Thu, 13 Mar 2025 14:48:47 +0100 Subject: [PATCH 1/4] Remove maven-shade-plugin Signed-off-by: Lehmann_Fabian --- pom.xml | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/pom.xml b/pom.xml index 92be8c09..5b2ac56e 100644 --- a/pom.xml +++ b/pom.xml @@ -152,36 +152,6 @@ - - org.apache.maven.plugins - maven-shade-plugin - - - package - - shade - - - cws - true - - - META-INF/spring.handlers - - - META-INF/spring.factories - - - META-INF/spring.schemas - - - - - - org.jacoco jacoco-maven-plugin @@ -224,6 +194,11 @@ org.springframework.boot spring-boot-maven-plugin + + + repackage + + build-info @@ -231,6 +206,11 @@ + + + true + + From 78e3b9aaf8f0472ca7e24fe1f1c60b154bc26571 Mon Sep 17 00:00:00 2001 From: Lehmann_Fabian Date: Thu, 13 Mar 2025 15:21:14 +0100 Subject: [PATCH 2/4] Remove unused javatuples Signed-off-by: Lehmann_Fabian --- pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pom.xml b/pom.xml index 5b2ac56e..3efdfc12 100644 --- a/pom.xml +++ b/pom.xml @@ -49,12 +49,6 @@ 7.1.0 - - org.javatuples - javatuples - 1.2 - - org.projectlombok lombok From 01241f148eb3b4f7c9e636ba3e9fd743509fd939 Mon Sep 17 00:00:00 2001 From: Lehmann_Fabian Date: Thu, 13 Mar 2025 15:31:11 +0100 Subject: [PATCH 3/4] Remove further unused dependencies Signed-off-by: Lehmann_Fabian --- pom.xml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/pom.xml b/pom.xml index 3efdfc12..6c0c0f21 100644 --- a/pom.xml +++ b/pom.xml @@ -55,13 +55,6 @@ provided - - org.mockito - mockito-inline - 5.2.0 - test - - org.springframework.boot spring-boot-starter-web @@ -101,12 +94,6 @@ 2.8.5 - - ch.qos.logback - logback-core - 1.5.17 - - com.fasterxml.jackson.core jackson-databind @@ -119,12 +106,6 @@ 2.18.3 - - com.fasterxml.jackson.core - jackson-annotations - 3.0-rc1 - - org.apache.commons commons-math3 @@ -137,11 +118,6 @@ 9.12.4544 - - org.springframework.boot - spring-boot-starter-validation - - From 842104a1c8551af9d74a268adc948935f6e7a27d Mon Sep 17 00:00:00 2001 From: Lehmann_Fabian Date: Thu, 13 Mar 2025 15:33:40 +0100 Subject: [PATCH 4/4] only use main for docker build Signed-off-by: Lehmann_Fabian --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a1f72871..a08caf9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y maven && rm -rf /var/lib/apt/lists/* COPY pom.xml . RUN mvn dependency:go-offline --no-transfer-progress -COPY src/ ./src/ +COPY src/main/ ./src/main/ RUN mvn package --no-transfer-progress -DskipTests FROM eclipse-temurin:21-jre-jammy