Skip to content

Commit 0c6fe51

Browse files
committed
Generalize Spring Boot description
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.
1 parent 044d493 commit 0c6fe51

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/docs/asciidoc/user-guide/assertj-core-quickstart.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ Check this page to find the relevant https://central.sonatype.com/artifact/org.a
4343

4444
===== Spring Boot
4545

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.
4848

4949
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`.
5151
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].
5252

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.
5454

5555
[source,xml,subs=attributes+]
5656
----
@@ -59,7 +59,7 @@ With Maven, you can override the AssertJ Core version by including the following
5959
</properties>
6060
----
6161

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.
6363

6464
[source,groovy,subs=attributes+]
6565
----

0 commit comments

Comments
 (0)