4.0.0 maven-integration-test 0.0.1-SNAPSHOT maven-integration-test war com.baeldung parent-modules 1.0.0-SNAPSHOT ../.. org.glassfish.jersey.containers jersey-container-servlet-core ${jersey.version} org.glassfish.jersey.inject jersey-hk2 ${jersey.version} org.eclipse.jetty jetty-maven-plugin ${jetty.version} 8999 quit 9000 start-jetty pre-integration-test start stop-jetty post-integration-test stop maven-resources-plugin ${maven.resources.version} output-resources input-resources *.png true maven-compiler-plugin ${maven-compiler-plugin.version} ${java.version} ${java.version} -Xlint:unchecked org.apache.maven.plugins maven-surefire-plugin DataTest.java **/*IntegrationTest com.baeldung.maven.it.Integration TestFail.java DataCheck.java true maven-failsafe-plugin ${maven-failsafe-plugin.version} integration-test verify **/*IntegrationTest maven-clean-plugin ${maven.clean.version} output-resources org.codehaus.mojo build-helper-maven-plugin ${maven.build.helper.version} add-integration-test-source generate-test-sources add-test-source src/integration-test/java add-integration-test-resource generate-test-resources add-test-resource src/integration-test/resources default org.apache.maven.plugins maven-surefire-plugin DataTest.java TestFail.java DataCheck.java true failsafe maven-failsafe-plugin ${maven.failsafe.version} **/*RestIT **/RestITCase integration-test verify surefire org.apache.maven.plugins maven-surefire-plugin integration-test test none **/*IntegrationTest category maven-failsafe-plugin ${maven.failsafe.version} **/* com.baeldung.maven.it.Integration integration-test verify 3.4.0 3.0.2 3.11.0 3.1.2 1.1 3.0.0 3.0.0 9.4.11.v20180605 2.27