disable maven download progress indication

后端 未结 4 2099
情话喂你
情话喂你 2020-12-12 13:13

In our company in the CI machines maven local repository is purged before every build. As result my build logs always have a bunch of noise like this

Downloa         


        
4条回答
  •  情歌与酒
    2020-12-12 13:56

    mvn -B .. or mvn --batch-mode ... will do the trick.

    Update

    • The documentation about batch mode see https://maven.apache.org/ref/3.6.1/maven-embedder/cli.html
    • Starting with Maven 3.6.1 (released 2019-04-04) you can use --no-transfer-progress will suppress the output of downloading messages at all without suppressing the other output.

提交回复
热议问题