Fix: Pass new build action required Maven options 90/15190/1
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 5 Nov 2025 12:09:04 +0000 (12:09 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 5 Nov 2025 12:09:04 +0000 (12:09 +0000)
Issue-ID: CIMAN-33
Change-Id: I765e32765dc1f33aeb94555479960c36fa556d39
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
.github/workflows/security-scans.yaml

index 2c6239e..60d4b59 100644 (file)
@@ -63,9 +63,14 @@ jobs:
           path: "pom.xml"
 
       - name: "Build Maven project"
-        if: steps.maven-project.outputs.exists == 'true'
+        if: steps.maven-project.outputs.type == 'file'
         # yamllint disable-line rule:line-length
         uses: lfreleng-actions/maven-build-action@766c383c4d1103778a5c166c3a84d081555895e2 # v0.1.0
+        with:
+          jdk-version: "17"
+          mvn-phases: 'clean verify'
+          mvn-params: '-Ddocker.skip=true'
+          global-settings: ${{ vars.GLOBAL_SETTINGS }}
 
       - name: "SonarQube Cloud Scan"
         # yamllint disable-line rule:line-length