diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/MavenJarRule.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/MavenJarRule.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/MavenJarRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/MavenJarRule.java index 0509bcfc03..63c0e95b0d 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/MavenJarRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/MavenJarRule.java @@ -87,10 +87,10 @@ public class MavenJarRule implements RuleDefinition { <p>Note that the maven_jar name is used as a repository name, so it is limited by the rules governing workspace names: it cannot contain dashes nor dots (see -<a href="http://bazel.io/docs/be/functions.html#workspace">the documentation on workspace names</a> -for the exact specification). By convention, maven_jar names should match the artifact name, -replacing illegal characters with underscores and leaving off the version. For example, a rule -with <code>artifact = "org.apache.commons:commons-lang3:3.4"</code> should have +<a href="http://bazel.build/docs/be/functions.html#workspace">the documentation on workspace +names</a> for the exact specification). By convention, maven_jar names should match the artifact +name, replacing illegal characters with underscores and leaving off the version. For example, a +rule with <code>artifact = "org.apache.commons:commons-lang3:3.4"</code> should have <code>name = "org_apache_commons_commons_lang3"</code>.</p> <h4 id="maven_jar_examples">Examples</h4> |