You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/06/04 14:15:45 UTC

[commons-statistics] branch master updated: Use a single build goal

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

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


The following commit(s) were added to refs/heads/master by this push:
     new cec47e2  Use a single build goal
cec47e2 is described below

commit cec47e260bd18a9d35ced2a60939c9926504bb23
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Jun 4 15:13:02 2022 +0100

    Use a single build goal
    
    This allows the examples modules to use the dependency artifacts from
    the build and not the local repository.
---
 .github/workflows/maven.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 8ea136c..86854d8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -41,9 +41,6 @@ jobs:
       with:
         distribution: adopt
         java-version: ${{ matrix.java }}
-    - name: Build with Maven
+    - name: Build with Maven including examples
       # Use the default goal
-      run: mvn -V --no-transfer-progress
-    - name: Build examples with Maven
-      working-directory: ./commons-statistics-examples
-      run: mvn -V --no-transfer-progress
+      run: mvn -V --no-transfer-progress -P examples