Documentation: Refactor to match other plugin documentation
Replace hard-coded command for plugin in-tree build.
Change-Id: I96242f416240caa0fa1f516de5b2598b94487ffc
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index 6274c76..a6701a4 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -80,32 +80,32 @@
```
cd gerrit/plugins
rm external_plugin_deps.bzl
- ln -s javamelody/external_plugin_deps.bzl .
+ ln -s @PLUGIN@/external_plugin_deps.bzl .
```
Then issue
```
- bazel build plugins/javamelody:javamelody
+ bazel build plugins/@PLUGIN@:@PLUGIN@
```
Note, that the plugin dependencies with [database interception](database-monitoring.md)
are built separately. To do that, issue this command:
```
- bazel build plugins/javamelody:javamelody-deps_deploy.jar
+ bazel build plugins/@PLUGIN@:@PLUGIN@-deps_deploy.jar
```
The output from the former target is:
```
- bazel-bin/plugins/javamelody/javamelody.jar
+ bazel-bin/plugins/@PLUGIN@/@PLUGIN@.jar
```
The output from the latter targets are:
```
- bazel-bin/plugins/javamelody/javamelody-deps_deploy.jar
+ bazel-bin/plugins/@PLUGIN@/@PLUGIN@-deps_deploy.jar
```
To execute the tests run either one of: