upgrade to latest spring-boot libs and fixed related issues
This commit is contained in:
		
				
					committed by
					
						 Nanne Baars
						Nanne Baars
					
				
			
			
				
	
			
			
			
						parent
						
							44f70ce4dc
						
					
				
				
					commit
					cb6b1d73d1
				
			
							
								
								
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -11,7 +11,7 @@ | ||||
|     <parent> | ||||
|         <groupId>org.springframework.boot</groupId> | ||||
|         <artifactId>spring-boot-starter-parent</artifactId> | ||||
|         <version>2.5.4</version> | ||||
|         <version>2.6.1</version> | ||||
|     </parent> | ||||
|  | ||||
|     <name>WebGoat Parent Pom</name> | ||||
| @@ -124,7 +124,6 @@ | ||||
|         <commons-lang3.version>3.12.0</commons-lang3.version> | ||||
|         <commons-io.version>2.6</commons-io.version> | ||||
|         <guava.version>30.1-jre</guava.version> | ||||
|         <lombok.version>1.18.20</lombok.version> | ||||
|         <wiremock.version>2.27.2</wiremock.version> | ||||
|         <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version> | ||||
|         <maven-failsafe-plugin.version>2.22.0</maven-failsafe-plugin.version> | ||||
| @@ -133,6 +132,7 @@ | ||||
|         <maven-source-plugin.version>3.1.0</maven-source-plugin.version> | ||||
|         <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> | ||||
|         <java.version>17</java.version> | ||||
|         <thymeleaf.version>3.0.14.RELEASE</thymeleaf.version> | ||||
|     </properties> | ||||
|  | ||||
|     <modules> | ||||
|   | ||||
| @@ -51,6 +51,16 @@ | ||||
|         <dependency> | ||||
|             <groupId>org.springframework.boot</groupId> | ||||
|             <artifactId>spring-boot-starter-actuator</artifactId> | ||||
|            <exclusions> | ||||
|                 <exclusion> | ||||
|                     <groupId>org.apache.logging.log4j</groupId> | ||||
|                     <artifactId>log4j-api</artifactId> | ||||
|                 </exclusion> | ||||
|                 <exclusion> | ||||
|                     <groupId>org.apache.logging.log4j</groupId> | ||||
|                     <artifactId>log4j-to-slf4j</artifactId> | ||||
|                 </exclusion> | ||||
|             </exclusions> | ||||
|         </dependency> | ||||
|         <dependency> | ||||
|             <groupId>org.flywaydb</groupId> | ||||
|   | ||||
| @@ -9,7 +9,7 @@ import org.springframework.validation.BeanPropertyBindingResult; | ||||
| import org.springframework.validation.Errors; | ||||
|  | ||||
| import static org.assertj.core.api.Assertions.assertThat; | ||||
| import static org.mockito.Matchers.anyString; | ||||
| import static org.mockito.ArgumentMatchers.anyString; | ||||
| import static org.mockito.Mockito.when; | ||||
|  | ||||
| @ExtendWith(MockitoExtension.class) | ||||
|   | ||||
| @@ -23,8 +23,10 @@ | ||||
| package org.owasp.webgoat.client_side_filtering; | ||||
|  | ||||
| import com.beust.jcommander.internal.Lists; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Getter; | ||||
|  | ||||
| import org.springframework.http.MediaType; | ||||
| import org.springframework.web.bind.annotation.GetMapping; | ||||
| import org.springframework.web.bind.annotation.PathVariable; | ||||
|   | ||||
| @@ -66,6 +66,16 @@ | ||||
|         <dependency> | ||||
|             <groupId>org.springframework.boot</groupId> | ||||
|             <artifactId>spring-boot-starter-actuator</artifactId> | ||||
|             <exclusions> | ||||
|                 <exclusion> | ||||
|                     <groupId>org.apache.logging.log4j</groupId> | ||||
|                     <artifactId>log4j-api</artifactId> | ||||
|                 </exclusion> | ||||
|                 <exclusion> | ||||
|                     <groupId>org.apache.logging.log4j</groupId> | ||||
|                     <artifactId>log4j-to-slf4j</artifactId> | ||||
|                 </exclusion> | ||||
|             </exclusions> | ||||
|         </dependency> | ||||
|         <dependency> | ||||
|             <groupId>org.springframework.retry</groupId> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user