Skip to content

Commit

Permalink
Normalize mvn invocation on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 11, 2023
1 parent 9418f33 commit 30e6ab8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -V test jacoco:report --file pom.xml --no-transfer-progress
run: mvn --show-version --batch-mode --no-transfer-progress test jacoco:report

- name: Upload coverage to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ jobs:
# "C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\opt"
env:
OPENSSL_HOME: "C:\\Miniconda\\Library"
run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false
run: mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false
- name: Run Crypto (JNI)
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" -D"commons.crypto.debug=true"
mvn --show-version --batch-mode --no-transfer-progress -q exec:java -D"exec.mainClass=org.apache.commons.crypto.Crypto" -D"commons.crypto.debug=true"
- name: Run OpenSslJna (JNA - don't override lib)
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"commons.crypto.debug=true"
mvn --show-version --batch-mode --no-transfer-progress -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"commons.crypto.debug=true"
- name: Run OpenSslJna (JNA - macOS from openssl version -a ENGINESDIR)
if: ${{ matrix.os == 'macos-11' }}
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=/usr/local/Cellar/[email protected]/1.1.1v/lib" -D"commons.crypto.debug=true"
mvn --show-version --batch-mode --no-transfer-progress -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=/usr/local/Cellar/[email protected]/1.1.1v/lib" -D"commons.crypto.debug=true"
- name: Run OpenSslJna (JNA - Windows from openssl version -a ENGINESDIR)
if: ${{ matrix.os == 'windows-latest' }}
run: |
mvn -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=C:\Program Files\OpenSSL\lib" -D"commons.crypto.debug=true"
mvn --show-version --batch-mode --no-transfer-progress -q exec:java -D"exec.mainClass=org.apache.commons.crypto.jna.OpenSslJna" -D"jna.library.path=C:\Program Files\OpenSSL\lib" -D"commons.crypto.debug=true"

0 comments on commit 30e6ab8

Please sign in to comment.