feat(spring boot): Upgrade spring boot dependency to 2.4.2

- replace spring-boot-test by spring-boot-starter-test to avoid NoClassDefFoundError with AopTestUtils on all unit tests
- remove assertj-core because it's include on spring-boot-starter-test
This commit is contained in:
Andy Costanza 2021-01-29 12:14:47 +01:00
parent b1a7db4590
commit 537a4c1f82

View File

@ -71,8 +71,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<telegrambots.version>5.0.1</telegrambots.version>
<spring-boot.version>2.3.8.RELEASE</spring-boot.version>
<assertj-core.version>3.19.0</assertj-core.version>
<spring-boot.version>2.4.2</spring-boot.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
@ -108,17 +107,10 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-test</artifactId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring-boot.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
<version>${assertj-core.version}</version>
</dependency>
</dependencies>
<build>