This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-3.9.x by this push:
new 1f97d9ff07 Use Maven Wrapper to build
1f97d9ff07 is described below
commit 1f97d9ff07ef93f7152532d2b274526ffe74cbcb
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Mon Jun 3 20:06:56 2024 +0200
Use Maven Wrapper to build
---
.github/workflows/maven.yml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 3470c1b7ad..69f129764f 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -46,8 +46,12 @@ jobs:
distribution: 'zulu'
cache: 'maven'
+ - name: Set up Maven
+ run:
+ mvn --errors --batch-mode --show-version
org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=3.9.7"
+
- name: Build with Maven
- run: mvn verify -e -B -V -DdistributionFileName=apache-maven
+ run: ./mvnw verify -e -B -V -DdistributionFileName=apache-maven
- name: Upload built Maven
uses: actions/upload-artifact@v4
@@ -128,6 +132,10 @@ jobs:
distribution: 'zulu'
cache: 'maven'
+ - name: Set up Maven
+ run:
+ mvn --errors --batch-mode --show-version
org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=3.9.7"
+
- name: Running integration tests
shell: bash
- run: mvn install -e -B -V -Prun-its,embedded
-Dmaven.repo.local="$HOME/.m2/repository"
-DmavenDistro="$GITHUB_WORKSPACE/built-maven/apache-maven-bin.zip" -f
maven-integration-testing/pom.xml
+ run: ./mvnw install -e -B -V -Prun-its,embedded
-Dmaven.repo.local="$HOME/.m2/repository"
-DmavenDistro="$GITHUB_WORKSPACE/built-maven/apache-maven-bin.zip" -f
maven-integration-testing/pom.xml