Skip to content

⬆️(deps): Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.9.1 #4554

⬆️(deps): Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.9.1

⬆️(deps): Update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.9.1 #4554

Workflow file for this run

name: Maven test
on:
workflow_dispatch:
pull_request:
permissions:
contents: read
jobs:
maven-quality:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
oss.sonatype.org:443
repo.maven.apache.org:443
repo.spring.io:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.6
- name: mvn clean verify
run: mvn clean verify
- name: Build with Maven
run: mvn --batch-mode --update-snapshots clean package
- name: Run doc check
run: mvn org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:jar
- name: Run spotless check
run: mvn spotless:check
- name: Check maven pom quality
run: mvn org.kordamp.maven:pomchecker-maven-plugin:1.9.0:check-maven-central -D"checker.release=false"
reproducilbilty:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}/maven_plugin
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
oss.sonatype.org:443
repo.maven.apache.org:443
repo.spring.io:443
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up JDK 17
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.6
- name: Build with Maven
run: mvn --batch-mode --update-snapshots clean install
- name: Run reproducibility check
run: mvn clean install