183 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			183 lines
		
	
	
		
			6.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <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>
 | |
| 
 | |
|     <groupId>com.baeldung</groupId>
 | |
|     <artifactId>spring-data-mongodb</artifactId>
 | |
|     <version>0.0.1-SNAPSHOT</version>
 | |
| 
 | |
|     <name>spring-data-mongodb</name>
 | |
| 
 | |
|     <dependencies>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.data</groupId>
 | |
|             <artifactId>spring-data-mongodb</artifactId>
 | |
|             <version>${org.springframework.data.version}</version>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.springframework</groupId>
 | |
|             <artifactId>spring-core</artifactId>
 | |
|             <version>${org.springframework.version}</version>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>junit</groupId>
 | |
|             <artifactId>junit-dep</artifactId>
 | |
|             <version>${junit.version}</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.hamcrest</groupId>
 | |
|             <artifactId>hamcrest-core</artifactId>
 | |
|             <version>${org.hamcrest.version}</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.hamcrest</groupId>
 | |
|             <artifactId>hamcrest-library</artifactId>
 | |
|             <version>${org.hamcrest.version}</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.springframework</groupId>
 | |
|             <artifactId>spring-test</artifactId>
 | |
|             <version>${org.springframework.version}</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.slf4j</groupId>
 | |
|             <artifactId>slf4j-api</artifactId>
 | |
|             <version>${org.slf4j.version}</version>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>ch.qos.logback</groupId>
 | |
|             <artifactId>logback-classic</artifactId>
 | |
|             <version>${logback.version}</version>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.slf4j</groupId>
 | |
|             <artifactId>jcl-over-slf4j</artifactId>
 | |
|             <version>${org.slf4j.version}</version>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>org.slf4j</groupId>
 | |
|             <artifactId>log4j-over-slf4j</artifactId>
 | |
|             <version>${org.slf4j.version}</version>
 | |
|         </dependency>
 | |
| 
 | |
|         <dependency>
 | |
|             <groupId>com.mysema.querydsl</groupId>
 | |
|             <artifactId>querydsl-mongodb</artifactId>
 | |
|             <version>${querydsl.version}</version>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>com.mysema.querydsl</groupId>
 | |
|             <artifactId>querydsl-apt</artifactId>
 | |
|             <version>${querydsl.version}</version>
 | |
|         </dependency>
 | |
| 
 | |
|     </dependencies>
 | |
| 
 | |
|     <build>
 | |
|         <plugins>
 | |
|             <plugin>
 | |
|                 <groupId>com.mysema.maven</groupId>
 | |
|                 <artifactId>apt-maven-plugin</artifactId>
 | |
|                 <version>${mysema.maven.version}</version>
 | |
|                 <executions>
 | |
|                     <execution>
 | |
|                         <goals>
 | |
|                             <goal>process</goal>
 | |
|                         </goals>
 | |
|                         <configuration>
 | |
|                             <outputDirectory>target/generated-sources/java</outputDirectory>
 | |
|                             <processor>org.springframework.data.mongodb.repository.support.MongoAnnotationProcessor</processor>
 | |
|                         </configuration>
 | |
|                     </execution>
 | |
|                 </executions>
 | |
|             </plugin>
 | |
|             <plugin>
 | |
|                 <artifactId>maven-compiler-plugin</artifactId>
 | |
|                 <version>2.3.2</version>
 | |
|                 <configuration>
 | |
|                     <source>1.8</source>
 | |
|                     <target>1.8</target>
 | |
|                 </configuration>
 | |
|             </plugin>
 | |
|             <plugin>
 | |
|                 <groupId>org.apache.maven.plugins</groupId>
 | |
|                 <artifactId>maven-surefire-plugin</artifactId>
 | |
|                 <version>${maven-surefire-plugin.version}</version>
 | |
|                 <configuration>
 | |
|                     <excludes>
 | |
|                         <exclude>**/*IntegrationTest.java</exclude>
 | |
|                         <exclude>**/*LiveTest.java</exclude>
 | |
|                     </excludes>
 | |
|                 </configuration>
 | |
|             </plugin>
 | |
|         </plugins>
 | |
|     </build>
 | |
| 
 | |
|     <profiles>
 | |
|         <profile>
 | |
|             <id>integration</id>
 | |
|             <build>
 | |
|                 <plugins>
 | |
|                     <plugin>
 | |
|                         <groupId>org.apache.maven.plugins</groupId>
 | |
|                         <artifactId>maven-surefire-plugin</artifactId>
 | |
|                         <executions>
 | |
|                             <execution>
 | |
|                                 <phase>integration-test</phase>
 | |
|                                 <goals>
 | |
|                                     <goal>test</goal>
 | |
|                                 </goals>
 | |
|                                 <configuration>
 | |
|                                     <excludes>
 | |
|                                         <exclude>**/*LiveTest.java</exclude>
 | |
|                                     </excludes>
 | |
|                                     <includes>
 | |
|                                         <include>**/*IntegrationTest.java</include>
 | |
|                                     </includes>
 | |
|                                 </configuration>
 | |
|                             </execution>
 | |
|                         </executions>
 | |
|                         <configuration>
 | |
|                             <systemPropertyVariables>
 | |
|                                 <test.mime>json</test.mime>
 | |
|                             </systemPropertyVariables>
 | |
|                         </configuration>
 | |
|                     </plugin>
 | |
|                 </plugins>
 | |
|             </build>
 | |
|         </profile>
 | |
|     </profiles>
 | |
|     
 | |
|     <properties>
 | |
|         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | |
|         
 | |
|         <org.springframework.version>4.2.5.RELEASE</org.springframework.version>
 | |
| 
 | |
|         <org.springframework.data.version>1.7.1.RELEASE</org.springframework.data.version>
 | |
| 
 | |
|         <org.hamcrest.version>1.3</org.hamcrest.version>
 | |
|         <junit.version>4.11</junit.version>
 | |
|         <rest-assured.version>2.9.0</rest-assured.version>
 | |
|         <querydsl.version>3.6.6</querydsl.version>
 | |
|         <mysema.maven.version>1.1.3</mysema.maven.version>
 | |
| 
 | |
|         <org.slf4j.version>1.7.12</org.slf4j.version>
 | |
|         <logback.version>1.1.3</logback.version>
 | |
|         <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>        
 | |
|     </properties>
 | |
| 
 | |
| </project>
 |