1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
Description: Enable commons_codec and commons_io in Debian builds
Author: Olek Wojnar <olek@debian.org>
Forwarded: not-needed
Last-Update: 2025-01-27
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -115,8 +115,9 @@
],
)
-java_import(
+distrib_java_import(
name = "apache_commons_codec",
+ enable_distributions = ["debian"],
jars = ["apache_commons_codec/commons-codec-1.10.jar"],
)
@@ -126,8 +127,9 @@
jars = ["apache_commons_collections/commons-collections-3.2.2.jar"],
)
-java_import(
+distrib_java_import(
name = "apache_commons_io",
+ enable_distributions = ["debian"],
jars = ["apache_commons_io/commons-io-2.4.jar"],
)
--- a/tools/distributions/debian/debian_java.BUILD
+++ b/tools/distributions/debian/debian_java.BUILD
@@ -91,16 +91,16 @@
],
)
-# libcommons-collections3-java
+# libcommons-codec-java
java_import(
- name = "apache_commons_collections",
- jars = ["commons-collections3.jar"],
+ name = "apache_commons_codec",
+ jars = ["commons-codec.jar"],
)
-# libcommons-lang-java
+# libcommons-collections3-java
java_import(
- name = "apache_commons_lang",
- jars = ["commons-lang.jar"],
+ name = "apache_commons_collections",
+ jars = ["commons-collections3.jar"],
)
# libcommons-compress-java
@@ -109,6 +109,18 @@
jars = ["commons-compress.jar"],
)
+# libcommons-io-java
+java_import(
+ name = "apache_commons_io",
+ jars = ["commons-io.jar"],
+)
+
+# libcommons-lang-java
+java_import(
+ name = "apache_commons_lang",
+ jars = ["commons-lang.jar"],
+)
+
# libcommons-logging-java
java_import(
name = "apache_commons_logging",
|