1

I am using cucumber framework for Automation Testing. For generating mvn reports, we use the following command

mvn -q -U clean install -Dmaven.repo.local=D:\\m2_local_repository\\..m2\\repository -DCucumber.options="--tags @*test_case_name*"

what is the purpose of -q and -U

Nishant
  • 54,584
  • 13
  • 112
  • 127
manket
  • 15
  • 5
  • 1
    https://stackoverflow.com/questions/33553068/what-are-all-of-the-maven-command-line-options – Smutje Jan 13 '20 at 11:19

1 Answers1

2

-q - Quiet output - only show errors

-U - Forces a check for updated releases and snapshots on remote repositories

Source : Maven CLI reference

Smile
  • 3,832
  • 3
  • 25
  • 39