Camel-8021 Fixed Maven surefire warning during build

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

Branch: refs/heads/master
Commit: 90e24adf5daf11662cdbf4686e62ce56daf880a6
Parents: d5cd779
Author: ancosen <anco...@gmail.com>
Authored: Fri Nov 14 18:50:58 2014 +0100
Committer: Willem Jiang <willem.ji...@gmail.com>
Committed: Mon Nov 17 12:07:18 2014 +0800

----------------------------------------------------------------------
 components/camel-bam/pom.xml               |  3 ++-
 components/camel-box/pom.xml               |  3 ++-
 components/camel-cxf-transport/pom.xml     |  3 ++-
 components/camel-cxf/pom.xml               |  3 ++-
 components/camel-facebook/pom.xml          |  6 ++++--
 components/camel-gae/pom.xml               |  3 ++-
 components/camel-google-calendar/pom.xml   |  3 ++-
 components/camel-google-drive/pom.xml      |  3 ++-
 components/camel-hawtdb/pom.xml            |  3 ++-
 components/camel-hazelcast/pom.xml         |  3 ++-
 components/camel-hbase/pom.xml             |  3 ++-
 components/camel-http4/pom.xml             |  3 ++-
 components/camel-jaxb/pom.xml              |  3 ++-
 components/camel-jcr/pom.xml               |  3 ++-
 components/camel-jetty/pom.xml             |  3 ++-
 components/camel-jms/pom.xml               |  3 ++-
 components/camel-leveldb/pom.xml           |  3 ++-
 components/camel-linkedin/pom.xml          |  3 ++-
 components/camel-mina/pom.xml              |  3 ++-
 components/camel-mina2/pom.xml             | 15 ++++++++-------
 components/camel-mqtt/pom.xml              |  3 ++-
 components/camel-olingo2/pom.xml           |  3 ++-
 components/camel-quartz/pom.xml            |  3 ++-
 components/camel-quartz2/pom.xml           |  3 ++-
 components/camel-sap-netweaver/pom.xml     |  6 ++++--
 components/camel-script/pom.xml            |  3 ++-
 components/camel-servlet/pom.xml           |  3 ++-
 components/camel-servletlistener/pom.xml   |  3 ++-
 components/camel-sjms/pom.xml              |  3 ++-
 components/camel-soap/pom.xml              |  3 ++-
 components/camel-sql/pom.xml               |  3 ++-
 components/camel-stream/pom.xml            |  3 ++-
 components/camel-test-blueprint/pom.xml    |  3 ++-
 components/camel-twitter/pom.xml           |  6 ++++--
 components/camel-urlrewrite/pom.xml        |  3 ++-
 components/camel-vertx/pom.xml             |  3 ++-
 examples/camel-example-bam/pom.xml         |  3 ++-
 examples/camel-example-loan-broker/pom.xml |  3 ++-
 examples/pom.xml                           |  3 ++-
 tests/camel-itest-karaf/pom.xml            |  3 ++-
 tests/camel-itest-osgi/pom.xml             |  3 ++-
 tests/camel-itest/pom.xml                  |  3 ++-
 42 files changed, 96 insertions(+), 51 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-bam/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-bam/pom.xml b/components/camel-bam/pom.xml
index 0c4798a..a9f1cba 100644
--- a/components/camel-bam/pom.xml
+++ b/components/camel-bam/pom.xml
@@ -93,7 +93,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>always</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
     </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-box/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-box/pom.xml b/components/camel-box/pom.xml
index 8b8e39b..ea26b36 100644
--- a/components/camel-box/pom.xml
+++ b/components/camel-box/pom.xml
@@ -499,7 +499,8 @@
             <configuration>
               <childDelegation>false</childDelegation>
               <useFile>true</useFile>
-              <forkMode>once</forkMode>
+              <forkCount>1</forkCount>
+             <reuseForks>true</reuseForks>
               
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
               <excludes>
                   <exclude>**/*XXXTest.java</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-cxf-transport/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-cxf-transport/pom.xml 
b/components/camel-cxf-transport/pom.xml
index 4531060..a50b690 100644
--- a/components/camel-cxf-transport/pom.xml
+++ b/components/camel-cxf-transport/pom.xml
@@ -165,7 +165,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
       <plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-cxf/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-cxf/pom.xml b/components/camel-cxf/pom.xml
index dd39fa8..7b85941 100644
--- a/components/camel-cxf/pom.xml
+++ b/components/camel-cxf/pom.xml
@@ -304,7 +304,8 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <childDelegation>false</childDelegation>
-          <forkMode>once</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>true</reuseForks>
           <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
           <reportFormat>brief</reportFormat>
           <useFile>false</useFile>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-facebook/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-facebook/pom.xml 
b/components/camel-facebook/pom.xml
index df339a8..c3ff7f4 100644
--- a/components/camel-facebook/pom.xml
+++ b/components/camel-facebook/pom.xml
@@ -75,7 +75,8 @@
         <configuration>
           <childDelegation>false</childDelegation>
           <useFile>true</useFile>
-          <forkMode>once</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>true</reuseForks>
           <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
           <includes>
             <!-- Here we only run test of  -->
@@ -97,7 +98,8 @@
             <configuration>
               <childDelegation>false</childDelegation>
               <useFile>true</useFile>
-              <forkMode>once</forkMode>
+              <forkCount>1</forkCount>
+             <reuseForks>true</reuseForks>
               
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
               <excludes>
                 <exclude>**/*XXXTest.java</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-gae/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-gae/pom.xml b/components/camel-gae/pom.xml
index 58fdff7..7529a78 100644
--- a/components/camel-gae/pom.xml
+++ b/components/camel-gae/pom.xml
@@ -137,7 +137,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                    <forkCount>1</forkCount>
+                   <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-google-calendar/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/pom.xml 
b/components/camel-google-calendar/pom.xml
index b0804e3..eb57c69 100644
--- a/components/camel-google-calendar/pom.xml
+++ b/components/camel-google-calendar/pom.xml
@@ -241,7 +241,8 @@
             <configuration>
               <childDelegation>false</childDelegation>
               <useFile>true</useFile>
-              <forkMode>once</forkMode>
+              <forkCount>1</forkCount>
+             <reuseForks>true</reuseForks>
               
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
               <excludes>
                 <exclude>**/*XXXTest.java</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-google-drive/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-google-drive/pom.xml 
b/components/camel-google-drive/pom.xml
index 7782bb8..3f56c4e 100644
--- a/components/camel-google-drive/pom.xml
+++ b/components/camel-google-drive/pom.xml
@@ -282,7 +282,8 @@
             <configuration>
               <childDelegation>false</childDelegation>
               <useFile>true</useFile>
-              <forkMode>once</forkMode>
+              <forkCount>1</forkCount>
+             <reuseForks>true</reuseForks>
               
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
               <excludes>
                 <exclude>**/*XXXTest.java</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-hawtdb/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-hawtdb/pom.xml b/components/camel-hawtdb/pom.xml
index 4d5d3ba..d95ac20 100644
--- a/components/camel-hawtdb/pom.xml
+++ b/components/camel-hawtdb/pom.xml
@@ -74,7 +74,8 @@
             <plugin>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
-                <forkMode>pertest</forkMode>
+               <forkCount>1</forkCount>
+               <reuseForks>false</reuseForks>
               </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-hazelcast/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/pom.xml 
b/components/camel-hazelcast/pom.xml
index 27c3349..a846166 100644
--- a/components/camel-hazelcast/pom.xml
+++ b/components/camel-hazelcast/pom.xml
@@ -81,7 +81,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                   <forkCount>1</forkCount>
+                   <reuseForks>false</reuseForks>
                     
<forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
                     <systemProperties>
                         <property>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-hbase/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-hbase/pom.xml b/components/camel-hbase/pom.xml
index fdfacdd..777a920 100644
--- a/components/camel-hbase/pom.xml
+++ b/components/camel-hbase/pom.xml
@@ -175,7 +175,8 @@
                                <artifactId>maven-surefire-plugin</artifactId>
                                <configuration>
                                        <!-- This is required by the hbase 
testing utility -->
-                                       <forkMode>always</forkMode>
+                                       <forkCount>1</forkCount>
+                                       <reuseForks>false</reuseForks>
                                </configuration>
                        </plugin>
                </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-http4/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-http4/pom.xml b/components/camel-http4/pom.xml
index b0fa7f4..ea86468 100644
--- a/components/camel-http4/pom.xml
+++ b/components/camel-http4/pom.xml
@@ -89,7 +89,8 @@
             <plugin>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
-                <forkMode>pertest</forkMode>
+                 <forkCount>1</forkCount>
+                 <reuseForks>false</reuseForks>
               </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-jaxb/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-jaxb/pom.xml b/components/camel-jaxb/pom.xml
index 8680d5e..a0491a9 100644
--- a/components/camel-jaxb/pom.xml
+++ b/components/camel-jaxb/pom.xml
@@ -97,7 +97,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                       <forkCount>1</forkCount>
+                       <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-jcr/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-jcr/pom.xml b/components/camel-jcr/pom.xml
index c98a9d2..184a66c 100644
--- a/components/camel-jcr/pom.xml
+++ b/components/camel-jcr/pom.xml
@@ -86,7 +86,8 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
      </plugin>
     </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-jetty/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-jetty/pom.xml b/components/camel-jetty/pom.xml
index 3c83e40..2fcfcd6 100644
--- a/components/camel-jetty/pom.xml
+++ b/components/camel-jetty/pom.xml
@@ -133,7 +133,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                   <forkCount>1</forkCount>
+                   <reuseForks>false</reuseForks>
                     
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
                 </configuration>
             </plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-jms/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-jms/pom.xml b/components/camel-jms/pom.xml
index 1c42f07..1c3e54a 100644
--- a/components/camel-jms/pom.xml
+++ b/components/camel-jms/pom.xml
@@ -138,7 +138,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                   <forkCount>1</forkCount>
+                   <reuseForks>false</reuseForks>
                     
<forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
                 </configuration>
             </plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-leveldb/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-leveldb/pom.xml b/components/camel-leveldb/pom.xml
index be41cbd..75e2b54 100644
--- a/components/camel-leveldb/pom.xml
+++ b/components/camel-leveldb/pom.xml
@@ -80,7 +80,8 @@
             <plugin>
               <artifactId>maven-surefire-plugin</artifactId>
               <configuration>
-                <forkMode>pertest</forkMode>
+               <forkCount>1</forkCount>
+               <reuseForks>false</reuseForks>
               </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-linkedin/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/pom.xml 
b/components/camel-linkedin/pom.xml
index bd5fc60..e7596d3 100644
--- a/components/camel-linkedin/pom.xml
+++ b/components/camel-linkedin/pom.xml
@@ -48,7 +48,8 @@
             <configuration>
               <childDelegation>false</childDelegation>
               <useFile>true</useFile>
-              <forkMode>once</forkMode>
+              <forkCount>1</forkCount>
+             <reuseForks>true</reuseForks>
               
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
               <excludes>
                 <exclude>**/*XXXTest.java</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-mina/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-mina/pom.xml b/components/camel-mina/pom.xml
index fd61825..185e103 100644
--- a/components/camel-mina/pom.xml
+++ b/components/camel-mina/pom.xml
@@ -85,7 +85,8 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
                     
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
-                    <forkMode>pertest</forkMode>
+                       <forkCount>1</forkCount>
+                       <reuseForks>false</reuseForks>
                     <excludes>
                         <!-- This test just show the shutdown error -->
                         <exclude>**/MinaProducerShutdownTest.*</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-mina2/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-mina2/pom.xml b/components/camel-mina2/pom.xml
index 37c353b..e564e3d 100644
--- a/components/camel-mina2/pom.xml
+++ b/components/camel-mina2/pom.xml
@@ -81,13 +81,14 @@
         <plugins>
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                                                                       
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
-                                                                       
<forkMode>pertest</forkMode>
-                    <excludes>
-                        <!-- This test just show the shutdown error -->
-                        <exclude>**/Mina2ProducerShutdownTest.*</exclude>
-                    </excludes>
+                <configuration>                                                
                        
+                       <forkCount>1</forkCount>
+                       <reuseForks>false</reuseForks>
+                       
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
+                       <excludes>
+                               <!-- This test just show the shutdown error -->
+                               
<exclude>**/Mina2ProducerShutdownTest.*</exclude>
+                       </excludes>
                 </configuration>
             </plugin>
 

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-mqtt/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-mqtt/pom.xml b/components/camel-mqtt/pom.xml
index 3c7af31..5b13f70 100644
--- a/components/camel-mqtt/pom.xml
+++ b/components/camel-mqtt/pom.xml
@@ -79,7 +79,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>perTest</forkMode>
+                           <forkCount>1</forkCount>
+                    <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
              <plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-olingo2/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/pom.xml b/components/camel-olingo2/pom.xml
index ef08004..bc11092 100644
--- a/components/camel-olingo2/pom.xml
+++ b/components/camel-olingo2/pom.xml
@@ -47,7 +47,8 @@
             <configuration>
               <childDelegation>false</childDelegation>
               <useFile>true</useFile>
-              <forkMode>once</forkMode>
+              <forkCount>1</forkCount>
+             <reuseForks>true</reuseForks>
               
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
               <excludes>
                 <exclude>**/*XXXTest.java</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-quartz/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-quartz/pom.xml b/components/camel-quartz/pom.xml
index 3ef7968..b03de2d 100644
--- a/components/camel-quartz/pom.xml
+++ b/components/camel-quartz/pom.xml
@@ -106,7 +106,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
     </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-quartz2/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/pom.xml b/components/camel-quartz2/pom.xml
index 5b502ba..c62c042 100644
--- a/components/camel-quartz2/pom.xml
+++ b/components/camel-quartz2/pom.xml
@@ -106,7 +106,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
     </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-sap-netweaver/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-sap-netweaver/pom.xml 
b/components/camel-sap-netweaver/pom.xml
index bc7234e..f89414c 100644
--- a/components/camel-sap-netweaver/pom.xml
+++ b/components/camel-sap-netweaver/pom.xml
@@ -79,7 +79,8 @@
                 <configuration>
                     <childDelegation>false</childDelegation>
                     <useFile>true</useFile>
-                    <forkMode>once</forkMode>
+                   <forkCount>1</forkCount>
+                   <reuseForks>true</reuseForks>
                     
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
                     <includes>
                         <!-- Here we only run test of  -->
@@ -101,7 +102,8 @@
                         <configuration>
                             <childDelegation>false</childDelegation>
                             <useFile>true</useFile>
-                            <forkMode>once</forkMode>
+                           <forkCount>1</forkCount>
+                           <reuseForks>true</reuseForks>
                             
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
                             <includes>
                                 <include>**/*Test.java</include>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-script/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-script/pom.xml b/components/camel-script/pom.xml
index 7ecc50a..4f1d78a 100644
--- a/components/camel-script/pom.xml
+++ b/components/camel-script/pom.xml
@@ -123,7 +123,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                       <forkCount>1</forkCount>
+                       <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-servlet/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-servlet/pom.xml b/components/camel-servlet/pom.xml
index d01914e..01dfea7 100644
--- a/components/camel-servlet/pom.xml
+++ b/components/camel-servlet/pom.xml
@@ -125,7 +125,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
      </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-servletlistener/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-servletlistener/pom.xml 
b/components/camel-servletlistener/pom.xml
index 5463eea..146e9a0 100644
--- a/components/camel-servletlistener/pom.xml
+++ b/components/camel-servletlistener/pom.xml
@@ -82,7 +82,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
      </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-sjms/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-sjms/pom.xml b/components/camel-sjms/pom.xml
index 48e2ea4..be12c76 100644
--- a/components/camel-sjms/pom.xml
+++ b/components/camel-sjms/pom.xml
@@ -111,7 +111,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                   <forkCount>1</forkCount>
+                   <reuseForks>false</reuseForks>
                     
<forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
                 </configuration>
             </plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-soap/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-soap/pom.xml b/components/camel-soap/pom.xml
index 8551b7d..8c2f5f7 100644
--- a/components/camel-soap/pom.xml
+++ b/components/camel-soap/pom.xml
@@ -109,7 +109,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                       <forkCount>1</forkCount>
+                       <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
             <plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-sql/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-sql/pom.xml b/components/camel-sql/pom.xml
index 1c8f13e..ed78a84 100644
--- a/components/camel-sql/pom.xml
+++ b/components/camel-sql/pom.xml
@@ -94,7 +94,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
     </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-stream/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-stream/pom.xml b/components/camel-stream/pom.xml
index 47ba7df..1a50512 100644
--- a/components/camel-stream/pom.xml
+++ b/components/camel-stream/pom.xml
@@ -67,7 +67,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                       <forkCount>1</forkCount>
+                       <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-test-blueprint/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/pom.xml 
b/components/camel-test-blueprint/pom.xml
index 35abb0e..27ff2a9 100644
--- a/components/camel-test-blueprint/pom.xml
+++ b/components/camel-test-blueprint/pom.xml
@@ -166,7 +166,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                       <forkCount>1</forkCount>
+                       <reuseForks>false</reuseForks>
                 </configuration>
             </plugin>
         </plugins>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-twitter/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-twitter/pom.xml b/components/camel-twitter/pom.xml
index 271f0e0..0a45f6c 100644
--- a/components/camel-twitter/pom.xml
+++ b/components/camel-twitter/pom.xml
@@ -77,7 +77,8 @@
         <configuration>
           <childDelegation>false</childDelegation>
           <useFile>true</useFile>
-          <forkMode>once</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>true</reuseForks>
           <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
           <includes>
              <!-- Here we only run test of  -->
@@ -98,7 +99,8 @@
               <configuration>
                 <childDelegation>false</childDelegation>
                 <useFile>true</useFile>
-                <forkMode>once</forkMode>
+               <forkCount>1</forkCount>
+               <reuseForks>true</reuseForks>
                 
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
                 <includes>
                   <include>**/*Test.java</include>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-urlrewrite/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-urlrewrite/pom.xml 
b/components/camel-urlrewrite/pom.xml
index 851d01f..71489ce 100644
--- a/components/camel-urlrewrite/pom.xml
+++ b/components/camel-urlrewrite/pom.xml
@@ -94,7 +94,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
           <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
         </configuration>
       </plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/components/camel-vertx/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-vertx/pom.xml b/components/camel-vertx/pom.xml
index 067c76c..bf4d775 100644
--- a/components/camel-vertx/pom.xml
+++ b/components/camel-vertx/pom.xml
@@ -70,7 +70,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>perTest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
           <enableAssertions>false</enableAssertions>
         </configuration>
       </plugin>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/examples/camel-example-bam/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-bam/pom.xml 
b/examples/camel-example-bam/pom.xml
index 364d16e..1e705ac 100644
--- a/examples/camel-example-bam/pom.xml
+++ b/examples/camel-example-bam/pom.xml
@@ -92,7 +92,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>always</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
         </configuration>
       </plugin>
       

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/examples/camel-example-loan-broker/pom.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-loan-broker/pom.xml 
b/examples/camel-example-loan-broker/pom.xml
index 190fa36..173a92f 100644
--- a/examples/camel-example-loan-broker/pom.xml
+++ b/examples/camel-example-loan-broker/pom.xml
@@ -147,7 +147,8 @@
                        <plugin>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <configuration>
-                                       <forkMode>pertest</forkMode>
+                                       <forkCount>1</forkCount>
+                                       <reuseForks>false</reuseForks>
                                </configuration>
                        </plugin>
       

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index 9f1451b..42e4a26 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -118,7 +118,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                   <forkCount>1</forkCount>
+                   <reuseForks>false</reuseForks>
                     <systemPropertyVariables>
                         
<skipStartingCamelContext>${skip.starting.camel.context}</skipStartingCamelContext>
                     </systemPropertyVariables>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/tests/camel-itest-karaf/pom.xml
----------------------------------------------------------------------
diff --git a/tests/camel-itest-karaf/pom.xml b/tests/camel-itest-karaf/pom.xml
index af1581d..d7921f1 100644
--- a/tests/camel-itest-karaf/pom.xml
+++ b/tests/camel-itest-karaf/pom.xml
@@ -175,7 +175,8 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <forkMode>pertest</forkMode>
+                    <forkCount>1</forkCount>
+                   <reuseForks>false</reuseForks>
                     <systemPropertyVariables>
                         <karafVersion>${karaf-version}</karafVersion>
                     </systemPropertyVariables>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/tests/camel-itest-osgi/pom.xml
----------------------------------------------------------------------
diff --git a/tests/camel-itest-osgi/pom.xml b/tests/camel-itest-osgi/pom.xml
index 6af1226..9d19ab6 100644
--- a/tests/camel-itest-osgi/pom.xml
+++ b/tests/camel-itest-osgi/pom.xml
@@ -500,7 +500,8 @@
       <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <configuration>
-              <forkMode>pertest</forkMode>
+              <forkCount>1</forkCount>
+             <reuseForks>false</reuseForks>
               <excludes>
                   <exclude>**/FIXMETest.*</exclude>
                   <exclude>**/FtpConsumeTest.*</exclude>

http://git-wip-us.apache.org/repos/asf/camel/blob/90e24adf/tests/camel-itest/pom.xml
----------------------------------------------------------------------
diff --git a/tests/camel-itest/pom.xml b/tests/camel-itest/pom.xml
index 018cefc..de61d57 100644
--- a/tests/camel-itest/pom.xml
+++ b/tests/camel-itest/pom.xml
@@ -372,7 +372,8 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkMode>pertest</forkMode>
+          <forkCount>1</forkCount>
+         <reuseForks>false</reuseForks>
           <forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
           <systemPropertyVariables>
             <derby.stream.error.file>target/derby.log</derby.stream.error.file>

Reply via email to