You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As Spring Boot imports `assertj-bom`, the version property affects all
the artifacts that are part of the BOM, i.e., not only `assertj-core`
but `assertj-guava` too, when used by the end project.
Copy file name to clipboardexpand all lines: src/docs/asciidoc/user-guide/assertj-core-quickstart.adoc
+5-5
Original file line number
Diff line number
Diff line change
@@ -43,14 +43,14 @@ Check this page to find the relevant https://central.sonatype.com/artifact/org.a
43
43
44
44
===== Spring Boot
45
45
46
-
https://spring.io/projects/spring-boot[Spring Boot] provides automatic support for managing the version of AssertJ Core used in your project.
47
-
In addition, the `spring-boot-starter-test` artifact automatically includes testing libraries such as JUnit Jupiter, AssertJ, Mockito, etc.
46
+
https://spring.io/projects/spring-boot[Spring Boot] provides automatic support for managing the version of AssertJ used in your project.
47
+
In addition, the `spring-boot-starter-test` artifact automatically includes testing libraries such as JUnit Jupiter, AssertJ Core, Mockito, etc.
48
48
49
49
If you need to override the version of a dependency used in your Spring Boot application, you have to override the exact name of the https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#appendix.dependency-versions.properties[version property] defined in the BOM used by the Spring Boot plugin.
50
-
For example, the name of the AssertJ Core version property in Spring Boot is `assertj.version`.
50
+
For example, the name of the AssertJ version property in Spring Boot is `assertj.version`.
51
51
The mechanism for changing a dependency version is documented for both https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#using.parent-pom[Maven] and https://docs.spring.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/#managing-dependencies.dependency-management-plugin.customizing[Gradle].
52
52
53
-
With Maven, you can override the AssertJ Core version by including the following in your `pom.xml` file.
53
+
With Maven, you can override the AssertJ version by including the following in your `pom.xml` file.
54
54
55
55
[source,xml,subs=attributes+]
56
56
----
@@ -59,7 +59,7 @@ With Maven, you can override the AssertJ Core version by including the following
59
59
</properties>
60
60
----
61
61
62
-
With Gradle, you can override the AssertJ Core version by including the following in your `build.gradle` file.
62
+
With Gradle, you can override the AssertJ version by including the following in your `build.gradle` file.
0 commit comments