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:16:18 UTC

[commons-geometry] 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-geometry.git


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

commit 9fca239a7c15c07c881ab2bf9d7ceccfde7d5972
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Jun 4 15:16:00 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 | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index cbc59181..92c35b08 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -41,10 +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
-      # Use the default goal
-      working-directory: ./commons-geometry-examples
-      run: mvn -V --no-transfer-progress
+      run: mvn -V --no-transfer-progress -P commons-geometry-examples