| 
									
										
										
										
											2017-06-12 22:12:54 +02:00
										 |  |  | <?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" | 
					
						
							| 
									
										
										
										
											2018-08-30 01:00:11 +02:00
										 |  |  |          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     <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> | 
					
						
							| 
									
										
										
										
											2017-06-12 22:12:54 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     <parent> | 
					
						
							| 
									
										
										
										
											2018-05-08 22:04:21 +03:00
										 |  |  |         <artifactId>parent-boot-2</artifactId> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |         <groupId>com.baeldung</groupId> | 
					
						
							|  |  |  |         <version>0.0.1-SNAPSHOT</version> | 
					
						
							| 
									
										
										
										
											2018-05-08 22:04:21 +03:00
										 |  |  |         <relativePath>../parent-boot-2</relativePath> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     </parent> | 
					
						
							| 
									
										
										
										
											2018-08-30 01:00:11 +02:00
										 |  |  |     <dependencyManagement> | 
					
						
							|  |  |  |         <dependencies> | 
					
						
							|  |  |  |             <dependency> | 
					
						
							|  |  |  |                 <groupId>org.springframework.cloud</groupId> | 
					
						
							|  |  |  |                 <artifactId>spring-cloud-dependencies</artifactId> | 
					
						
							|  |  |  |                 <version>Finchley.SR1</version> | 
					
						
							|  |  |  |                 <type>pom</type> | 
					
						
							|  |  |  |                 <scope>import</scope> | 
					
						
							|  |  |  |             </dependency> | 
					
						
							|  |  |  |         </dependencies> | 
					
						
							|  |  |  |     </dependencyManagement> | 
					
						
							| 
									
										
										
										
											2017-06-12 22:12:54 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     <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> | 
					
						
							| 
									
										
										
										
											2018-08-30 01:00:11 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.cloud</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-cloud-starter</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-cloud-connectors</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.h2database</groupId> | 
					
						
							|  |  |  |             <artifactId>h2</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2018-08-30 01:00:11 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>mysql</groupId> | 
					
						
							|  |  |  |             <artifactId>mysql-connector-java</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |         <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> | 
					
						
							| 
									
										
										
										
											2018-07-12 12:34:54 +05:30
										 |  |  |             <version>${rest-assured.version}</version> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>javax.servlet</groupId> | 
					
						
							|  |  |  |             <artifactId>javax.servlet-api</artifactId> | 
					
						
							| 
									
										
										
										
											2018-07-12 12:34:54 +05:30
										 |  |  |             <version>${servlet.version}</version> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |         </dependency> | 
					
						
							|  |  |  |     </dependencies> | 
					
						
							| 
									
										
										
										
											2017-06-12 22:12:54 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     <profiles> | 
					
						
							| 
									
										
										
										
											2018-08-30 01:00:11 +02:00
										 |  |  |         <profile> | 
					
						
							|  |  |  |             <id>cloudfoundry</id> | 
					
						
							|  |  |  |             <dependencies> | 
					
						
							|  |  |  |                 <dependency> | 
					
						
							|  |  |  |                     <groupId>org.springframework.cloud</groupId> | 
					
						
							|  |  |  |                     <artifactId>spring-cloud-starter</artifactId> | 
					
						
							|  |  |  |                 </dependency> | 
					
						
							|  |  |  |                 <dependency> | 
					
						
							|  |  |  |                     <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |                     <artifactId>spring-boot-starter-cloud-connectors</artifactId> | 
					
						
							|  |  |  |                 </dependency> | 
					
						
							|  |  |  |             </dependencies> | 
					
						
							|  |  |  |             <build> | 
					
						
							|  |  |  |                 <resources> | 
					
						
							|  |  |  |                     <resource> | 
					
						
							|  |  |  |                         <directory>src/main/resources</directory> | 
					
						
							|  |  |  |                         <excludes> | 
					
						
							|  |  |  |                             <exclude>**/logback.xml</exclude> | 
					
						
							|  |  |  |                         </excludes> | 
					
						
							|  |  |  |                     </resource> | 
					
						
							|  |  |  |                 </resources> | 
					
						
							|  |  |  |                 <plugins> | 
					
						
							|  |  |  |                     <plugin> | 
					
						
							|  |  |  |                         <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |                         <artifactId>spring-boot-maven-plugin</artifactId> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <finalName>${project.name}-cf</finalName> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                     <plugin> | 
					
						
							|  |  |  |                         <groupId>org.apache.maven.plugins</groupId> | 
					
						
							|  |  |  |                         <artifactId>maven-compiler-plugin</artifactId> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <excludes> | 
					
						
							|  |  |  |                                 <exclude>**/cloud/config/*.java</exclude> | 
					
						
							|  |  |  |                             </excludes> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                 </plugins> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |         <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> | 
					
						
							| 
									
										
										
										
											2018-07-12 12:34:54 +05:30
										 |  |  |                                         <exclude>**/*IntTest.java</exclude> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |                                     </excludes> | 
					
						
							|  |  |  |                                     <includes> | 
					
						
							|  |  |  |                                         <include>**/AutoconfigurationTest.java</include> | 
					
						
							|  |  |  |                                     </includes> | 
					
						
							|  |  |  |                                 </configuration> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <systemPropertyVariables> | 
					
						
							|  |  |  |                                 <test.mime>json</test.mime> | 
					
						
							|  |  |  |                             </systemPropertyVariables> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                 </plugins> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							| 
									
										
										
										
											2018-06-08 22:47:00 +02:00
										 |  |  |         <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> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     </profiles> | 
					
						
							| 
									
										
										
										
											2018-08-30 01:00:11 +02:00
										 |  |  |     <build> | 
					
						
							|  |  |  |         <plugins> | 
					
						
							|  |  |  |             <plugin> | 
					
						
							|  |  |  |                 <groupId>org.apache.maven.plugins</groupId> | 
					
						
							|  |  |  |                 <artifactId>maven-compiler-plugin</artifactId> | 
					
						
							|  |  |  |                 <configuration> | 
					
						
							|  |  |  |                     <excludes> | 
					
						
							|  |  |  |                         <exclude>**/cloud/*.java</exclude> | 
					
						
							|  |  |  |                     </excludes> | 
					
						
							|  |  |  |                 </configuration> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							|  |  |  |         </plugins> | 
					
						
							|  |  |  |     </build> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     <properties> | 
					
						
							| 
									
										
										
										
											2018-07-12 12:34:54 +05:30
										 |  |  |         <servlet.version>4.0.0</servlet.version> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |     </properties> | 
					
						
							| 
									
										
										
										
											2017-06-12 22:12:54 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | </project> |