You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by je...@apache.org on 2013/07/21 00:49:05 UTC

git commit: Benchmarks modules are now part of the standard build for better release management.

Updated Branches:
  refs/heads/trunk 381bab7f0 -> fbc3ba2af


Benchmarks modules are now part of the standard build for better release management.

Benchmarks tests are skipped by default and activated by the benchmarks profile.
benchmarks2 is not yet part of the build as it does not compile


Project: http://git-wip-us.apache.org/repos/asf/mina/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina/commit/fbc3ba2a
Tree: http://git-wip-us.apache.org/repos/asf/mina/tree/fbc3ba2a
Diff: http://git-wip-us.apache.org/repos/asf/mina/diff/fbc3ba2a

Branch: refs/heads/trunk
Commit: fbc3ba2af45b07adb6f225785bde4ba0b228d6f3
Parents: 381bab7
Author: Jeff MAURY <je...@apache.org>
Authored: Sun Jul 21 00:48:57 2013 +0200
Committer: Jeff MAURY <je...@apache.org>
Committed: Sun Jul 21 00:48:57 2013 +0200

----------------------------------------------------------------------
 benchmarks/pom.xml  | 11 +++++++++++
 benchmarks2/pom.xml | 11 +++++++++++
 pom.xml             | 10 ++++++----
 3 files changed, 28 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina/blob/fbc3ba2a/benchmarks/pom.xml
----------------------------------------------------------------------
diff --git a/benchmarks/pom.xml b/benchmarks/pom.xml
index e02bf5f..b8c7df1 100755
--- a/benchmarks/pom.xml
+++ b/benchmarks/pom.xml
@@ -58,4 +58,15 @@
      <scope>test</scope>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skip>${benchmarks.skip}</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

http://git-wip-us.apache.org/repos/asf/mina/blob/fbc3ba2a/benchmarks2/pom.xml
----------------------------------------------------------------------
diff --git a/benchmarks2/pom.xml b/benchmarks2/pom.xml
index 92a3219..2b03467 100755
--- a/benchmarks2/pom.xml
+++ b/benchmarks2/pom.xml
@@ -58,4 +58,15 @@
      <scope>test</scope>
     </dependency>
   </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skip>${benchmarks.skip}</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

http://git-wip-us.apache.org/repos/asf/mina/blob/fbc3ba2a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 787febf..99bc8af 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,6 +103,7 @@
     <version.maven.release.plugin>2.2.1</version.maven.release.plugin>
     <version.maven.source.plugin>2.1.2</version.maven.source.plugin>
     <version.maven.eclipse.plugin>2.8</version.maven.eclipse.plugin>
+    <benchmarks.skip>true</benchmarks.skip>
   </properties>
 
 
@@ -114,6 +115,7 @@
     <module>coap</module>
     <module>thrift</module>
     <module>protobuf</module>
+    <module>benchmarks</module>
   </modules>
 
   <dependencyManagement>
@@ -575,7 +577,7 @@
         <artifactId>maven-enforcer-plugin</artifactId>
         <executions>
           <execution>
-            <id>enforce-java</id>
+            <id>enforce-java-17</id>
             <goals>
               <goal>enforce</goal>
             </goals>
@@ -661,9 +663,9 @@
           <name>benchmarks</name>
         </property>
       </activation>
-      <modules>
-        <module>benchmarks</module>
-      </modules>
+      <properties>
+        <benchmarks.skip>false</benchmarks.skip>
+      </properties>
     </profile>
 
     <profile>