Reputation: 2237
I am looking for ways to only run maven test phase, I tried this but it didn't work. Any pointers to fix this would help
mvn test -Dmaven.clean.skip=true -Dmaven.validate.skip=true -Dmaven.compile.skip=true
Upvotes: 1
Views: 310
Reputation: 35805
You can run mvn surefire:test
, but it is recommended to run the other phases before.
Upvotes: 1