From 4c96a8d8e9afda7331210a91eee2b78ff10c050c Mon Sep 17 00:00:00 2001 From: Norbert Hu Date: Tue, 13 Dec 2011 13:56:58 -0800 Subject: [PATCH] Fix incorrect integration test pom specification --- pom.xml | 74 +++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 56 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index 758a2b9..9d0311c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,24 +3,51 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + com.foursquare heapaudit 1.0.2 + jar + + + UTF-8 + + + + + + asm + asm-all + 3.3.1 + + + + junit + junit + 4.10 + test + + + + + org.apache.maven.plugins maven-jar-plugin + 2.3.2 src/main/resources/META-INF/MANIFEST.MF + org.apache.maven.plugins maven-shade-plugin - 1.2.2 + 1.5 package @@ -37,29 +64,40 @@ + org.apache.maven.plugins maven-surefire-plugin + 2.11 - -javaagent:${basedir}/target/${artifactId}-${version}.jar="-Corg/apache/maven/.+ -Cjunit/.+ -Corg/junit/.+" - ${basedir}/target + + **/Test*.java + + + + org.apache.maven.plugins + maven-failsafe-plugin + 2.11 + + + + integration-test + verify + + + -javaagent:${project.build.directory}/${artifactId}-${version}.jar="-Corg/apache/maven/.+ -Cjunit/.+ -Corg/junit/.+" + ${project.build.directory} + + **/Test*.java + + + + + + - - - asm - asm-all - 3.3.1 - - - junit - junit - 4.0 - jar - test - true - - +