Subject: [bug#75038] [PATCH 05/14] gnu: Add java-jakarta-activation-api.

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

* gnu/packages/java.scm (java-jakarta-activation-api): New variable.
---
 gnu/packages/java.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e7b72eeb0d..3f024116f2 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -14061,6 +14061,33 @@ (define-public java-parsson
     ;; with classpath exception
     (license license:epl2.0)))
 
+(define-public java-jakarta-activation-api
+  (package
+    (name "java-jakarta-activation-api")
+    (version "2.1.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jakartaee/jaf-api")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "13pxpkn25ckp70g6imh4x19hqsy6fk7pr0m7a0bsrmj5xy4ph66d"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "jakarta-activation-api.jar"
+       #:source-dir "api/src/main/java"
+       #:tests? #f  ;; has no tests
+       #:jdk ,openjdk11))
+    (home-page "https://github.com/jakartaee/jaf-api")
+    (synopsis "Collection of Java activation")
+    (description "Jakarta Activation lets you take advantage of standard
+services to: determine the type of arbitrary piece of data; encapsulate access
+to it; discover the operations available on it; and instantiate the
+appropriate bean to perform the operation(s).")
+    (license license:bsd-3)))
+
 (define-public java-jakarta-annotations-api
   (package
     (name "java-jakarta-annotations-api")
-- 
2.41.1