Skip to content

Commit 2e36e28

Browse files
committed
Try fixing CI failures
1 parent a7383e1 commit 2e36e28

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

pom.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -983,22 +983,23 @@
983983
</property>
984984
</activation>
985985

986+
<!-- There are certain Java 8 bugs[1] that cause Mockito failures[2].
987+
Adding necessary dependencies to workaround them.
988+
[1] https://bugs.openjdk.org/browse/JDK-8152174
989+
[2] https://github.com/mockito/mockito/issues/1449 -->
990+
<dependencies>
991+
<dependency>
992+
<groupId>org.jspecify</groupId>
993+
<artifactId>jspecify</artifactId>
994+
<version>${jspecify.version}</version>
995+
</dependency>
996+
</dependencies>
997+
986998
<build>
987999
<plugins>
9881000
<plugin>
9891001
<groupId>org.apache.maven.plugins</groupId>
9901002
<artifactId>maven-surefire-plugin</artifactId>
991-
<!-- There are certain Java 8 bugs[1] that cause Mockito failures[2].
992-
Adding necessary dependencies to workaround them.
993-
[1] https://bugs.openjdk.org/browse/JDK-8152174
994-
[2] https://github.com/mockito/mockito/issues/1449 -->
995-
<dependencies>
996-
<dependency>
997-
<groupId>org.jspecify</groupId>
998-
<artifactId>jspecify</artifactId>
999-
<version>${jspecify.version}</version>
1000-
</dependency>
1001-
</dependencies>
10021003
<executions>
10031004
<!-- Modifies only the `default-test` run -->
10041005
<execution>

0 commit comments

Comments
 (0)