mvn install -Dmaven.test.skip=true
# or
mvn install -DskipTests
# If -Dmaven.test.skip=true (or simply -Dmaven.test.skip) is specified,
# the test-jars aren't built, and any module that relies on them will
# fail its build.
# In contrast, when you use -DskipTests, Maven does not run the tests,
# but it does compile them and build the test-jar, making it available
# for the subsequent modules.
maven пропускает тесты
mvn install -Dmaven.test.skip=true
# or
mvn install -DskipTests
# If -Dmaven.test.skip=true (or simply -Dmaven.test.skip) is specified,
# the test-jars aren't built, and any module that relies on them will
# fail its build.
# In contrast, when you use -DskipTests, Maven does not run the tests,
# but it does compile them and build the test-jar, making it available
# for the subsequent modules.
тест на пропуск maven
mvn package -Dmaven.test.skip=true
тест на пропуск maven
mvn clean install -Dmaven.test.skip=true
mvn clean install -DskipTests=true
пропуск теста maven
mvn install -Dmaven.test.skip=true
пропустить команду тестового примера в maven
mvn install -Dmaven.test.skip=true
mvn install -DskipTests
как пропустить тест в maven
Skipping tests in Maven