Fix dependencies on Apache libraries
The bazel-repository code does *not* depend on these libraries itself.
Instead, the deps are transitive deps from third-party libs and thus should be moved over there.
Closes
@@ -854,19 +854,6 @@ java_library(
],
exclude = ["bazel/repository/MavenConnector.java"],
),
- runtime_deps = [
- "//third_party:aether",
- "//third_party:apache_commons_codec",
- "//third_party:apache_commons_logging",
- "//third_party:apache_httpclient",
- "//third_party:apache_httpcore",
- "//third_party:jsch",
- "//third_party:maven",
- "//third_party:maven_model",
- "//third_party:plexus_interpolation",
- "//third_party:plexus_utils",
- "//third_party:slf4j",
- ],
deps = [
"//src/java_tools/singlejar/java/com/google/devtools/build/zip",
"//src/main/java/com/google/devtools/build/lib:build-base",
@@ -894,10 +881,14 @@ java_library(
"//third_party:auto_value",
"//third_party:guava",
"//third_party:jgit",
+ "//third_party:jsch",
"//third_party:jsr305",
"//third_party:maven",
"//third_party:maven_model",
"//third_party:plexus_component_annotations",
+ "//third_party:plexus_interpolation",
+ "//third_party:plexus_utils",
+ "//third_party:slf4j",
"//third_party:xz",
],
)
