106 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			106 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="UTF-8"?>
							 | 
						||
| 
								 | 
							
								<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>
							 | 
						||
| 
								 | 
							
								        <artifactId>parent-boot-2</artifactId>
							 | 
						||
| 
								 | 
							
								        <groupId>com.baeldung</groupId>
							 | 
						||
| 
								 | 
							
								        <version>0.0.1-SNAPSHOT</version>
							 | 
						||
| 
								 | 
							
								        <relativePath>../../parent-boot-2</relativePath>
							 | 
						||
| 
								 | 
							
								    </parent>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <artifactId>spring-boot-persistence-mongodb</artifactId>
							 | 
						||
| 
								 | 
							
								    <packaging>war</packaging>
							 | 
						||
| 
								 | 
							
								    <name>spring-boot-persistence-mongodb</name>
							 | 
						||
| 
								 | 
							
								    <description>This is simple boot application for Spring boot persistence mongodb test</description>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <dependencies>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-web</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <!-- MongoDB -->
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-data-mongodb</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <!-- JUnit Jupiter dependencies -->
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.junit.jupiter</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>junit-jupiter-api</artifactId>
							 | 
						||
| 
								 | 
							
								            <scope>test</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.junit.jupiter</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>junit-jupiter-engine</artifactId>
							 | 
						||
| 
								 | 
							
								            <scope>test</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <!-- JUnit platform launcher -->
							 | 
						||
| 
								 | 
							
								        <!-- To be able to run tests from IDE directly -->
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.junit.platform</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>junit-platform-launcher</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>${junit-platform.version}</version>
							 | 
						||
| 
								 | 
							
								            <scope>test</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-test</artifactId>
							 | 
						||
| 
								 | 
							
								            <scope>test</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								    </dependencies>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <build>
							 | 
						||
| 
								 | 
							
								        <finalName>spring-boot-persistence</finalName>
							 | 
						||
| 
								 | 
							
								        <resources>
							 | 
						||
| 
								 | 
							
								            <resource>
							 | 
						||
| 
								 | 
							
								                <directory>src/main/resources</directory>
							 | 
						||
| 
								 | 
							
								                <filtering>true</filtering>
							 | 
						||
| 
								 | 
							
								            </resource>
							 | 
						||
| 
								 | 
							
								        </resources>
							 | 
						||
| 
								 | 
							
								        <plugins>
							 | 
						||
| 
								 | 
							
								            <plugin>
							 | 
						||
| 
								 | 
							
								                <groupId>org.apache.maven.plugins</groupId>
							 | 
						||
| 
								 | 
							
								                <artifactId>maven-war-plugin</artifactId>
							 | 
						||
| 
								 | 
							
								            </plugin>
							 | 
						||
| 
								 | 
							
								        </plugins>
							 | 
						||
| 
								 | 
							
								    </build>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <profiles>
							 | 
						||
| 
								 | 
							
								        <profile>
							 | 
						||
| 
								 | 
							
								            <id>autoconfiguration</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>
							 | 
						||
| 
								 | 
							
								                                        <exclude>**/*IntegrationTest.java</exclude>
							 | 
						||
| 
								 | 
							
								                                        <exclude>**/*IntTest.java</exclude>
							 | 
						||
| 
								 | 
							
								                                    </excludes>
							 | 
						||
| 
								 | 
							
								                                </configuration>
							 | 
						||
| 
								 | 
							
								                            </execution>
							 | 
						||
| 
								 | 
							
								                        </executions>
							 | 
						||
| 
								 | 
							
								                        <configuration>
							 | 
						||
| 
								 | 
							
								                            <systemPropertyVariables>
							 | 
						||
| 
								 | 
							
								                                <test.mime>json</test.mime>
							 | 
						||
| 
								 | 
							
								                            </systemPropertyVariables>
							 | 
						||
| 
								 | 
							
								                        </configuration>
							 | 
						||
| 
								 | 
							
								                    </plugin>
							 | 
						||
| 
								 | 
							
								                </plugins>
							 | 
						||
| 
								 | 
							
								            </build>
							 | 
						||
| 
								 | 
							
								        </profile>
							 | 
						||
| 
								 | 
							
								    </profiles>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</project>
							 |