From 0d719da7852bb30c1684712867be4b7c82ab9fb0 Mon Sep 17 00:00:00 2001 From: David DE CARVALHO Date: Thu, 4 Jan 2024 00:15:03 +0100 Subject: [PATCH] rework pom.xml + Dockerfile --- Dockerfile | 2 +- pom.xml | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4233f48..4dac61c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,4 +6,4 @@ WORKDIR /usr/src/ecocode RUN ./tool_build.sh FROM sonarqube:10.1.0-community -COPY --from=builder /usr/src/ecocode/lib/* /opt/sonarqube/extensions/plugins/ +COPY --from=builder /usr/src/ecocode/target/ecocode-*.jar /opt/sonarqube/extensions/plugins/ diff --git a/pom.xml b/pom.xml index 3eb4ef9..5c41c46 100644 --- a/pom.xml +++ b/pom.xml @@ -119,32 +119,6 @@ maven-compiler-plugin 3.11.0 - - org.apache.maven.plugins - maven-dependency-plugin - 3.6.0 - - - copy-bundle - package - - copy - - - - - ${project.groupId} - ${project.artifactId} - ${project.version} - jar - true - - - ../lib - - - - org.apache.maven.plugins maven-surefire-plugin