| 
									
										
										
										
											2019-12-05 16:56:52 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							| 
									
										
										
										
											2021-05-17 20:22:27 +05:30
										 |  |  | <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"> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							| 
									
										
										
										
											2020-08-18 15:37:27 +05:30
										 |  |  |     <artifactId>spring-security-web-rest</artifactId> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |     <version>0.1-SNAPSHOT</version> | 
					
						
							| 
									
										
										
										
											2020-08-18 15:37:27 +05:30
										 |  |  |     <name>spring-security-web-rest</name> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |     <packaging>war</packaging> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <parent> | 
					
						
							|  |  |  |         <groupId>com.baeldung</groupId> | 
					
						
							|  |  |  |         <artifactId>parent-spring-5</artifactId> | 
					
						
							|  |  |  |         <version>0.0.1-SNAPSHOT</version> | 
					
						
							| 
									
										
										
										
											2019-12-13 13:04:59 +02:00
										 |  |  |         <relativePath>../../parent-spring-5</relativePath> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |     </parent> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							|  |  |  |         <!-- Spring Security --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-web</artifactId> | 
					
						
							|  |  |  |             <version>${spring-security.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-config</artifactId> | 
					
						
							|  |  |  |             <version>${spring-security.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <!-- Spring --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-core</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |             <exclusions> | 
					
						
							|  |  |  |                 <exclusion> | 
					
						
							|  |  |  |                     <artifactId>commons-logging</artifactId> | 
					
						
							|  |  |  |                     <groupId>commons-logging</groupId> | 
					
						
							|  |  |  |                 </exclusion> | 
					
						
							|  |  |  |             </exclusions> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-context</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-jdbc</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-beans</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-aop</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-tx</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-expression</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-web</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-webmvc</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <!-- web --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>javax.servlet</groupId> | 
					
						
							|  |  |  |             <artifactId>javax.servlet-api</artifactId> | 
					
						
							|  |  |  |             <version>${javax.servlet-api.version}</version> | 
					
						
							|  |  |  |             <scope>provided</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>javax.servlet</groupId> | 
					
						
							|  |  |  |             <artifactId>jstl</artifactId> | 
					
						
							|  |  |  |             <version>${jstl.version}</version> | 
					
						
							|  |  |  |             <scope>runtime</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>javax.validation</groupId> | 
					
						
							|  |  |  |             <artifactId>validation-api</artifactId> | 
					
						
							|  |  |  |             <version>${javax.validation.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <!-- marshalling --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.fasterxml.jackson.core</groupId> | 
					
						
							|  |  |  |             <artifactId>jackson-databind</artifactId> | 
					
						
							|  |  |  |             <version>${jackson.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <!-- util --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.google.guava</groupId> | 
					
						
							|  |  |  |             <artifactId>guava</artifactId> | 
					
						
							|  |  |  |             <version>${guava.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.apache.commons</groupId> | 
					
						
							|  |  |  |             <artifactId>commons-lang3</artifactId> | 
					
						
							|  |  |  |             <version>${commons-lang3.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <!-- test scoped --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-test</artifactId> | 
					
						
							|  |  |  |             <version>${spring.version}</version> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.security</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-security-test</artifactId> | 
					
						
							|  |  |  |             <version>${spring-security.version}</version> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.jayway.restassured</groupId> | 
					
						
							|  |  |  |             <artifactId>rest-assured</artifactId> | 
					
						
							|  |  |  |             <version>${rest-assured.version}</version> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |             <exclusions> | 
					
						
							|  |  |  |                 <exclusion> | 
					
						
							|  |  |  |                     <artifactId>commons-logging</artifactId> | 
					
						
							|  |  |  |                     <groupId>commons-logging</groupId> | 
					
						
							|  |  |  |                 </exclusion> | 
					
						
							|  |  |  |             </exclusions> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <!-- swagger --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>io.springfox</groupId> | 
					
						
							|  |  |  |             <artifactId>springfox-swagger2</artifactId> | 
					
						
							|  |  |  |             <version>${springfox-swagger.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>io.springfox</groupId> | 
					
						
							|  |  |  |             <artifactId>springfox-swagger-ui</artifactId> | 
					
						
							|  |  |  |             <version>${springfox-swagger.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>commons-fileupload</groupId> | 
					
						
							|  |  |  |             <artifactId>commons-fileupload</artifactId> | 
					
						
							|  |  |  |             <version>${commons-fileupload.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |     </dependencies> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <build> | 
					
						
							| 
									
										
										
										
											2021-05-17 20:22:27 +05:30
										 |  |  |         <finalName>spring-security-web-rest</finalName> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |         <resources> | 
					
						
							|  |  |  |             <resource> | 
					
						
							|  |  |  |                 <directory>src/main/resources</directory> | 
					
						
							|  |  |  |                 <filtering>true</filtering> | 
					
						
							|  |  |  |             </resource> | 
					
						
							|  |  |  |         </resources> | 
					
						
							|  |  |  |         <plugins> | 
					
						
							|  |  |  |             <plugin> | 
					
						
							|  |  |  |                 <groupId>org.codehaus.cargo</groupId> | 
					
						
							|  |  |  |                 <artifactId>cargo-maven2-plugin</artifactId> | 
					
						
							|  |  |  |                 <version>${cargo-maven2-plugin.version}</version> | 
					
						
							|  |  |  |                 <configuration> | 
					
						
							|  |  |  |                     <container> | 
					
						
							|  |  |  |                         <containerId>jetty8x</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> | 
					
						
							|  |  |  |     </profiles> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <properties> | 
					
						
							|  |  |  |         <!-- various --> | 
					
						
							|  |  |  |         <javax.validation.version>1.1.0.Final</javax.validation.version> | 
					
						
							|  |  |  |         <!-- util --> | 
					
						
							|  |  |  |         <guava.version>26.0-jre</guava.version> | 
					
						
							|  |  |  |         <!-- testing --> | 
					
						
							|  |  |  |         <rest-assured.version>2.9.0</rest-assured.version> | 
					
						
							|  |  |  |         <!-- swagger --> | 
					
						
							| 
									
										
										
										
											2021-05-14 18:01:30 +02:00
										 |  |  |         <springfox-swagger.version>3.0.0</springfox-swagger.version> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |         <!-- Maven plugins --> | 
					
						
							|  |  |  |         <cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version> | 
					
						
							|  |  |  |     </properties> | 
					
						
							| 
									
										
										
										
											2019-12-05 16:56:52 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 20:22:27 +05:30
										 |  |  | </project> |