Skip to content

Commit

Permalink
spring-boot-2-test: add a fixed version of junit4.
Browse files Browse the repository at this point in the history
This prevents Maven from trying to dynamically fetch a transitive dependency each time.
  • Loading branch information
ePaul committed Aug 23, 2023
1 parent b3c48f9 commit 3a5f6e7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions nakadi-producer-starter-spring-boot-2-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@
<artifactId>system-rules</artifactId>
<version>1.19.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Including a fixed version of junit-dep directly, to avoid system-rules
fetching the latest version dynamically. -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
Expand Down

0 comments on commit 3a5f6e7

Please sign in to comment.