load("//private/rules:system_tools.bzl", "rpm_tool")

# This package contains static executables used by the maven_install repository rule.
# To update the prebuilt binaries, `bazel run //scripts:refresh-prebuilts`

exports_files([
    "add_jar_manifest_entry_deploy.jar",  # ALT system XMvn build
    "hasher_deploy.jar",  # built from //private/tools/java/com/github/bazelbuild/rules_jvm_external:hasher-tool_deploy.jar
    "index_jar_deploy.jar",  # built from //private/tools/java/com/github/bazelbuild/rules_jvm_external/jar:IndexJar_deploy.jar
    "lock_file_converter_deploy.jar",  # built from //private/tools/java/com/github/bazelbuild/rules_jvm_external/coursier:LockFileConverter_deploy.jar
    "outdated_deploy.jar",  # built from //private/tools/java/com/github/bazelbuild/rules_jvm_external/maven:outdated_deploy.jar
])

# Uses the system XMvn implementation and its manifest runtime classpath.
rpm_tool(
    name = "maven_resolver",
    mode = "maven",
    visibility = ["//visibility:public"],
)
