This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/master by this push:
     new a0d035b  chore(maven): Run Maven in batch mode to reduce log noise
a0d035b is described below

commit a0d035b2c7abe9299621fe6909bfe695b0e974da
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Thu Mar 14 08:49:14 2019 +0000

    chore(maven): Run Maven in batch mode to reduce log noise
---
 pkg/util/maven/maven.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkg/util/maven/maven.go b/pkg/util/maven/maven.go
index b9f03bd..485d074 100644
--- a/pkg/util/maven/maven.go
+++ b/pkg/util/maven/maven.go
@@ -75,6 +75,8 @@ func Run(buildDir string, args ...string) error {
                mvnCmd = c
        }
 
+       args = append(args, "--batch-mode")
+
        cmd := exec.Command(mvnCmd, args...)
        cmd.Dir = buildDir
        cmd.Stdout = os.Stdout

Reply via email to