Yes. By default, the mvn package command runs the test. However, you can add the flag -Dmaven.test.skip to skip the tests.