From 67b3914517a395607d247c4dae7fc37921470075 Mon Sep 17 00:00:00 2001 From: Russ Poetker Date: Mon, 26 Aug 2024 08:21:36 -0400 Subject: [PATCH] Clean repackage config --- pass-core-main/Dockerfile | 2 +- pass-core-main/pom.xml | 14 ++++++++++++++ pom.xml | 20 -------------------- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/pass-core-main/Dockerfile b/pass-core-main/Dockerfile index bee9f141..09e86141 100644 --- a/pass-core-main/Dockerfile +++ b/pass-core-main/Dockerfile @@ -2,7 +2,7 @@ FROM eclipse-temurin:17.0.8_7-jre-jammy WORKDIR /app -COPY target/pass-core-main.jar . +COPY target/pass-core-main-*-exec.jar pass-core-main.jar COPY entrypoint.sh . RUN apt update \ diff --git a/pass-core-main/pom.xml b/pass-core-main/pom.xml index 14034d82..b7b00988 100644 --- a/pass-core-main/pom.xml +++ b/pass-core-main/pom.xml @@ -230,6 +230,20 @@ org.springframework.boot spring-boot-maven-plugin + ${spring-boot-maven-plugin.version} + + + repackage + + repackage + + + org.eclipse.pass.main.Main + exec + false + + + diff --git a/pom.xml b/pom.xml index a61c649c..198f1df7 100644 --- a/pom.xml +++ b/pom.xml @@ -154,26 +154,6 @@ - - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot-maven-plugin.version} - - org.eclipse.pass.main.Main - pass-core-main - - - - - repackage - - - - - -