From 09edb9f6bdf66d0318751c36362b6f19687a841d Mon Sep 17 00:00:00 2001 From: Simon Seyock Date: Tue, 17 Jan 2023 09:46:35 +0100 Subject: [PATCH] fix: use batch-mode to improve output --- src/maven.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maven.js b/src/maven.js index 8f1f9ab..c86e2ed 100644 --- a/src/maven.js +++ b/src/maven.js @@ -13,7 +13,7 @@ async function updateVersion(logger, versionStr, processAllModules) { await exec( 'mvn', - ['versions:set', '-DgenerateBackupPoms=false', `-DnewVersion=${versionStr}`, ...processAllModulesOption] + ['versions:set', '--batch-mode', '-DgenerateBackupPoms=false', `-DnewVersion=${versionStr}`, ...processAllModulesOption] ); } @@ -24,7 +24,7 @@ async function updateSnapshotVersion(logger, processAllModules) { await exec( 'mvn', - ['versions:set', '-DnextSnapshot=true', '-DgenerateBackupPoms=false', ...processAllModulesOption] + ['versions:set', '--batch-mode', '-DnextSnapshot=true', '-DgenerateBackupPoms=false', ...processAllModulesOption] ); }