You can mention packages in your pom.xml through Surefire-plugin
org.apache.maven.plugins
maven-surefire-plugin
2.19.1
com.mycom.mydep.mypak.*, com.mycom.mydep.mypak2.*
Please note that JUnit version should be greater than 4.8. and version of surefire should be 2.19.1
Find more details here