Skip to content

Commit ef990cd

Browse files
java: less verbose publish output
1 parent 0d40581 commit ef990cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/publish-package-maven.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ try {
1414
# We need to set the version here again even though the packages are already built using the next version
1515
# as this script will run in a new job and the repo will be cloned again.
1616
Write-Host "Setting version to '$Version'"
17-
mvn -B versions:set "-DnewVersion=$Version"
17+
mvn --batch-mode --no-transfer-progress versions:set "-DnewVersion=$Version"
1818

1919
$env:MVN_CENTRAL_USERNAME, $env:MVN_CENTRAL_PASSWORD = $MavenSettings -split ' ', 2
2020
$env:MAVEN_OPTS='--add-opens=java.base/java.util=ALL-UNNAMED'

0 commit comments

Comments
 (0)