I think that the problem could be because of the name of the test classes. By default maven only executes test in the clasees which follows this name convention: (In short the test class must starts or ends with Test word)
By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns:
"/Test*.java" - includes all of its subdirectories and all Java filenames that start with "Test". "/*Test.java" - includes all of its subdirectories and all Java filenames that end with "Test". "/*Tests.java" - includes all of its subdirectories and all Java filenames that end with "Tests". "/*TestCase.java" - includes all of its subdirectories and all Java filenames that end with "TestCase".
As you can see in
https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html