You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/07/07 05:57:13 UTC

svn commit: r961105 - in /activemq/sandbox/activemq-apollo-actor: activemq-stomp/pom.xml pom.xml

Author: chirino
Date: Wed Jul  7 03:57:13 2010
New Revision: 961105

URL: http://svn.apache.org/viewvc?rev=961105&view=rev
Log:
adding a benchmark profile to just run the benchmarking tests

Modified:
    activemq/sandbox/activemq-apollo-actor/activemq-stomp/pom.xml
    activemq/sandbox/activemq-apollo-actor/pom.xml

Modified: activemq/sandbox/activemq-apollo-actor/activemq-stomp/pom.xml
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/activemq-stomp/pom.xml?rev=961105&r1=961104&r2=961105&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/activemq-stomp/pom.xml (original)
+++ activemq/sandbox/activemq-apollo-actor/activemq-stomp/pom.xml Wed Jul  7 03:57:13 2010
@@ -102,4 +102,34 @@
     
   </dependencies>
   
+  <profiles>
+    
+    <profile>
+      <id>benchmark</id>
+      <build>
+        <plugins>
+          
+          <!-- Benchmarks the stomp broker protocol impl  -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <version>${maven-surefire-plugin-version}</version>
+            <configuration>
+              <failIfNoTests>true</failIfNoTests>
+              <argLine></argLine>
+              <includes>
+                <include>**/StompBrokerPerfTest.*</include>
+              </includes>
+              <excludes>
+                <exclude>**/ignore/**</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+          
+        </plugins>
+      </build>
+    </profile>
+    
+  </profiles>
+    
 </project>

Modified: activemq/sandbox/activemq-apollo-actor/pom.xml
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/pom.xml?rev=961105&r1=961104&r2=961105&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/pom.xml (original)
+++ activemq/sandbox/activemq-apollo-actor/pom.xml Wed Jul  7 03:57:13 2010
@@ -479,6 +479,28 @@
   </reporting>
 
   <profiles>
+    
+    <profile>
+      <id>benchmark</id>
+      <build>
+        <plugins>
+          
+          <!-- skip all tests by default.. modules with benchmarking tests will 
+               enable those tests when this profile is active  -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <version>${maven-surefire-plugin-version}</version>
+            <configuration>
+              <excludes>
+                <exclude>**/**</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+          
+        </plugins>
+      </build>
+    </profile>
 
     <!--
       To generate a graph of the project dependencies, run: mvn -P graph graph:project