diff mbox series

[bug#56231] gnu: Add 'maven-doxia-test-docs' and some Doxia modules

Message ID 8735cmaqi4.fsf@gmail.com
State New
Headers show
Series [bug#56231] gnu: Add 'maven-doxia-test-docs' and some Doxia modules | expand

Checks

Context Check Description
cbaines/applying patch fail View Laminar job
cbaines/issue success View issue

Commit Message

Artyom V. Poptsov Sept. 20, 2022, 5:45 p.m. UTC
Hello,

I rebased this patch series onto the Guix "master" branch.
- Artyom
diff mbox series

Patch

From e8c3df3afe203796a3b49af6595d48dabda2a75a Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sun, 26 Jun 2022 09:49:39 +0300
Subject: [PATCH 5/5] gnu: Add maven-doxia-module-xhtml5.

* gnu/packages/maven.scm (maven-doxia-module-xhtml5): New variable.
---
 gnu/packages/maven.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 918610eb7f..ec116de5e9 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -4087,3 +4087,27 @@  (define-public maven-doxia-module-xhtml
     (description "A Doxia module for Xhtml source documents.  Xhtml format is
 supported both as source and target formats.")))
 
+(define-public maven-doxia-module-xhtml5
+  (package
+    (inherit maven-doxia-sink-api)
+    (name "maven-doxia-module-xhtml5")
+    (arguments
+     `(#:jar-name "doxia-module-xhtml5.jar"
+       #:source-dir "doxia-modules/doxia-module-xhtml5/src/main/java"
+       #:test-dir "doxia-modules/doxia-module-xhtml5/src/test/java"
+       #:tests? #f ;tests require JUnit5
+       #:phases (modify-phases %standard-phases
+                  (replace 'install
+                    (install-from-pom "doxia-modules/doxia-module-xhtml5/pom.xml")))))
+    (native-inputs (list maven-doxia-test-docs
+                         java-junit
+                         java-guice
+                         java-xmlunit
+                         java-xmlunit-matchers
+                         java-slf4j-simple))
+    (propagated-inputs (list maven-doxia-modules-parent-pom java-slf4j-api
+                             java-javax-inject java-plexus-utils))
+    (synopsis "Doxia module for Xhtml5 source documents")
+    (description "A Doxia module for Xhtml5 source documents.  Xhtml5 format is
+supported both as source and target formats.")))
+
-- 
2.34.1