Skip to content

Commit 01e6215

Browse files
committed
Use maven.artifact format
1 parent 019963f commit 01e6215

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

WORKSPACE

+7-1
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ maven_install(
3030
load("@maven//:defs.bzl", "pinned_maven_install")
3131
pinned_maven_install()
3232

33+
load("@rules_jvm_external//:specs.bzl", "maven")
34+
3335
maven_install(
3436
name = "special",
3537
artifacts = [
3638
"junit:junit:4.12",
3739
"com.google.guava:guava:28.0-jre",
3840
"org.apache.commons:commons-compress:1.8.1",
39-
"com.fasterxml.jackson.core:jackson-databind:2.3.3",
41+
maven.artifact(
42+
group = "com.fasterxml.jackson.core",
43+
artifact = "jackson-databind",
44+
version = "2.3.3",
45+
),
4046
],
4147
fetch_sources = True,
4248
repositories = [

0 commit comments

Comments
 (0)