To run the test phase of Maven life cycle, use mvn test instead of running a full build packaging.
mvn test