Skip to content

Set up Maven 4 test pipeline #5

Set up Maven 4 test pipeline

Set up Maven 4 test pipeline #5

Workflow file for this run

name: Maven 4
on:
push:
branches:
- main
paths-ignore:
- '*.adoc'
- docs/**
pull_request:
branches:
- main
paths-ignore:
- '*.adoc'
- docs/**
jobs:
build:
name: Build
strategy:
fail-fast: false
max-parallel: 12
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
java:
- 17
- 21
maven:
- 4.0.0-beta-5
runs-on: ${{ matrix.os }}
steps:
- uses: s4u/[email protected]
with:
java-distribution: 'temurin'
java-version: ${{ matrix.java }}
maven-version: ${{ matrix.maven }}
- name: Maven version
run: mvn -version
- name: Build & Test
run: mvn -B -Prun-its clean verify -D"maven.version=${{ matrix.maven }}" -D"plexus-utils.version=4.0.2"