–skipttests terminal code example
Example 1: mvn clean install 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