123 lines
		
	
	
		
			4.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			123 lines
		
	
	
		
			4.8 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>
 | |
|     <groupId>org.baeldung</groupId>
 | |
|     <artifactId>spring-boot-bootstrap</artifactId>
 | |
|     <packaging>jar</packaging>
 | |
|     <name>spring-boot-bootstrap</name>
 | |
|     <description>Demo project for Spring Boot</description>
 | |
| 
 | |
|     <parent>
 | |
|         <artifactId>parent-boot-2</artifactId>
 | |
|         <groupId>com.baeldung</groupId>
 | |
|         <version>0.0.1-SNAPSHOT</version>
 | |
|         <relativePath>../parent-boot-2</relativePath>
 | |
|     </parent>
 | |
| 
 | |
|     <dependencies>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-web</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-thymeleaf</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-data-jpa</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>com.h2database</groupId>
 | |
|             <artifactId>h2</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-security</artifactId>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.springframework.boot</groupId>
 | |
|             <artifactId>spring-boot-starter-test</artifactId>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>io.rest-assured</groupId>
 | |
|             <artifactId>rest-assured</artifactId>
 | |
|             <version>3.0.3</version>
 | |
|             <scope>test</scope>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>javax.servlet</groupId>
 | |
|             <artifactId>javax.servlet-api</artifactId>
 | |
|             <version>4.0.0</version>
 | |
|         </dependency>
 | |
|     </dependencies>
 | |
| 
 | |
|     <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>
 | |
|                                     <includes>
 | |
|                                         <include>**/AutoconfigurationTest.java</include>
 | |
|                                     </includes>
 | |
|                                 </configuration>
 | |
|                             </execution>
 | |
|                         </executions>
 | |
|                         <configuration>
 | |
|                             <systemPropertyVariables>
 | |
|                                 <test.mime>json</test.mime>
 | |
|                             </systemPropertyVariables>
 | |
|                         </configuration>
 | |
|                     </plugin>
 | |
|                 </plugins>
 | |
|             </build>
 | |
|         </profile>
 | |
|         <profile>
 | |
|             <id>thin-jar</id>
 | |
|             <build>
 | |
|                 <plugins>
 | |
|                     <plugin>
 | |
|                         <groupId>org.springframework.boot.experimental</groupId>
 | |
|                         <artifactId>spring-boot-thin-maven-plugin</artifactId>
 | |
|                         <version>${thin.version}</version>
 | |
|                         <executions>
 | |
|                             <execution>
 | |
|                                 <!-- Download the dependencies at build time -->
 | |
|                                 <id>resolve</id>
 | |
|                                 <goals>
 | |
|                                     <goal>resolve</goal>
 | |
|                                 </goals>
 | |
|                                 <inherited>false</inherited>
 | |
|                             </execution>
 | |
|                         </executions>
 | |
|                     </plugin>
 | |
|                 </plugins>
 | |
|             </build>
 | |
|         </profile>
 | |
|     </profiles>
 | |
| 
 | |
|     <properties>
 | |
|         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | |
|         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 | |
|         <java.version>1.8</java.version>
 | |
|     </properties>
 | |
| 
 | |
| </project>
 |