You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/10/11 11:49:14 UTC

[commons-numbers] branch master updated: Normalize mvn invocation on GitHub

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new 93fb9aeb Normalize mvn invocation on GitHub
93fb9aeb is described below

commit 93fb9aeb86238fbbadc816be7c20152a78646e4c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Oct 11 07:49:10 2023 -0400

    Normalize mvn invocation on GitHub
---
 .github/workflows/coverage.yml | 2 +-
 .github/workflows/maven.yml    | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 395bae0e..f18088d6 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -39,7 +39,7 @@ jobs:
         java-version: ${{ matrix.java }}
         cache: 'maven'
     - name: Build with Maven
-      run: mvn -V test jacoco:report --no-transfer-progress
+      run: mvn --show-version --batch-mode --no-transfer-progress test jacoco:report
 
     - name: Upload coverage to Codecov
       uses: codecov/codecov-action@v3
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index aec11423..b22394b5 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -41,7 +41,7 @@ jobs:
     - name: Build with Maven
       # Use the default goal
       if: matrix.java == 8
-      run: mvn -V --no-transfer-progress
+      run: mvn --show-version --batch-mode --no-transfer-progress
     - name: Build with Maven including examples
       # Examples require Java 11+.
       # Building javadoc errors when run with the package phase with an error about
@@ -49,5 +49,5 @@ jobs:
       # Here we run the build and javadoc generation separately (which requires install of sources)
       if: matrix.java > 8
       run: |
-        mvn -V --no-transfer-progress -P commons-numbers-examples clean install -Dmaven.javadoc.skip
-        mvn -P commons-numbers-examples javadoc:javadoc -Dmaven.javadoc.skip=false
+        mvn --show-version --batch-mode --no-transfer-progress -P commons-numbers-examples clean install -Dmaven.javadoc.skip
+        mvn --show-version --batch-mode --no-transfer-progress -P commons-numbers-examples javadoc:javadoc -Dmaven.javadoc.skip=false