Skip to content

Commit

Permalink
fix: use batch-mode to improve output
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock committed Jan 17, 2023
1 parent 4b12e4a commit 09edb9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/maven.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]
);
}

Expand All @@ -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]
);
}

Expand Down

0 comments on commit 09edb9f

Please sign in to comment.