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.
Third_party part of
@@ -64,6 +64,9 @@ java_import(
"aether/aether-transport-file-1.0.0.v20140518.jar",
"aether/aether-util-1.0.0.v20140518.jar",
],
+ deps = [
+ ":apache_httpclient",
+ ],
)
java_import(
@@ -131,7 +134,11 @@ java_import(
java_import(
name = "apache_httpclient",
jars = ["apache_httpclient/httpclient-4.5.3.jar"],
- deps = [":apache_commons_logging"],
+ deps = [
+ ":apache_commons_codec",
+ ":apache_commons_logging",
+ ":apache_httpcore",
+ ],
)
java_import(
