Subject: [bug#75038] [PATCH 13/14] gnu: Add java-axiom-impl.

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

* gnu/packages/java-xml.scm (java-axiom-impl): New variable.
---
 gnu/packages/java-xml.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/java-xml.scm b/gnu/packages/java-xml.scm
index 9fa62ff45e..ebae29da80 100644
--- a/gnu/packages/java-xml.scm
+++ b/gnu/packages/java-xml.scm
@@ -853,6 +853,45 @@ (define-public java-axiom-core-streams
 Apache Axiom.")
     (license license:asl2.0)))
 
+(define-public java-axiom-impl
+  (package
+    (name "java-axiom-impl")
+    (version "1.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://repo1.maven.org/maven2/"
+                    "org/apache/ws/commons/axiom/axiom-impl/" version
+                    "/axiom-impl-" version "-sources.jar"))
+              (sha256
+               (base32
+                "1vcdvwylpkv2bkninghv68gh6mwnhzcbd77cy9j0as8ik3sf2b5n"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:tests? #f  ;; tests require too many yet unpackaged packages
+       #:jar-name "axiom-impl.jar"))
+    (native-inputs
+     (list java-axiom-core-streams
+           java-axiom-om-mixins
+           java-axiom-weaver-annotations
+           java-commons-logging-minimal
+           java-woodstox-core))
+    (propagated-inputs
+     (list java-axiom-api))
+    (home-page "https://ws.apache.org/axiom/")
+    (synopsis "Default implementation of the Axiom API")
+    (description "Apache Axiom provides an XML Infoset compliant object model
+implementation which supports on-demand building of the object tree.  It
+supports a novel \"pull-through\" model which allows one to turn off the tree
+building and directly access the underlying pull event stream using the StAX
+API.  It also has built in support for XML Optimized Packaging (XOP) and MTOM,
+the combination of which allows XML to carry binary data efficiently and in a
+transparent manner.  The combination of these is an easy to use API with a
+very high performant architecture.
+
+This package provides the API for Apache Axiom.")
+    (license license:asl2.0)))
+
 (define-public java-axiom-om-mixins
   (package
     (name "java-axiom-om-mixins")
-- 
2.41.1