无法使用 Bazel 获取 Maven 依赖项 javadoc
Failed to fetch Maven dependency javadoc with Bazel
WORKSPACE 文件
maven_jar(
name = "jdoc",
artifact = "javadoc:javadoc:1.3",
)
Bazel 构建后的错误消息
no such package '@jdoc//jar': Failed to fetch Maven dependency: Could not find artifact javadoc/javadoc:javadoc:jar:1.3 in jdoc (https://repo1.maven.org/maven2/)
问题:
为什么 artifact
变成 javadoc/javadoc:javadoc:jar:1.3
?预计 javadoc/javadoc:javadoc:1.3
。
javadoc:javadoc:1.3 回购在 https://repo1.maven.org/maven2/.
退出
WORKSPACE 文件
maven_jar(
name = "jdoc",
artifact = "javadoc:javadoc:1.3",
)
Bazel 构建后的错误消息
no such package '@jdoc//jar': Failed to fetch Maven dependency: Could not find artifact javadoc/javadoc:javadoc:jar:1.3 in jdoc (https://repo1.maven.org/maven2/)
问题:
为什么 artifact
变成 javadoc/javadoc:javadoc:jar:1.3
?预计 javadoc/javadoc:javadoc:1.3
。
javadoc:javadoc:1.3 回购在 https://repo1.maven.org/maven2/.