Update manifestInfo docs (#30056)

* Update snippet. Cross-reference to BOMs

* Update akka-docs/src/main/paradox/common/binary-compatibility-rules.md

Co-authored-by: Johan Andrén <johan@markatta.com>

Co-authored-by: Johan Andrén <johan@markatta.com>
This commit is contained in:
Ignasi Marimon-Clos 2021-02-22 17:18:10 +01:00 committed by GitHub
parent 89e04267db
commit ac530913ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,8 +82,8 @@ so there is no reason to remain on Akka 2.3.x, since upgrading is completely com
## Mixed versioning is not allowed
Modules that are released together under the Akka project are intended to be upgraded together.
For example, it is not legal to mix Akka Actor `2.4.2` with Akka Cluster `2.4.5` even though
"Akka `2.4.2`" and "Akka `2.4.5`" *are* binary compatible.
For example, it is not legal to mix Akka Actor `2.6.2` with Akka Cluster `2.6.5` even though
"Akka `2.6.2`" and "Akka `2.6.5`" *are* binary compatible.
This is because modules may assume internals changes across module boundaries, for example some feature
in Clustering may have required an internals change in Actor, however it is not public API,
@ -95,7 +95,8 @@ dependencies, you might get a warning at run time such as:
```
You are using version 2.6.6 of Akka, but it appears you (perhaps indirectly) also depend on older versions
of related artifacts. You can solve this by adding an explicit dependency on version 2.6.6 of the
[akka-persistence-query] artifacts to your project.
[akka-persistence-query] artifacts to your project. Here's a complete collection of detected
artifacts: (2.5.3, [akka-persistence-query]), (2.6.6, [akka-actor, akka-cluster]).
See also: https://doc.akka.io/docs/akka/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed
```
@ -110,6 +111,12 @@ included modules, so when you upgrade you can simply change it in this one place
@@@
The warning includes a full list of Akka runtime dependencies in the classpath, and the version detected.
You can use that information to include an explicit list of Akka artifacts you depend on into your build. If you use
Maven or Gradle, you can include the @ref:[Akka Maven BOM](../typed/guide/modules.md#actor-library) (bill
of materials) to help you keep all the versions of your Akka dependencies in sync.
## The meaning of "may change"
**May change** is used in module descriptions and docs in order to signify that the API that they contain