Skip to content

chore: Update Maven to 3.9.9 #85

chore: Update Maven to 3.9.9

chore: Update Maven to 3.9.9 #85

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
cache: maven
- name: Build with Maven
run: ./mvnw -B verify -P checks,run-its
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write #required for POST snapshot API https://docs.github.com/en/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository
steps:
- uses: actions/checkout@v4
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@bb3f7338b5bd0e3b225d8082e26b7b6289e17ef3