Skip to content

Commit ce2ed98

Browse files
committed
[docs] Refine ReactorDebugByteBuddyPlugin setup notes
Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
1 parent e30a629 commit ce2ed98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/modules/ROOT/pages/debugging.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ WARNING: The transformation will only be applied to your project's classes. The
488488
<dependency>
489489
<groupId>io.projectreactor</groupId>
490490
<artifactId>reactor-tools</artifactId>
491-
<1>
491+
<version>VERSION</version> <1>
492492
<classifier>original</classifier> <2>
493493
<scope>runtime</scope>
494494
</dependency>
@@ -510,7 +510,7 @@ WARNING: The transformation will only be applied to your project's classes. The
510510
</plugins>
511511
</build>
512512
----
513-
<1> If you use the xref:gettingStarted.adoc#getting[BOM], you do not need to specify a `<version>`.
513+
<1> The version must be specified explicitly. Although the xref:gettingStarted.adoc#getting[Reactor BOM] manages `reactor-tools`, Maven's `dependencyManagement` only applies to project dependencies — it does not cover dependencies declared inside a plugin's `<dependencies>` block, which is where `reactor-tools:original` is used here.
514514
<2> `classifier` here is important.
515515

516516
.reactor-tools with https://github.com/raphw/byte-buddy/tree/byte-buddy-1.10.9/byte-buddy-gradle-plugin[ByteBuddy's Gradle plugin]
@@ -528,7 +528,7 @@ dependencies {
528528
byteBuddyPlugin(
529529
group: 'io.projectreactor',
530530
name: 'reactor-tools',
531-
<1>
531+
version: 'VERSION', <1>
532532
classifier: 'original', <2>
533533
)
534534
}
@@ -540,7 +540,7 @@ byteBuddy {
540540
}
541541
}
542542
----
543-
<1> If you use the xref:gettingStarted.adoc#getting[BOM], you do not need to specify a `version`.
543+
<1> The version must be specified explicitly. The `byteBuddyPlugin` is a standalone Gradle configuration, so the Reactor BOM (if imported via `platform(...)`) does not manage versions for dependencies declared in it.
544544
<2> `classifier` here is important.
545545

546546

0 commit comments

Comments
 (0)