Skip to content

Commit 7c80dec

Browse files
committed
#BAEL-8669: fix the build error with Java 21
1 parent 6d173c5 commit 7c80dec

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

testing-modules/junit-5/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,17 @@
7474
<groupId>junit</groupId>
7575
<artifactId>junit</artifactId>
7676
</exclusion>
77+
<exclusion>
78+
<groupId>org.javassist</groupId>
79+
<artifactId>javassist</artifactId>
80+
</exclusion>
7781
</exclusions>
7882
</dependency>
83+
<dependency>
84+
<groupId>org.javassist</groupId>
85+
<artifactId>javassist</artifactId>
86+
<version>${javassist.version}</version>
87+
</dependency>
7988
<dependency>
8089
<groupId>org.mockito</groupId>
8190
<artifactId>mockito-junit-jupiter</artifactId>
@@ -138,6 +147,7 @@
138147
<powermock.version>2.0.9</powermock.version>
139148
<spring.version>5.0.1.RELEASE</spring.version>
140149
<mockito.version>3.3.0</mockito.version> <!--Cannot upgrade to the latest version as powermock doesn't support that-->
150+
<javassist.version>3.30.2-GA</javassist.version> <!--Cannot upgrade to the latest version as powermock doesn't support that-->
141151
</properties>
142152

143153
</project>

0 commit comments

Comments
 (0)