Remove unused aws-sdk-auth-lite and apache_commons_logging

This is extracted from https://github.com/bazelbuild/bazel/pull/14417 and contains the parts that affect files outside of //third_party.

Removes an underlying optional dependency on log4j 1.x - not used by Bazel, but the less log4j, the better.

PiperOrigin-RevId: 416217980
diff --git a/tools/distributions/debian/debian_java.BUILD b/tools/distributions/debian/debian_java.BUILD
index fb22627..bb7ad53 100644
--- a/tools/distributions/debian/debian_java.BUILD
+++ b/tools/distributions/debian/debian_java.BUILD
@@ -109,12 +109,6 @@
     jars = ["java/commons-compress.jar"],
 )
 
-# libcommons-logging-java
-java_import(
-    name = "apache_commons_logging",
-    jars = ["java/commons-logging.jar"],
-)
-
 # libcommons-pool2-java
 java_import(
     name = "apache_commons_pool2",
@@ -354,7 +348,6 @@
     runtime_deps = [
         ":api_client",
         ":guava",
-        "@//third_party/aws-sdk-auth-lite",
     ],
 )