Add a `maven.artifact` tag example into the bzlmod readme. There was a Google-internal query about how the install and artifact tags interact with each other, and when to use one or the other.
diff --git a/docs/bzlmod.md b/docs/bzlmod.md index 8b24157..6b89a7f 100644 --- a/docs/bzlmod.md +++ b/docs/bzlmod.md
@@ -30,6 +30,16 @@ "org.seleniumhq.selenium:selenium-java:4.4.0", ], ) + +# You can split off individual artifacts to define artifact-specific options (this example sets `neverlink`). +# The `maven.install` and `maven.artifact` tags will be merged automatically. +maven.artifact( + artifact = "javapoet", + group = "com.squareup", + neverlink = True, + version = "1.11.1", +) + use_repo(maven, "maven") ```