From dab870c8f5c46c73da842c32e758cdc197c6918b Mon Sep 17 00:00:00 2001 From: Michael Suzuki Date: Fri, 5 Sep 2014 14:06:34 +0100 Subject: [PATCH] fix to run testng in functional and integration tests --- poms/alfresco-sdk-parent/pom.xml | 222 ++++++++++++++++--------------- 1 file changed, 112 insertions(+), 110 deletions(-) diff --git a/poms/alfresco-sdk-parent/pom.xml b/poms/alfresco-sdk-parent/pom.xml index 5ea092f8..41eb26d8 100644 --- a/poms/alfresco-sdk-parent/pom.xml +++ b/poms/alfresco-sdk-parent/pom.xml @@ -760,118 +760,120 @@ - ui-test - - true - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.7 - - - add-integration-source - pre-integration-test - - add-test-source - - - - src/integration/java - - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.5 - - - add-integration-resources - pre-integration-test - - copy-resources - - - ${project.build.directory}/integration-classes - - - src/integration/resources - - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - - compile-integration-test - pre-integration-test - - testCompile - - - - ${project.build.directory}/integration-classes - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.9 - - - org.apache.maven.plugins - maven-failsafe-plugin - 2.9 - - src/integration/java - ${project.build.directory}/integration-classes - **/*.java - - - - integration-test - - integration-test - - - - verify - - verify - - - - - + ui-test + + true + + + + + org.codehaus.mojo + build-helper-maven-plugin + 1.7 + + + add-integration-source + pre-integration-test + + add-test-source + + + + src/integration/java + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + + add-integration-resources + pre-integration-test + + copy-resources + + + ${project.build.directory}/integration-classes + + + src/integration/resources + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + + compile-integration-test + pre-integration-test + + testCompile + + + + ${project.build.directory}/integration-classes + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.9 + + + org.apache.maven.plugins + maven-failsafe-plugin + 2.10 + + src/integration/java + ${project.build.directory}/integration-classes + + src/integration/resources/testng.xml + + + + + integration-test + + integration-test + + + + verify + + verify + + + + + - - org.testng - testng - 6.8.8 - test - - - org.hamcrest - hamcrest-core - - - + + org.testng + testng + 6.8.8 + test + + + org.hamcrest + hamcrest-core + + + - +