Actually add the profile to run the benchmarks
[lttng-ust-java-tests.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index e5ec7907c6eded72e57b317bd745855416805303..fe19978cc4bed24d29ced5d490279fa16ce564cf 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
+  <prerequisites>
+    <maven>3.0</maven>
+  </prerequisites>
+
   <groupId>org.lttng.ust.agent</groupId>
   <artifactId>lttng-ust-agent-tests</artifactId>
   <version>1.0.0</version>
@@ -82,7 +86,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.1</version>
+        <version>3.3</version>
         <configuration>
           <source>1.8</source>
           <target>1.8</target>
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>benchmark</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <version>2.18.1</version>
+            <configuration>
+              <includes>
+                <include>**/*Benchmark.java</include>
+              </includes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
This page took 0.023677 seconds and 4 git commands to generate.