Skip to content

Commit

Permalink
Fix: Export opts as env variables in maven GHA workflow
Browse files Browse the repository at this point in the history
Issue-ID: CIMAN-33
Change-Id: Id1148421ea3fda485c8b4e05797af6aade7a4b47
Signed-off-by: Jessica Wagantall <[email protected]>
  • Loading branch information
jwagantall committed Mar 18, 2024
1 parent 1cb6888 commit 471f645
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gerrit-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,14 @@ jobs:
GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
# yamllint disable rule:line-length
ENV_VARS: "{}"
ENV_VARS: "{MAVEN_OPTS: --add-opens=java.base/java.util=ALL-UNNAMED}"
ENV_SECRETS: "{}"
JDK_VERSION: "17"
MVN_PHASES: "clean install dependency:tree com.sonatype.clm:clm-maven-plugin:2.41.0-02:index"
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
-DMAVEN_OPTS=--add-opens=java.base/java.util=ALL-UNNAMED
secrets:
NEXUS_IQ_PASSWORD: ${{ secrets.NEXUS_IQ_PASSWORD }}

Expand Down

0 comments on commit 471f645

Please sign in to comment.