Use maven-failsafe-plugin instead of surefire to run integration tests
[lttng-ust-java-tests.git] / lttng-ust-java-tests / pom.xml
index f706c5621f5e0448afcacfa28bd172435b081fdf..c5fecc74c3ecb64def02e2b4f20ea21b77f3bb1b 100644 (file)
@@ -34,7 +34,6 @@
   <name>LTTng-UST Java Agent Integration Tests</name>
 
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <!-- Paths that come from UST's default "make install".
          Override to specify other locations. -->
     <common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location>
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-failsafe-plugin</artifactId>
+        <version>2.18.1</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>integration-test</goal>
+              <goal>verify</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
   <profiles>
     <profile>
       <id>benchmark</id>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
+            <artifactId>maven-failsafe-plugin</artifactId>
             <version>2.18.1</version>
             <configuration>
               <includes>
This page took 0.032839 seconds and 4 git commands to generate.