I can find in the Maven docs where it shows how to run:
You can take fererence from following scenarios:
(1) Skip all test execution during maven build
mvn package -DskipTests
(2) Execute All test cases
mvn test
(3) Execute specific test group
mvn test -DincludeGroups=TestGroup1,TestGroup2
(4) Exclude specific test group during execution
mvn test -DexcludeGroups=TestGroup3,TestGroup4
(5) Execute specific package testcases
mvn test -Dtest="test.java.com.service.map.**"
(6) Execute specific test
mvn test -Dtest=Test1,Test2
I hope it will be more helpful to you with different combination of execution.