From ae38dc86b12f9f3822f772d3270270bb100c0dc9 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 30 Jan 2024 14:51:52 +1000 Subject: [PATCH] Setup maven via mvnw other than that we run a randon maven version --- .github/workflows/maven.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a6cdbab..1d39e41 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -41,6 +41,9 @@ jobs: distribution: ${{ matrix.jdk }} java-version: ${{ matrix.java }} cache: 'maven' - + + - name: Set up Maven + run: mvn --errors --batch-mode --show-version wrapper:wrapper "-Dmaven=3.9.6" + - name: Build with Maven - run: mvn install javadoc:javadoc -e -B -V + run: ./mvnw install javadoc:javadoc -e -B -V