Skip to content

Commit

Permalink
Java codegen: disable dependency transfer logging (#4355)
Browse files Browse the repository at this point in the history
Maven build logs all dependency transfers and is too verbose. This PR
disables dependency transfer logging to keep the pipeline logs clean.
  • Loading branch information
srnagar authored Sep 6, 2024
1 parent 1c2154c commit f329e03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/http-client-java/eng/scripts/Build-Packages.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ try {
Invoke-LoggedCommand "java -version"
Invoke-LoggedCommand "mvn -version"

Invoke-LoggedCommand "mvn clean install -f ./pom.xml"
Invoke-LoggedCommand "mvn clean install --no-transfer-progress -T 1C -f ./pom.xml"
}
finally {
Pop-Location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ try {
Write-Host "Running cadl ranch tests"
Write-Host "Starting the test server"
npm run testserver-start
mvn clean test
mvn clean test --no-transfer-progress -T 1C
Write-Host "Stopping the test server"
npm run testserver-stop

Expand Down
2 changes: 1 addition & 1 deletion packages/http-client-java/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"clean": "rimraf ./dist ./temp ./generator/target/emitter.jar",
"build": "npm run build:generator && npm run build:emitter",
"build:emitter": "tsc -p ./emitter/tsconfig.build.json",
"build:generator": "mvn clean install -f ./generator/pom.xml",
"build:generator": "mvn clean install --no-transfer-progress -T 1C -f ./generator/pom.xml",
"format": "pnpm -w format:dir packages/http-client-java",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix",
Expand Down

0 comments on commit f329e03

Please sign in to comment.