| <?xml version='1.0'?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.rya</groupId> |
| <artifactId>rya.dao</artifactId> |
| <version>3.2.13-incubating-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>mongodb.rya</artifactId> |
| <name>Apache Rya MongoDB DAO</name> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <!-- generate the test jar as well so it can be reused by dependent tools. |
| TODO this is messy. in the future, classes that provide this functionality |
| should be decoupled into reusable frameworks. --> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </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> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.rya</groupId> |
| <artifactId>rya.api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.accumulo</groupId> |
| <artifactId>accumulo-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mongodb</groupId> |
| <artifactId>mongo-java-driver</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>de.flapdoodle.embed</groupId> |
| <artifactId>de.flapdoodle.embed.mongo</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </project> |