From c7c0068103b0382c94a47e4d3281352724da87a8 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Wed, 1 Nov 2023 20:07:59 +1000 Subject: [PATCH] Fix: Set MVN_PHASES to clean and install The defaults being set are "clean, deploy". Pass additional opts "-Dkaraf.keep.unpack" Change-Id: I672b44bba07709cd45a7e008b17769c0f28b8b08 Signed-off-by: Anil Belur --- .github/workflows/gerrit-verify.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index 79f0fbd31..30684815d 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -84,6 +84,14 @@ jobs: JDK_VERSION: "17" MVN_VERSION: "3.8.3" MVN_PROFILES: "docker" + MVN_PHASES: "clean, install" + # yamllint disable rule:line-length + MVN_OPTS: >- + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r + -DaltDeploymentRepository=staging::default::file:"${GITHUB_WORKSPACE}"/m2repo + -Dkaraf.keep.unpack + # yamllint enable rule:line-length ENV_VARS: ${{ toJSON(vars) }} vote: -- 2.36.6