Resolve running mvn schemaspy:schemaspy
failure
#653
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'OWASP dependency check' | |
concurrency: | |
group: ${{ github.workflow }}-${{ ( github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' ) && format('ci-master-{0}', github.sha) || format('ci-master-{0}', github.ref) }} | |
cancel-in-progress: true | |
on: [ pull_request, workflow_dispatch ] | |
jobs: | |
build: | |
name: "Java ${{ matrix.java }}" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 11 ] | |
java_dist: [ "temurin" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 'Set up JDK' | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.java_dist }} | |
cache: maven | |
- name: 'OWASP Dependency Check' | |
continue-on-error: true | |
env: | |
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | |
run: mvn package -Dmaven.test.skip=true org.owasp:dependency-check-maven:check -fae -B -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -DfailBuildOnCVSS=7 | |
- name: 'Upload result to GitHub Code Scanning' | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: target/dependency-check-report.sarif |