[java] Replace Maven dependency references with artifact() for org.jspecify.jspecify by iampopovich · Pull Request #16635 · SeleniumHQ/selenium

load("//java:defs.bzl", "artifact", "java_export")
load("//java:version.bzl", "SE_VERSION")

java_export(
    name = "http",
    srcs = glob(["**/*.java"]),
    maven_coordinates = "org.seleniumhq.selenium:selenium-http:%s" % SE_VERSION,
    pom_template = "//java/src/org/openqa/selenium:template-pom",
    tags = [
        "release-artifact",
    ],
    uses = [
        "org.openqa.selenium.remote.http.HttpClient$Factory",
    ],
    visibility = [
        "//visibility:public",
    ],
    deps = [
        "//java:auto-service",
        "//java/src/org/openqa/selenium:core",
        "//java/src/org/openqa/selenium/json",


 ... (clipped 2 lines)