Skip to content

Commit c07f655

Browse files
committed
Add --batch-mode to Maven command
This flag has existed longer than `--no-transfer-progress` and it achieves roughly the same effect (removes verbose output)
1 parent 134f14f commit c07f655

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lsif-java/src/main/scala/com/sourcegraph/lsif_java/buildtools/MavenBuildTool.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class MavenBuildTool(index: IndexCommand) extends BuildTool("Maven", index) {
4545
buildCommand ++=
4646
index.finalBuildCommand(
4747
List(
48+
s"--batch-mode",
4849
s"clean",
4950
// Default to the "verify" command, as recommended by the official docs
5051
// https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#usual-command-line-calls

0 commit comments

Comments
 (0)