From 15b5b51bb0d0c81d9cd84685354be31510fbe142 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Tue, 4 Jan 2022 10:00:02 -0500 Subject: [PATCH 1/2] [actions] Add github action to run entirely through maven 3.3.9 In order to show that plugin is compatible with 3.3.9 --- .github/workflows/it-maven339.yaml | 40 ++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/it-maven339.yaml diff --git a/.github/workflows/it-maven339.yaml b/.github/workflows/it-maven339.yaml new file mode 100644 index 00000000..efc99382 --- /dev/null +++ b/.github/workflows/it-maven339.yaml @@ -0,0 +1,40 @@ +# +# Copyright 2011-2020 the original author or authors. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# You may obtain a copy of the License at +# +# https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +name: Java Integration Tests + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + name: Integration Tests + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v2 + with: + java-version: 11 + distribution: 'zulu' + - name: Load Maven 3.3.9 + run: ./mvnw org.apache.maven.plugins:maven-wrapper-plugin:3.1.0 -DmavenVersion=3.3.9 + - name: Build Setup + run: ./mvnw clean install -Dmaven.min-version=3.3.9 + - name: Integration Test with Maven + run: ./mvnw -DtestSrc=remote -Prun-its clean install -Dinvoker.parallelThreads=4 From 7ceb76b9bb290eb393eea8f52eaced6cdc8281f5 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Tue, 4 Jan 2022 10:02:25 -0500 Subject: [PATCH 2/2] [actions] Adjust name for wrapper 3.3.9 usage and wrapper goal --- .github/workflows/it-maven339.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/it-maven339.yaml b/.github/workflows/it-maven339.yaml index efc99382..b92cbbdf 100644 --- a/.github/workflows/it-maven339.yaml +++ b/.github/workflows/it-maven339.yaml @@ -16,7 +16,7 @@ # GNU General Public License for more details. # -name: Java Integration Tests +name: Java Integration Tests Maven 3.3.9 on: [push, pull_request] @@ -33,7 +33,7 @@ jobs: java-version: 11 distribution: 'zulu' - name: Load Maven 3.3.9 - run: ./mvnw org.apache.maven.plugins:maven-wrapper-plugin:3.1.0 -DmavenVersion=3.3.9 + run: ./mvnw org.apache.maven.plugins:maven-wrapper-plugin:3.1.0:wrapper -DmavenVersion=3.3.9 - name: Build Setup run: ./mvnw clean install -Dmaven.min-version=3.3.9 - name: Integration Test with Maven