| 
									
										
										
										
											2017-02-10 10:49:01 +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-04-26 18:07:47 +05:30
										 |  |  |          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <groupId>com.baeldung</groupId> | 
					
						
							|  |  |  |     <artifactId>spring-security-mvc-boot</artifactId> | 
					
						
							|  |  |  |     <version>0.0.1-SNAPSHOT</version> | 
					
						
							|  |  |  |     <packaging>war</packaging> | 
					
						
							|  |  |  |     <name>spring-security-mvc-boot</name> | 
					
						
							|  |  |  |     <description>Spring Security MVC Boot</description> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <parent> | 
					
						
							| 
									
										
										
										
											2018-11-30 20:50:40 -02:00
										 |  |  |         <artifactId>parent-boot-2.0-temp</artifactId> | 
					
						
							| 
									
										
										
										
											2017-05-14 18:01:35 +02:00
										 |  |  |         <groupId>com.baeldung</groupId> | 
					
						
							|  |  |  |         <version>0.0.1-SNAPSHOT</version> | 
					
						
							| 
									
										
										
										
											2018-11-30 20:50:40 -02:00
										 |  |  |         <relativePath>../parent-boot-2.0-temp</relativePath> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |     </parent> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-security</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2017-05-12 20:32:54 +02:00
										 |  |  |         <dependency> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-web</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-tomcat</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-thymeleaf</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.thymeleaf.extras</groupId> | 
					
						
							| 
									
										
										
										
											2018-11-22 00:37:23 +02:00
										 |  |  |             <artifactId>thymeleaf-extras-springsecurity4</artifactId> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-data-jpa</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2018-08-30 00:15:26 +05:30
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-data</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.h2database</groupId> | 
					
						
							|  |  |  |             <artifactId>h2</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.hamcrest</groupId> | 
					
						
							|  |  |  |             <artifactId>hamcrest-core</artifactId> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.hamcrest</groupId> | 
					
						
							|  |  |  |             <artifactId>hamcrest-library</artifactId> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-test</artifactId> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2017-05-12 20:32:54 +02:00
										 |  |  |         <dependency> | 
					
						
							| 
									
										
										
										
											2017-03-11 04:45:19 +02:00
										 |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-test</artifactId> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>taglibs</groupId> | 
					
						
							|  |  |  |             <artifactId>standard</artifactId> | 
					
						
							|  |  |  |             <version>${taglibs-standard.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-taglibs</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2017-05-12 20:32:54 +02:00
										 |  |  |         <dependency> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-core</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>javax.servlet.jsp.jstl</groupId> | 
					
						
							|  |  |  |             <artifactId>jstl-api</artifactId> | 
					
						
							|  |  |  |             <version>${jstl.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-config</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-context-support</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>net.sf.ehcache</groupId> | 
					
						
							|  |  |  |             <artifactId>ehcache-core</artifactId> | 
					
						
							| 
									
										
										
										
											2018-07-12 12:34:54 +05:30
										 |  |  |             <version>${ehcache-core.version}</version> | 
					
						
							| 
									
										
										
										
											2018-04-26 18:07:47 +05:30
										 |  |  |             <type>jar</type> | 
					
						
							| 
									
										
										
										
											2017-11-12 19:21:05 +08:00
										 |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2017-05-12 20:32:54 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |     </dependencies> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <build> | 
					
						
							|  |  |  |         <plugins> | 
					
						
							|  |  |  |             <plugin> | 
					
						
							|  |  |  |                 <groupId>org.codehaus.cargo</groupId> | 
					
						
							|  |  |  |                 <artifactId>cargo-maven2-plugin</artifactId> | 
					
						
							|  |  |  |                 <version>${cargo-maven2-plugin.version}</version> | 
					
						
							|  |  |  |                 <configuration> | 
					
						
							|  |  |  |                     <wait>true</wait> | 
					
						
							|  |  |  |                     <container> | 
					
						
							|  |  |  |                         <containerId>tomcat8x</containerId> | 
					
						
							|  |  |  |                         <type>embedded</type> | 
					
						
							|  |  |  |                         <systemProperties> | 
					
						
							|  |  |  |                             <!-- <provPersistenceTarget>cargo</provPersistenceTarget> --> | 
					
						
							|  |  |  |                         </systemProperties> | 
					
						
							|  |  |  |                     </container> | 
					
						
							|  |  |  |                     <configuration> | 
					
						
							|  |  |  |                         <properties> | 
					
						
							|  |  |  |                             <cargo.servlet.port>8082</cargo.servlet.port> | 
					
						
							|  |  |  |                         </properties> | 
					
						
							|  |  |  |                     </configuration> | 
					
						
							|  |  |  |                 </configuration> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							|  |  |  |         </plugins> | 
					
						
							|  |  |  |     </build> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <profiles> | 
					
						
							|  |  |  |         <profile> | 
					
						
							|  |  |  |             <id>live</id> | 
					
						
							|  |  |  |             <build> | 
					
						
							|  |  |  |                 <plugins> | 
					
						
							|  |  |  |                     <plugin> | 
					
						
							|  |  |  |                         <groupId>org.codehaus.cargo</groupId> | 
					
						
							|  |  |  |                         <artifactId>cargo-maven2-plugin</artifactId> | 
					
						
							|  |  |  |                         <executions> | 
					
						
							|  |  |  |                             <execution> | 
					
						
							|  |  |  |                                 <id>start-server</id> | 
					
						
							|  |  |  |                                 <phase>pre-integration-test</phase> | 
					
						
							|  |  |  |                                 <goals> | 
					
						
							|  |  |  |                                     <goal>start</goal> | 
					
						
							|  |  |  |                                 </goals> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                             <execution> | 
					
						
							|  |  |  |                                 <id>stop-server</id> | 
					
						
							|  |  |  |                                 <phase>post-integration-test</phase> | 
					
						
							|  |  |  |                                 <goals> | 
					
						
							|  |  |  |                                     <goal>stop</goal> | 
					
						
							|  |  |  |                                 </goals> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                     <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>none</exclude> | 
					
						
							|  |  |  |                                     </excludes> | 
					
						
							|  |  |  |                                     <includes> | 
					
						
							|  |  |  |                                         <include>**/*LiveTest.java</include> | 
					
						
							|  |  |  |                                     </includes> | 
					
						
							|  |  |  |                                     <systemPropertyVariables> | 
					
						
							|  |  |  |                                         <webTarget>cargo</webTarget> | 
					
						
							|  |  |  |                                     </systemPropertyVariables> | 
					
						
							|  |  |  |                                 </configuration> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                 </plugins> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							| 
									
										
										
										
											2017-05-12 20:32:54 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |         <profile> | 
					
						
							| 
									
										
										
										
											2017-03-11 04:45:19 +02:00
										 |  |  |             <id>entryPoints</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-06-22 16:39:57 +05:30
										 |  |  |                         				<exclude>**/*IntTest.java</exclude> | 
					
						
							| 
									
										
										
										
											2017-03-11 04:45:19 +02:00
										 |  |  |                                     </excludes> | 
					
						
							|  |  |  |                                     <includes> | 
					
						
							|  |  |  |                                         <include>**/*EntryPointsTest.java</include> | 
					
						
							|  |  |  |                                     </includes> | 
					
						
							|  |  |  |                                 </configuration> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <systemPropertyVariables> | 
					
						
							|  |  |  |                                 <test.mime>json</test.mime> | 
					
						
							|  |  |  |                             </systemPropertyVariables> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                 </plugins> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |     </profiles> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <properties> | 
					
						
							| 
									
										
										
										
											2018-10-26 23:56:07 +05:30
										 |  |  |         <start-class>org.baeldung.custom.Application</start-class> | 
					
						
							| 
									
										
										
										
											2017-05-12 20:32:54 +02:00
										 |  |  |         <!--If you want to run the example with the voters comment the tag 
 | 
					
						
							|  |  |  |             above and uncomment the one below --> | 
					
						
							|  |  |  |         <!--<start-class>org.baeldung.voter.VoterApplication</start-class> --> | 
					
						
							|  |  |  |         <!--If you want to run the example with the multiple logins, comment 
 | 
					
						
							|  |  |  |             the tag above and uncomment the one below --> | 
					
						
							|  |  |  |         <!--<start-class>org.baeldung.multiplelogin.MultipleLoginApplication</start-class> --> | 
					
						
							|  |  |  |         <!--If you want to run the example with the multiple http elements, 
 | 
					
						
							|  |  |  |             comment the tag above and uncomment the one below --> | 
					
						
							| 
									
										
										
										
											2018-10-22 01:11:25 +05:30
										 |  |  |         <!--<start-class>org.baeldung.multipleentrypoints.MultipleEntryPointsApplication</start-class>--> | 
					
						
							|  |  |  |         <!--If you want to run the example with the Https enabled endpoints,
 | 
					
						
							|  |  |  |             comment the tag above and uncomment the one below --> | 
					
						
							|  |  |  |        <!-- <start-class>org.baeldung.ssl.HttpsEnabledApplication</start-class> --> | 
					
						
							| 
									
										
										
										
											2017-05-12 20:32:54 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |         <taglibs-standard.version>1.1.2</taglibs-standard.version> | 
					
						
							|  |  |  |         <jstl.version>1.2</jstl.version> | 
					
						
							|  |  |  |         <cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version> | 
					
						
							| 
									
										
										
										
											2018-07-12 12:34:54 +05:30
										 |  |  |         <ehcache-core.version>2.6.11</ehcache-core.version> | 
					
						
							| 
									
										
										
										
											2018-10-22 01:11:25 +05:30
										 |  |  |         <java.version>1.8</java.version> | 
					
						
							| 
									
										
										
										
											2017-02-10 10:49:01 +02:00
										 |  |  |     </properties> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </project> |