You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
169 lines
4.3 KiB
169 lines
4.3 KiB
<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/maven-v4_0_0.xsd"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<parent> |
|
<groupId>org.springframework.data</groupId> |
|
<artifactId>spring-data-document-parent</artifactId> |
|
<version>1.0.0.BUILD-SNAPSHOT</version> |
|
<relativePath>../spring-data-document-parent/pom.xml</relativePath> |
|
</parent> |
|
<artifactId>spring-data-mongodb</artifactId> |
|
<packaging>jar</packaging> |
|
<name>Spring Data MongoDB Support</name> |
|
|
|
<properties> |
|
<mongo.version>2.5.3</mongo.version> |
|
<querydsl.version>2.2.0</querydsl.version> |
|
</properties> |
|
|
|
<dependencies> |
|
|
|
<!-- Spring --> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-beans</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-expression</artifactId> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springframework</groupId> |
|
<artifactId>spring-test</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<!-- Spring Data --> |
|
<dependency> |
|
<groupId>org.springframework.data</groupId> |
|
<artifactId>spring-data-commons-core</artifactId> |
|
<version>${data.commons.version}</version> |
|
</dependency> |
|
|
|
<!-- MongoDB --> |
|
<dependency> |
|
<groupId>org.mongodb</groupId> |
|
<artifactId>mongo-java-driver</artifactId> |
|
<version>${mongo.version}</version> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>javax.persistence</groupId> |
|
<artifactId>persistence-api</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.mysema.querydsl</groupId> |
|
<artifactId>querydsl-mongodb</artifactId> |
|
<version>${querydsl.version}</version> |
|
<optional>true</optional> |
|
<exclusions> |
|
<exclusion> |
|
<groupId>com.google.code.morphia</groupId> |
|
<artifactId>morphia</artifactId> |
|
</exclusion> |
|
</exclusions> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>com.mysema.querydsl</groupId> |
|
<artifactId>querydsl-apt</artifactId> |
|
<version>${querydsl.version}</version> |
|
<scope>provided</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>javax.annotation</groupId> |
|
<artifactId>jsr250-api</artifactId> |
|
<optional>true</optional> |
|
</dependency> |
|
|
|
<!-- Test dependencies --> |
|
<dependency> |
|
<groupId>org.mockito</groupId> |
|
<artifactId>mockito-all</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.hamcrest</groupId> |
|
<artifactId>hamcrest-all</artifactId> |
|
<version>1.1</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>junit</groupId> |
|
<artifactId>junit</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>joda-time</groupId> |
|
<artifactId>joda-time</artifactId> |
|
<version>1.6</version> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-api</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>jcl-over-slf4j</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.slf4j</groupId> |
|
<artifactId>slf4j-log4j12</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>log4j</groupId> |
|
<artifactId>log4j</artifactId> |
|
<scope>test</scope> |
|
</dependency> |
|
|
|
</dependencies> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>com.springsource.bundlor</groupId> |
|
<artifactId>com.springsource.bundlor.maven</artifactId> |
|
</plugin> |
|
|
|
<plugin> |
|
<groupId>com.mysema.maven</groupId> |
|
<artifactId>maven-apt-plugin</artifactId> |
|
<version>1.0.2</version> |
|
<executions> |
|
<execution> |
|
<phase>generate-test-sources</phase> |
|
<goals> |
|
<goal>test-process</goal> |
|
</goals> |
|
<configuration> |
|
<outputDirectory>target/generated-test-sources</outputDirectory> |
|
<processor>org.springframework.data.mongodb.repository.MongoAnnotationProcessor</processor> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<repositories> |
|
<repository> |
|
<id>querydsl</id> |
|
<name>Mysema QueryDsl</name> |
|
<url>http://source.mysema.com/maven2/releases</url> |
|
<snapshots> |
|
<enabled>false</enabled> |
|
</snapshots> |
|
</repository> |
|
</repositories> |
|
</project>
|
|
|