mvn install -DSkipTests
Will happily run, while running tests (as the correct capitalization is -DskipTests
). I'd like to immediately know that -DSkipTests
does nothing, alerting me I've made a typo. Is this possible? Why does it not work this way to start?
CodePudding user response:
The problem: With -D
, you just specify arbitrary properties.
Maven does not know if any of your Maven plugins consumes them.