Skip to content

Commit

Permalink
Merge pull request #24 from LorenzoBettini/spring-2.4.5
Browse files Browse the repository at this point in the history
Spring 2.4.5
  • Loading branch information
LorenzoBettini committed Apr 29, 2021
2 parents c12eac9 + 1ad37ee commit 50e95c4
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion pom.xml
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.6.RELEASE</version>
<version>2.4.5</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
<groupId>com.examples</groupId>
Expand Down Expand Up @@ -139,6 +139,23 @@
<version>3.5.0</version>
<scope>test</scope>
</dependency>
<!-- https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-testing
JUnit 4 has been removed from spring-boot-starter-test
in new versions of Spring Boot, so we have to add the Jupiter vintage explicitly.
hamcrest-core is excluded in favor of org.hamcrest:hamcrest
that is part of spring-boot-starter-test
-->
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -206,6 +223,11 @@
<excludes>
<exclude>**/*Application.*</exclude>
<exclude>**/model/*</exclude>
<!-- The following is just to avoid the instrumentation error
(when running EmployeeWebControllerTest) due to the
HtmlUnit class StyleAttributes$Definition
(method too large) -->
<exclude>**/htmlunit/*</exclude>
</excludes>
</configuration>
<executions>
Expand Down

0 comments on commit 50e95c4

Please sign in to comment.