Skip to content

Commit d322b5e

Browse files
author
Davide Melfi
committed
chore: downgrading junit in aws-lambda-java-tests because technically it's a transitive dependency
1 parent d2ed243 commit d322b5e

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

aws-lambda-java-tests/pom.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@
3333
<maven.compiler.source>1.8</maven.compiler.source>
3434
<maven.compiler.target>1.8</maven.compiler.target>
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36-
<junit.version>5.12.2</junit.version>
36+
<!--
37+
JUnit is a compile-scope transitive dependency for consumers of this module.
38+
Upgrading it requires a version bump of aws-lambda-java-tests to avoid
39+
breaking customers who don't pin their own JUnit version.
40+
-->
41+
<junit.version>5.9.2</junit.version>
3742
<jacoco.maven.plugin.version>0.8.7</jacoco.maven.plugin.version>
38-
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
3943
</properties>
4044

4145
<dependencies>
@@ -250,7 +254,7 @@
250254
<plugin>
251255
<groupId>org.apache.maven.plugins</groupId>
252256
<artifactId>maven-surefire-plugin</artifactId>
253-
<version>${maven-surefire-plugin.version}</version>
257+
<version>2.22.2</version>
254258
<configuration>
255259
<failIfNoTests>true</failIfNoTests>
256260
</configuration>

0 commit comments

Comments
 (0)