Question: How do you skip the tests when running a mvn package command?
- Use -Dtest=skip
- Use -DskipTests=true
- Use -Dtests=pass
- Use a plugin that can be configured to skip tests
Answer: The correct answer of the above question is Option B:Use -DskipTests=true