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

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Sun, 26 Jun 2022 06:56:02 UTC

Severity: normal

Tags: patch

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: Re: [PATCH] gnu: Add 'maven-doxia-test-docs' and some Doxia modules
Date: Tue, 20 Sep 2022 20:45:55 +0300
[Message part 1 (text/plain, inline)]
Hello,

I rebased this patch series onto the Guix "master" branch.
[0001-gnu-Add-maven-doxia-test-docs.patch (text/x-diff, attachment)]
[0002-gnu-Add-maven-doxia-module-apt.patch (text/x-diff, attachment)]
[0003-gnu-Add-maven-doxia-module-xdoc.patch (text/x-diff, inline)]
From c2594adfb967797321672edddd69417775d96d33 Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Date: Sun, 26 Jun 2022 09:44:40 +0300
Subject: [PATCH 3/5] gnu: Add maven-doxia-module-xdoc.

* gnu/packages/maven.scm (maven-doxia-module-xdoc): 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 84879003e9..e8105b109b 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -4039,3 +4039,27 @@ (define-public maven-doxia-module-apt
     (description "A Doxia module for Almost Plain Text source documents.  APT
 format is supported both as source and target formats.")))
 
+(define-public maven-doxia-module-xdoc
+  (package
+    (inherit maven-doxia-sink-api)
+    (name "maven-doxia-module-xdoc")
+    (arguments
+     `(#:jar-name "doxia-module-xdoc.jar"
+       #:source-dir "doxia-modules/doxia-module-xdoc/src/main/java"
+       #:test-dir "doxia-modules/doxia-module-xdoc/src/test/java"
+       #:tests? #f ;tests require JUnit5
+       #:phases (modify-phases %standard-phases
+                  (replace 'install
+                    (install-from-pom "doxia-modules/doxia-module-xdoc/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 Xdoc source documents")
+    (description "A Doxia module for Xdoc source documents.  Xdoc format is
+supported both as source and target formats.")))
+
-- 
2.34.1

[0004-gnu-Add-maven-doxia-module-xhtml.patch (text/x-diff, attachment)]
[0005-gnu-Add-maven-doxia-module-xhtml5.patch (text/x-diff, attachment)]
[Message part 7 (text/plain, inline)]
- Artyom

-- 
Artyom "avp" Poptsov <poptsov.artyom <at> gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.