Allow passing extra maven opts to build scripts

Description

I canary project[1] I need to run all maven commands in --batch-mode to prevent download progress messages output and also optionally I want to run it with --quiet flag to optionally suppress its verbose output.

This patch introduces CLJS_SCRIPT_MVN_OPTS env var which can be optionally specified to provide extra command line opts to all mvn commands executed within build scripts.

[1] https://github.com/cljs-oss/canary
[2] https://github.com/cljs-oss/canary/blob/9772649eae7097156251f4abb7ee70ea349ea99b/runner/scripts/build_compiler.sh#L74

Environment

None

Assignee

David Nolen

Reporter

Antonin Hildebrand

Labels

Approval

Vetted

Patch

Code

Fix versions

Affects versions

Priority

Critical
Configure