Skip to content

Bump org.junit.jupiter:junit-jupiter from 5.11.3 to 5.11.4 #1390

Bump org.junit.jupiter:junit-jupiter from 5.11.3 to 5.11.4

Bump org.junit.jupiter:junit-jupiter from 5.11.3 to 5.11.4 #1390

Workflow file for this run

---
# This workflow will build a Java project with Maven
# For more information see:
# https://help.github.com/actions/language-and-framework-guides
# /building-and-testing-java-with-maven
name: Maven
on:
push:
pull_request:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
permissions: {}
env:
MAVEN_OPTS: >
-Dhttps.protocols=TLSv1.2
-Dmaven.repo.local=.m2/repository
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN
-Dorg.slf4j.simpleLogger.showDateTime=true
-Djava.awt.headless=true
MAVEN_CLI_OPTS: >
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17, 21]
name: Java ${{ matrix.java }}
steps:
- name: Set REPOSITORY
run: echo "REPOSITORY=${GITHUB_REPOSITORY#*/}" >> "${GITHUB_ENV}"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build with Maven
run: |
# Forcing dependency check version to a version compatible
# with Java 8 since version does not matter due to
# dependencyCheck.skip=true. But otherwise Maven initialization
# fails with error: "java.lang.TypeNotPresentException:
# Type org.owasp.dependencycheck.maven.CheckMojo not present".
# shellcheck disable=SC2086
./mvnw ${MAVEN_CLI_OPTS} -DdependencyCheck.version=10.0.4 -DdependencyCheck.skip=true verify
- name: Upload artifacts
if: ${{ matrix.java == 8 }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: ${{ env.REPOSITORY }}
path: target/
- name: Clean up
run: rm "${HOME}/.m2/settings.xml"