From 3b675ecff134b49e00ba24f81a6e0c63fc945e27 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 9 Jul 2025 10:59:19 +0200 Subject: [PATCH] Fix plugin related issues - update groovy-maven-plugin (2.0 -> 2.1.1) to fix warning that appears in Java 11+. In the future we should switch to the gmavenplus plugin - exclude csar files from being eligible for filtering by the maven-resources-plugin in the asdc-controller module. This fixes an IndexOutputBounds exception that otherwise occurs - bind the maven-dependency-plugin:unpack execution to the prepare-package phase to only execute it when the Docker images are build Issue-ID: SO-4201 Change-Id: I339661406a4bce06e59ff5589977688c9d41f459 Signed-off-by: Fiete Ostkamp --- asdc-controller/pom.xml | 9 +++++++++ pom.xml | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/asdc-controller/pom.xml b/asdc-controller/pom.xml index 262f5781d1..6bc09b456b 100644 --- a/asdc-controller/pom.xml +++ b/asdc-controller/pom.xml @@ -46,6 +46,15 @@ + + org.apache.maven.plugins + maven-resources-plugin + + + csar + + + diff --git a/pom.xml b/pom.xml index f51fd3a208..6b891041fc 100644 --- a/pom.xml +++ b/pom.xml @@ -391,7 +391,7 @@ org.codehaus.gmaven groovy-maven-plugin - 2.0 + 2.1.1 @@ -650,6 +650,7 @@ extract-docker-file + prepare-package unpack -- 2.16.6