From 63f534ae99c26dabd3042e20b21af65837c94c36 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 15 Oct 2021 11:38:17 +1000 Subject: [PATCH 1/3] test shared action Signed-off-by: Olivier Lamy --- .github/workflows/maven.yml | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8994aa7..04dabf2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,26 +21,5 @@ on: [push, pull_request] jobs: build: - - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - java: [8, 11, 17] - jdk: [temurin, zulu] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout - uses: actions/checkout@v2.3.4 - - - name: Set up JDK - uses: actions/setup-java@v2 - with: - distribution: ${{ matrix.jdk }} - java-version: ${{ matrix.java }} - cache: 'maven' - - - name: Build with Maven - run: mvn verify --errors --batch-mode --show-version -P run-its + name: Verify + uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main From f196273fdca9ab2fd5b099d40f594734c9eb6991 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 15 Oct 2021 11:41:32 +1000 Subject: [PATCH 2/3] test error Signed-off-by: Olivier Lamy --- src/main/java/org/apache/maven/plugins/jar/JarMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/plugins/jar/JarMojo.java b/src/main/java/org/apache/maven/plugins/jar/JarMojo.java index 4172028..4073e2b 100644 --- a/src/main/java/org/apache/maven/plugins/jar/JarMojo.java +++ b/src/main/java/org/apache/maven/plugins/jar/JarMojo.java @@ -50,7 +50,7 @@ public class JarMojo * If you try to do that a second time without using a classifier the build will fail. */ @Parameter - private String classifier; + private Stringde classifier; /** * {@inheritDoc} From 9c6b7bb673a1dde21c5694ae129fa5cd855a0a34 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 15 Oct 2021 11:43:18 +1000 Subject: [PATCH 3/3] fix error Signed-off-by: Olivier Lamy --- src/main/java/org/apache/maven/plugins/jar/JarMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/plugins/jar/JarMojo.java b/src/main/java/org/apache/maven/plugins/jar/JarMojo.java index 4073e2b..4172028 100644 --- a/src/main/java/org/apache/maven/plugins/jar/JarMojo.java +++ b/src/main/java/org/apache/maven/plugins/jar/JarMojo.java @@ -50,7 +50,7 @@ public class JarMojo * If you try to do that a second time without using a classifier the build will fail. */ @Parameter - private Stringde classifier; + private String classifier; /** * {@inheritDoc}