Skip to content

Commit 2f59d09

Browse files
Merge pull request #104 from bernardladenthin/claude/sharp-sagan-3f10fy
Suppress Maven transfer progress output in CI workflows
2 parents e67c3c0 + 2e20146 commit 2f59d09

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
- uses: github/codeql-action/init@v4
2525
with: { languages: java, queries: +security-and-quality }
2626
- name: Build with Maven
27-
run: mvn --batch-mode compile
27+
run: mvn --batch-mode --no-transfer-progress compile
2828
- uses: github/codeql-action/analyze@v4
2929
with: { category: "/language:java" }

.github/workflows/publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
distribution: temurin
5858
cache: maven
5959
- name: Build
60-
run: mvn --batch-mode -DskipTests -Dmaven.javadoc.skip=true package
60+
run: mvn --batch-mode --no-transfer-progress -DskipTests -Dmaven.javadoc.skip=true package
6161
- uses: actions/upload-artifact@v7
6262
with: { name: jars, path: target/*.jar }
6363

@@ -77,7 +77,7 @@ jobs:
7777
distribution: temurin
7878
cache: maven
7979
- name: Test
80-
run: mvn --batch-mode -P jcstress verify -Dmaven.javadoc.skip=true
80+
run: mvn --batch-mode --no-transfer-progress -P jcstress verify -Dmaven.javadoc.skip=true
8181
- uses: actions/upload-artifact@v7
8282
if: matrix.java-version == '21'
8383
with:
@@ -94,7 +94,7 @@ jobs:
9494
- uses: actions/setup-java@v5
9595
with: { java-version: '21', distribution: temurin, cache: maven }
9696
- name: Test under vmlens
97-
run: mvn --batch-mode -Pvmlens test -Dmaven.javadoc.skip=true
97+
run: mvn --batch-mode --no-transfer-progress -Pvmlens test -Dmaven.javadoc.skip=true
9898
- uses: actions/upload-artifact@v7
9999
if: always()
100100
with:
@@ -130,7 +130,7 @@ jobs:
130130
files: target/site/jacoco/jacoco.xml
131131
continue-on-error: true
132132
- name: Run PIT mutation tests
133-
run: mvn --batch-mode test-compile org.pitest:pitest-maven:mutationCoverage -Dmaven.javadoc.skip=true
133+
run: mvn --batch-mode --no-transfer-progress test-compile org.pitest:pitest-maven:mutationCoverage -Dmaven.javadoc.skip=true
134134
- name: Extract PIT survivors
135135
if: always()
136136
run: |
@@ -147,7 +147,7 @@ jobs:
147147
with: { name: pit-reports, path: target/pit-reports/ }
148148
- name: Run JMH benchmarks
149149
run: >
150-
mvn --batch-mode exec:java
150+
mvn --batch-mode --no-transfer-progress exec:java
151151
-Dexec.mainClass=org.openjdk.jmh.Main
152152
-Dexec.classpathScope=test
153153
-Dexec.args="StreamBufferThroughputBenchmark -wi 2 -i 3 -f 0 -rf json -rff target/jmh-results.json"
@@ -196,7 +196,7 @@ jobs:
196196
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
197197
gpg-passphrase: MAVEN_GPG_PASSPHRASE
198198
- name: Deploy snapshot
199-
run: mvn --batch-mode -P release deploy -DskipTests
199+
run: mvn --batch-mode --no-transfer-progress -P release deploy -DskipTests
200200
env:
201201
MAVEN_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
202202
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN }}
@@ -258,7 +258,7 @@ jobs:
258258
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
259259
gpg-passphrase: MAVEN_GPG_PASSPHRASE
260260
- name: Deploy release
261-
run: mvn --batch-mode -P release deploy -DskipTests
261+
run: mvn --batch-mode --no-transfer-progress -P release deploy -DskipTests
262262
env:
263263
MAVEN_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
264264
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN }}

.github/workflows/sonarqube.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
- name: Build and analyze
3838
env:
3939
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
40-
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=bernardladenthin_streambuffer
40+
run: mvn -B --no-transfer-progress verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=bernardladenthin_streambuffer

0 commit comments

Comments
 (0)