Uses "batch-mode" for many maven commands to reduce useless output in logs and console.
Adds more diagnostic info for console.