Imagine a Java project built using Maven for which I have:
I know it's been a long time, but this is well-indexed and none of the answers do what was asked, but I found something that works:
mvn failsafe:integration-test
This runs the tests directly, without going through all the intermediate steps of building the project. You may want to add failsafe:verify after it.