From 3c88fc56dd82f41c41d80972b013bd151cd06aab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20He=CC=81ritier?= Date: Sat, 28 May 2011 12:13:30 +0200 Subject: [PATCH] JENKINS-9788 : Put test-harness execution in a profile. You can skip them by adding -P-run-test-harness in the build command line --- test/pom.xml | 116 ++++++++++++++++++++++++++++----------------------- 1 file changed, 64 insertions(+), 52 deletions(-) diff --git a/test/pom.xml b/test/pom.xml index 9577adaa42..af79f5ccf8 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -45,50 +45,19 @@ THE SOFTWARE. + + org.kohsuke.stapler + maven-stapler-plugin + 1.15 + true + maven-surefire-plugin - true + true + - - - org.kohsuke - maven-junit-plugin - 1.9 - - - - test - - - true - ${concurrency} - -Dfile.encoding=UTF-8 - 300 - - - - hudson.ClassicPluginStrategy.useAntClassLoader - true - - - hudson.maven.debug - ${mavenDebug} - - - java.io.tmpdir - ${project.build.directory} - - - buildDirectory - ${project.build.directory} - - - - - - org.kohsuke.gmaven gmaven-plugin @@ -120,15 +89,9 @@ THE SOFTWARE. - - org.kohsuke.stapler - maven-stapler-plugin - 1.15 - true - - + + compile + org.jvnet.mock-javamail @@ -181,11 +145,11 @@ THE SOFTWARE. htmlunit 2.6-jenkins-4 - - - xml-apis - xml-apis - + + + xml-apis + xml-apis + @@ -214,6 +178,54 @@ THE SOFTWARE. + + + run-test-harness + + + + + org.kohsuke + maven-junit-plugin + 1.9 + + + + test + + + true + ${concurrency} + -Dfile.encoding=UTF-8 + 300 + + + + hudson.ClassicPluginStrategy.useAntClassLoader + true + + + hudson.maven.debug + ${mavenDebug} + + + java.io.tmpdir + ${project.build.directory} + + + buildDirectory + ${project.build.directory} + + + + + + + + + + + light-test -- GitLab