package without test maven code example
Example 1: maven skip test
mvn clean install -Dmaven.test.skip=true
Example 2: maven skip test
mvn package -Dmaven.test.skip=true
mvn clean install -Dmaven.test.skip=true
mvn package -Dmaven.test.skip=true