From patchwork Sun Jun 19 04:55:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 40145 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0B91C27BBEA; Sun, 19 Jun 2022 05:56:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 72C9E27BBE9 for ; Sun, 19 Jun 2022 05:56:11 +0100 (BST) Received: from localhost ([::1]:52614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2myo-0000GP-LU for patchwork@mira.cbaines.net; Sun, 19 Jun 2022 00:56:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2myg-0000GH-Iw for guix-patches@gnu.org; Sun, 19 Jun 2022 00:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2myg-0008L2-8U for guix-patches@gnu.org; Sun, 19 Jun 2022 00:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2myg-0006Tu-4s for guix-patches@gnu.org; Sun, 19 Jun 2022 00:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 04:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55929 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 55929@debbugs.gnu.org Received: via spool by 55929-submit@debbugs.gnu.org id=B55929.165561453424881 (code B ref 55929); Sun, 19 Jun 2022 04:56:02 +0000 Received: (at 55929) by debbugs.gnu.org; 19 Jun 2022 04:55:34 +0000 Received: from localhost ([127.0.0.1]:50425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2my8-0006T8-Mh for submit@debbugs.gnu.org; Sun, 19 Jun 2022 00:55:34 -0400 Received: from mail-lj1-f181.google.com ([209.85.208.181]:46810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2my4-0006Ss-Hd for 55929@debbugs.gnu.org; Sun, 19 Jun 2022 00:55:27 -0400 Received: by mail-lj1-f181.google.com with SMTP id o23so1479816ljg.13 for <55929@debbugs.gnu.org>; Sat, 18 Jun 2022 21:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=AQgxwZLGVWIJ2NXJQE6NQLQLPTonAdbUxwy+p5+e6p4=; b=nf/dM/aZXXUc7kg7gT5ezlByWzYwL+Xhde/FbxoZXjsGuTGHef0t6IloiWjTbfpIW7 cEQvu8R2Cg6psd+MTxAzfxYWMgifXoYlrycE73/FN0AvmSi9R4KHDuD84Er6V7TWhLya DtP8bHCmpYlqgssWNDy9w3jp+COtvxVJ6FZ2Ybbn4D1THamgtqCv8U8bYfkOnHldB2h5 vZvIP3UPFa7EWEkywASctLWab7IB+6mxCTYJvT/YkY3Ubz3/DjB6YVss3BGowKeqE3KH r5TfSqtFokHa7fTh50KhhT73H+oDNK1QcDjCZ1tF5qMkeVKO5hkD7/bXmaoTEL28fvEt hnGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=AQgxwZLGVWIJ2NXJQE6NQLQLPTonAdbUxwy+p5+e6p4=; b=qR3SMTQ1KoQVquoFa1XKCW9drVuJlyX/Ni6yKWc+fE6ibLJibj8BoGBAZb5GhyqsBR n20RBYW5z4+h8TMNt1jmO1xu7TUYvCEK2VSWz8dqxXwn77vAVpxrkvvu+sshqfJKgjk2 Kn6+VvDvY0Y3ZpXwrFnjQokgKeAKZyqwVQtB5hD16PRvEU6Z26NkYXsDvz5sD9KtnpWC 4HVZfNeFKWJumdbPiFYBh8UFyzggr2foNaFd4wLiKZjOdQ0dAzZDJlaCfrirAfbhIitT +cbSAzg6tvIp2jYOc5hUw02ezXKwpiqQoAgbCW2S9daJifZNFTW+aMy96IBWTK4YnnZL TqXA== X-Gm-Message-State: AJIora/iIDk+93m8HZETuGdEWJ6dyKfxcI4JcsXO6n+8z8weRVXWEDjl QeAnjvTp1XknndXep2F49G0fgJnOZkE= X-Google-Smtp-Source: AGRyM1sQ+zYWoA2fUv+yN+OZWG4X5cZY96YxW9o1QeaOxawFD9hP9hiejSvoWq9b5I0Hb/8IlKDEGw== X-Received: by 2002:a2e:b053:0:b0:255:8752:11a with SMTP id d19-20020a2eb053000000b002558752011amr8777453ljl.162.1655614517894; Sat, 18 Jun 2022 21:55:17 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id r10-20020a19440a000000b00478f1bd611csm1226491lfa.284.2022.06.18.21.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 21:55:17 -0700 (PDT) From: "Artyom V. Poptsov" References: <87h74pyc1s.fsf@gmail.com> <87czfdyb3j.fsf@gmail.com> <20220612230317.547a056f@sybil.lepiller.eu> <874k0pxk20.fsf@gmail.com> <20220613074153.38569225@sybil.lepiller.eu> <875ykyvvc5.fsf@gmail.com> <8C6BA0C7-33B3-4059-9B46-48A4052F3057@lepiller.eu> <87sfo1vris.fsf@gmail.com> <20220618200007.4939d143@sybil.lepiller.eu> Date: Sun, 19 Jun 2022 07:55:12 +0300 In-Reply-To: <20220618200007.4939d143@sybil.lepiller.eu> (Julien Lepiller's message of "Sat, 18 Jun 2022 20:00:13 +0200") Message-ID: <87v8sx45hr.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello Julien, thanks for help. I think I'm beginning to better understand the child/parent POM relationships now. Here's the updated patch. - Artyom From 90515d2a565b0b840cb67303672df928a1c16eb5 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 12 Jun 2022 21:42:33 +0300 Subject: [PATCH] gnu: Add maven-doxia-sink-api * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. (maven-doxia-parent-pom): New private variable. --- gnu/packages/maven.scm | 52 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 817fee1c71..ace8de684e 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019 Björn Höfling ;;; Copyright © 2020 Efraim Flashner +;;; Copyright © 2022 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -3887,3 +3888,54 @@ reports in two different file formats, plain text and xml."))) (description "This plugin provides the capability to build jars. If you would like to sign jars please use the Maven Jarsigner Plugin instead.") (license license:asl2.0))) + +(define-public maven-doxia-sink-api + (package + (name "maven-doxia-sink-api") + (version "2.0.0-M2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitbox.apache.org/repos/asf/maven-doxia.git") + (commit (string-append "doxia-" version)))) + (file-name (git-file-name "doxia" version)) + (sha256 + (base32 + "0jx96lg0hgjsrm8mynhac4hwh2hmgiwjpwpx2k03yr14040zcr48")))) + (build-system ant-build-system) + (native-inputs + (list java-javax-inject)) + (propagated-inputs + (list maven-doxia-parent-pom)) + (arguments + `(#:jar-name "doxia-sink-api.jar" + #:source-dir "doxia-sink-api/src/main/java" + #:tests? #f ; no tests + #:phases (modify-phases %standard-phases + (replace 'install + (install-from-pom "doxia-sink-api/pom.xml"))))) + (home-page "https://maven.apache.org/doxia/index.html") + (synopsis "Generic markup language interface") + (description + "The @code{Sink} interface is a generic markup language +interface provided as a Java API. It contains several methods that +encapsulate common text syntax. A start tag is denoted by @code{xxxx()} +method and a end of tag by @code{xxxx_()} method.") + (license license:asl2.0))) + +(define maven-doxia-parent-pom + (package + (inherit maven-doxia-sink-api) + (name "maven-doxia-parent-pom") + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (install-pom-file "pom.xml"))))) + (propagated-inputs '()) + (synopsis "Content generation framework") + (description "\"Doxia\" is a content generation framework that provides +powerful techniques for generating static and dynamic content, supporting a +variety of markup languages."))) -- 2.25.1