Subject: [PATCH 03/14] gnu: Add java-commons-io-2.18.

From: Hartmut Goebel <[email-masked]>
Date: Sun, 22 Dec 2024 23:51:35 +0100

* gnu/packages/java.scm (java-commons-io--latest): New variable.
---
 gnu/packages/java.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 118f055970..ed895d8dbf 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5956,6 +5956,31 @@ (define-public java-commons-io
 file filters and endian classes.")
     (license license:asl2.0)))
 
+(define-public java-commons-io--latest
+  (package
+    (inherit java-commons-io)
+    (version "2.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://apache/commons/io/source/"
+                           "commons-io-" version "-src.tar.gz"))
+       (sha256
+        (base32
+         "0cr9ryhdbk4gz6bbcdqdd28d80dik8csv2fx7h6mx7yfxgbjsrf4"))))
+    (outputs '("out"))
+    (arguments
+     `(#:tests? #f  ;; tests require too many not yet packaged packages
+       #:source-dir "src/main/java"
+       #:jar-name "commons-io.jar"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install (install-from-pom "pom.xml")))))
+    (native-inputs
+     (list))
+    (propagated-inputs
+     (list apache-commons-parent-pom-78))))
+
 (define-public java-commons-exec-1.1
   (package
     (name "java-commons-exec")
-- 
2.41.1