Skip to content

add --no-transfer-progress option to mvn commands #838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/default-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run checkstyle with Maven
run: mvn clean verify -B -Pcheckstyle -Dmaven.test.skip=true
run: mvn clean verify -B -Pcheckstyle -Dmaven.test.skip=true --no-transfer-progress

test:
name: Run basic test with Java ${{ matrix.java_version }}
Expand All @@ -50,7 +50,7 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn clean verify javadoc:javadoc -B
run: mvn clean verify javadoc:javadoc -B --no-transfer-progress

integration-test:
name: Run integration test with Java ${{ matrix.java_version }} and Maven ${{ matrix.maven_version }}
Expand Down Expand Up @@ -100,9 +100,9 @@ jobs:
- name: Verify Setup of Maven ${{ matrix.maven_version }}
run: bash -c "echo ${M2_HOME}; echo ${PATH}; mvn -version"
- name: Install a test version with Maven
run: mvn clean install -B --settings=./.buildscript/settings.xml
run: mvn clean install -B --settings=./.buildscript/settings.xml --no-transfer-progress
- name: Run the local testversion with Maven
run: mvn clean initialize -B -Pdemo -Dmaven.test.skip=true --settings=./.buildscript/settings.xml
run: mvn clean initialize -B -Pdemo -Dmaven.test.skip=true --settings=./.buildscript/settings.xml --no-transfer-progress
- name: Validate if the testversion has produced the desired output
run: /bin/bash -c '[[ -f target/testing.properties ]] && cat target/testing.properties || exit 1;'

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run Coveralls with Maven
run: mvn clean test jacoco:report coveralls:report -B -Pcoveralls -DrepoToken=${{ secrets.CoverallsRepoTokenSecret }}
run: mvn clean test jacoco:report coveralls:report -B -Pcoveralls -DrepoToken=${{ secrets.CoverallsRepoTokenSecret }} --no-transfer-progress

deploy-snapshot:
name: Deploy snapshot
Expand All @@ -156,7 +156,7 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Deploy snapshot with Maven
run: mvn clean deploy -B --settings=./.buildscript/settings.xml
run: mvn clean deploy -B --settings=./.buildscript/settings.xml --no-transfer-progress
env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}