Skip to content

Commit

Permalink
testing: exclude hamcrest dependency
Browse files Browse the repository at this point in the history
And pin assertj.
  • Loading branch information
BacLuc committed Jan 9, 2025
1 parent 8d7bee2 commit 322753c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions topics/testing/code/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
</dependency>

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.25.3</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -103,6 +103,14 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
</exclusion>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
Expand Down

0 comments on commit 322753c

Please sign in to comment.