Repository: incubator-rya Updated Branches: refs/heads/master 1d33b4359 -> a3557bf29
RYA-189 Enforce running Mongo on a 64bit JVM closes #112 Project: http://git-wip-us.apache.org/repos/asf/incubator-rya/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-rya/commit/a3557bf2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-rya/tree/a3557bf2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-rya/diff/a3557bf2 Branch: refs/heads/master Commit: a3557bf2915192c2ce7b5d050b6f5a5f73360b55 Parents: 1d33b43 Author: David W. Lotts <[email protected]> Authored: Wed Oct 12 17:27:00 2016 -0400 Committer: Aaron Mihalik <[email protected]> Committed: Sat Oct 15 16:09:58 2016 -0400 ---------------------------------------------------------------------- dao/mongodb.rya/pom.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-rya/blob/a3557bf2/dao/mongodb.rya/pom.xml ---------------------------------------------------------------------- diff --git a/dao/mongodb.rya/pom.xml b/dao/mongodb.rya/pom.xml index d57fffe..40554c0 100644 --- a/dao/mongodb.rya/pom.xml +++ b/dao/mongodb.rya/pom.xml @@ -44,6 +44,21 @@ under the License. </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <configuration> + <rules> + <requireOS> + <message>Testing MongoDB with Flapdoodle fails for arch=x86, which is 32bit JVM, fix by using a 64bit JDK +Tests will fail with the following error when using 32bit JVM on either Linux or Windows: + java.io.IOException: Could not start process: <EOF></message> + <arch>!x86</arch> + </requireOS> + </rules> + <fail>true</fail> + </configuration> + </plugin> </plugins> </build>
