From ea58b494f63d3ed3f5be99349d4db9a2f5c13155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Fri, 4 Oct 2024 10:03:34 +0200 Subject: [PATCH] Reduce Maven download log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On CI, the log cannot be correctly displayed and parsed in the GitHub default UI due to the large amount of it, mainly due to the download transfer progress of Maven components. Consequently, using `--no-transfer-progress` on the first Maven build to reduce the amount of logs. Also updated Maven lifecycle phase, removed the verify phase as it is included in the install phase. See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#a-build-lifecycle-is-made-up-of-phases for reference Signed-off-by: Aurélien Pupier --- packages/catalog-generator/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/catalog-generator/package.json b/packages/catalog-generator/package.json index 2acd3a07a..15f2e6930 100644 --- a/packages/catalog-generator/package.json +++ b/packages/catalog-generator/package.json @@ -18,7 +18,7 @@ }, "scripts": { "build": "yarn clean && yarn build:mvn && yarn build:default:catalog && yarn build:ts", - "build:mvn": "./mvnw clean install verify", + "build:mvn": "./mvnw clean install --no-transfer-progress", "build:default:catalog": "./mvnw package; java -jar ./target/catalog-generator-0.0.1-SNAPSHOT.jar -o ./dist/camel-catalog -n \"Default Kaoto catalog\"", "build:ts": "node --loader ts-node/esm ./scripts/json-schema-to-typescript.mts", "lint": "yarn eslint \"scripts/**/*.{mts,ts}\"",