Skip to content

Commit

Permalink
Fix: Set MVN_PHASES to clean and install
Browse files Browse the repository at this point in the history
The defaults being set are "clean, deploy".
Pass additional opts "-Dkaraf.keep.unpack"

Change-Id: I672b44bba07709cd45a7e008b17769c0f28b8b08
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
  • Loading branch information
askb authored and rovarga committed Dec 29, 2023
1 parent f427f23 commit c7c0068
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/gerrit-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c7c0068

Please sign in to comment.