Skip to content

Commit

Permalink
Merge pull request #8 from terrestris/batch-mode
Browse files Browse the repository at this point in the history
fix: use batch-mode to improve output
  • Loading branch information
simonseyock authored Jan 17, 2023
2 parents 4b12e4a + 09edb9f commit 6526084
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 6526084

Please sign in to comment.