You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2014/01/04 20:10:21 UTC

git commit: Added parallel profile.

Updated Branches:
  refs/heads/master fc3064c38 -> 0fae8c439


Added parallel profile.

It works sometimes, but fails miserably other times.


Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/0fae8c43
Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/0fae8c43
Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/0fae8c43

Branch: refs/heads/master
Commit: 0fae8c439dccb811f59c8521eca3c793a831c9a4
Parents: fc3064c
Author: Kristian Rosenvold <kr...@apache.org>
Authored: Sat Jan 4 20:10:16 2014 +0100
Committer: Kristian Rosenvold <kr...@apache.org>
Committed: Sat Jan 4 20:10:16 2014 +0100

----------------------------------------------------------------------
 core-it-suite/pom.xml | 15 +++++++++++++++
 run-its.sh            |  2 +-
 2 files changed, 16 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/0fae8c43/core-it-suite/pom.xml
----------------------------------------------------------------------
diff --git a/core-it-suite/pom.xml b/core-it-suite/pom.xml
index 4e3193c..d243b06 100644
--- a/core-it-suite/pom.xml
+++ b/core-it-suite/pom.xml
@@ -179,6 +179,21 @@ under the License.
 
   <profiles>
     <profile>
+        <id>parallel</id>
+        <build>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <configuration>
+                        <parallel>classes</parallel>
+                        <threadCount>6</threadCount>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </build>
+    </profile>
+    <profile>
       <id>run-its</id>
       <build>
         <plugins>

http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/0fae8c43/run-its.sh
----------------------------------------------------------------------
diff --git a/run-its.sh b/run-its.sh
index 5e58700..281068b 100755
--- a/run-its.sh
+++ b/run-its.sh
@@ -2,4 +2,4 @@
 
 # How I run the ITs from a clean slate. Though I do this with a primed Nexus instance. JvZ.
 
-mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo
\ No newline at end of file
+mvn clean install -Prun-its,embedded -Dmaven.repo.local=`pwd`/repo