File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,10 @@ updates:
60
60
- dependency-name : " jakarta.inject:jakarta.inject-api"
61
61
- dependency-name : " jakarta.persistence:jakarta.persistence-api"
62
62
- dependency-name : " jakarta.ws.rs:jakarta.ws.rs-api"
63
- # Bean Validation TCK requires a particular version of AssertJ and using others leads to errors:
63
+ # We are managing the version of AssertJ manually:
64
+ # - tck-runner requires a specific version of AssertJ aligned with the Jakarta Validation TCK
65
+ # - all other modules are using a more recent version (latest)
66
+ # we cannot enable the automatic updates as those will constantly push us to change the version in the TCK module
64
67
- dependency-name : " org.assertj:*"
65
68
# We have a fixed major version of OpenJFX to work with the min JDK we require
66
69
- dependency-name : " org.openjfx:*"
Original file line number Diff line number Diff line change 181
181
<version .shrinkwrap.resolvers>3.3.0</version .shrinkwrap.resolvers>
182
182
<version .shrinkwrap.descriptors>2.0.0</version .shrinkwrap.descriptors>
183
183
<version .org.testng>7.10.2</version .org.testng>
184
- <!-- it must be the exact same version than the one used in the Bean Validation TCK -->
185
- <version .org.assertj.assertj-core>3.8.0</version .org.assertj.assertj-core>
184
+ <version .org.assertj.assertj-core>3.26.3</version .org.assertj.assertj-core>
186
185
<version .junit>4.13.2</version .junit>
187
186
<version .org.easymock>5.3.0</version .org.easymock>
188
187
<version .io.rest-assured>5.5.0</version .io.rest-assured>
Original file line number Diff line number Diff line change 21
21
<description >Aggregates dependencies and runs the Jakarta Validation TCK</description >
22
22
23
23
<properties >
24
+ <!--
25
+ We are overriding the AssertJ version here and adding a dependency management for it
26
+ to override the one we are using for the main build.
27
+ The version here must be the exact same version as the one used in the Bean Validation TCK
28
+ -->
29
+ <version .org.assertj.assertj-core>3.8.0</version .org.assertj.assertj-core>
30
+
24
31
<tck .suite.file>${project.build.directory} /dependency/validation-tck-tests-suite.xml</tck .suite.file>
25
32
<validation .provider>org.hibernate.validator.HibernateValidator</validation .provider>
26
33
<remote .debug />
27
34
28
35
<hibernate-validator-parent .path>..</hibernate-validator-parent .path>
29
36
</properties >
30
37
38
+ <dependencyManagement >
39
+ <dependencies >
40
+ <dependency >
41
+ <groupId >org.assertj</groupId >
42
+ <artifactId >assertj-core</artifactId >
43
+ <version >${version.org.assertj.assertj-core} </version >
44
+ </dependency >
45
+ </dependencies >
46
+ </dependencyManagement >
47
+
31
48
<dependencies >
32
49
<dependency >
33
50
<groupId >jakarta.validation</groupId >
You can’t perform that action at this time.
0 commit comments