JAMES-2475 Run Memory JMAP integration tests first

Use a dependency to enforce build order.


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

Branch: refs/heads/master
Commit: 9c3aa9f5064e39dcb3c1eb87201095d0f0f0d48d
Parents: 71eaebf
Author: benwa <[email protected]>
Authored: Wed Jul 18 16:18:51 2018 +0700
Committer: benwa <[email protected]>
Committed: Fri Jul 20 09:45:00 2018 +0700

----------------------------------------------------------------------
 .../cassandra-jmap-integration-testing/pom.xml            |  6 ++++++
 server/protocols/jmap-integration-testing/pom.xml         | 10 ++++++++++
 2 files changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/9c3aa9f5/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
----------------------------------------------------------------------
diff --git 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
index 072c304..d9a80c0 100644
--- 
a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
+++ 
b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
@@ -126,6 +126,12 @@
             <scope>test</scope>
         </dependency>
         <dependency>
+            <!-- Force Memory JMAP integration tests to be played before 
Cassandra ones -->
+            <groupId>${project.groupId}</groupId>
+            <artifactId>memory-jmap-integration-testing</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>javax-mail-extension</artifactId>
             <type>test-jar</type>

http://git-wip-us.apache.org/repos/asf/james-project/blob/9c3aa9f5/server/protocols/jmap-integration-testing/pom.xml
----------------------------------------------------------------------
diff --git a/server/protocols/jmap-integration-testing/pom.xml 
b/server/protocols/jmap-integration-testing/pom.xml
index 0200602..2331050 100644
--- a/server/protocols/jmap-integration-testing/pom.xml
+++ b/server/protocols/jmap-integration-testing/pom.xml
@@ -38,4 +38,14 @@
         <module>memory-jmap-integration-testing</module>
     </modules>
 
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>memory-jmap-integration-testing</artifactId>
+                <version>${project.version}</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
 </project>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to