Skip to content

Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.1 #146

Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.1

Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.1 #146

Workflow file for this run

# Copyright 2022 VMware, Inc.
# SPDX-License-Identifier: MIT
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
name: Java CI
on:
push:
branches:
- '*'
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ "11", "17" ]
javadoc: [ false ]
site: [ false ]
checkstyle-version: [ "" ]
include:
# Checkstyle 10 requires JDK 11 or higher, so downgrade to 9.3;
# disable javadoc in JDK 8 because it cannot read module files.
- java-version: "8"
checkstyle-version: "9.3"
- java-version: "11"
site: true
- java-version: "17"
javadoc: true
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'adopt'
- name: Build with Maven
run: |
GOALS=verify
if [ "${{ matrix.javadoc }}" = true ]
then
GOALS="$GOALS javadoc:javadoc javadoc:test-javadoc"
fi
if [ "${{ matrix.site }}" = true ]
then
GOALS="$GOALS site"
fi
DEFS=
if [ "${{ matrix.checkstyle-version }}" ]
then
DEFS="$DEFS -Dcheckstyle.version=${{ matrix.checkstyle-version }}"
fi
./mvnw $DEFS --batch-mode --update-snapshots $GOALS
# End main.yml