JAMES-2544 Re-use surefire forks in rabbitMQ projects

This allows:
 - Avoiding one testcontainer instanciation per test class
 - Avoids starting a Cassandra container per test class


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

Branch: refs/heads/master
Commit: 62125931ef34eef96450baccd34a695542c924c7
Parents: fa09d84
Author: Benoit Tellier <btell...@linagora.com>
Authored: Thu Oct 11 09:32:02 2018 +0700
Committer: Benoit Tellier <btell...@linagora.com>
Committed: Wed Oct 24 16:36:38 2018 +0700

----------------------------------------------------------------------
 server/queue/queue-rabbitmq/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/62125931/server/queue/queue-rabbitmq/pom.xml
----------------------------------------------------------------------
diff --git a/server/queue/queue-rabbitmq/pom.xml 
b/server/queue/queue-rabbitmq/pom.xml
index d55ddec..870200d 100644
--- a/server/queue/queue-rabbitmq/pom.xml
+++ b/server/queue/queue-rabbitmq/pom.xml
@@ -228,4 +228,16 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <reuseForks>true</reuseForks>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to