From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AJfEK22srmJoAQAAbAwnHQ (envelope-from ) for ; Sun, 19 Jun 2022 06:56:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WF/DKm2srmJAWgEAG6o9tA (envelope-from ) for ; Sun, 19 Jun 2022 06:56:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 09C8C29350 for ; Sun, 19 Jun 2022 06:56:13 +0200 (CEST) Received: from localhost ([::1]:52614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2myp-0000GP-Da for larch@yhetil.org; Sun, 19 Jun 2022 00:56:11 -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 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655614573; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=AQgxwZLGVWIJ2NXJQE6NQLQLPTonAdbUxwy+p5+e6p4=; b=X2Syf2YE+2gV5vfCR89FyH6cL4IUIAshzrPvwm4vTom3I3hvjzM1R06gn/2OR8zLEdg65t 1avKXE5Dip4Hjr2v0TtfQyBvAlE1shpayBlllJ+h+xhcw3Nz6vdh2YnGH8CO87rMnouzGM 3Bqtz8MA7gQ1QPEPmN1KbmsCO4ZH7A5ik/wubtFaYAULeJPEIDnz7SKW/2/k+9zdbZN3iW q75DPOCmnKSM9qvCROv+rn5zH2hU7Mqy5a33HTxwBjC9XRvUNeHxqChlyAkROCH2l9U2RI 0NScedzLUBfxEa7jvudfJBXVWtULjkc+BDDhtg0Ab3jER0+LLh9nKpyaQKJExw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655614573; a=rsa-sha256; cv=none; b=B2iqCP8DSbg4CbieJeVYcwRV+8vx+/ouS+qBaskqeAidfb3aMec1gzVV2uU74Qrg9kCHue I3wgj0lZJAp9G5R2zJSH7txyRd9IiQVzMem3jOP79sgm0RkW5cM8dtL6OR+ZWuWgSRlwrF I938CqWPTLx/Xg95Q4vbDkZrb9ylFY5185pLjSDD+Zq6CLzfxz2oNwu0TkekdkC51vM9+1 lxelTguPX0OU9JRNUnhnrqkvVZJZDhpQhzCN+vGXaEPbqlQ3qR8/2TwtsofG3zRAzXlr5z nOtlgVqqTyIi05x7XBNqu/xmZQquBwVfrAJUcq56eJa6wqPsmhBHzRAavtpCMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="nf/dM/aZ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="nf/dM/aZ"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 09C8C29350 X-Spam-Score: 4.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: esigA8VlKmUb --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Julien, thanks for help. I think I'm beginning to better understand the child/parent POM relationships now. Here's the updated patch. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-maven-doxia-sink-api.patch Content-Transfer-Encoding: quoted-printable From=2090515d2a565b0b840cb67303672df928a1c16eb5 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. =2D-- 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 =2D-- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -3,6 +3,7 @@ ;;; Copyright =C2=A9 2019 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2019 Bj=C3=B6rn H=C3=B6fling ;;; Copyright =C2=A9 2020 Efraim Flashner +;;; Copyright =C2=A9 2022 Artyom V. Poptsov ;;; ;;; This file is part of GNU Guix. ;;; @@ -3887,3 +3888,54 @@ reports in two different file formats, plain text an= d xml."))) (description "This plugin provides the capability to build jars. If y= ou 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."))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D Artyom =2D-=20 Artyom "avp" Poptsov 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 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKurDAACgkQ6cWi2QiY oC/jKAf/cwFtKgldwLXIz+Q4z9VZN/jJ1xi3kalviRLKahURgALhhpC+OLs4np5x tZfkzu1aSA2+Ac0DskS51MNwDoLZY6AcVm/x+F5m4lEgM1xdjF+zFUOxK7hngFaV 9sK2oY+3pTDv9WJCVIAeD3rBPmB6Jur8diA1wRY78XgXNq/AYN7nBG/KdLELg7DV 3/bapIKZNzH72ok1PDKBeEX1/hRTLF1vkuoI3liLzvkeFONKTj17ufv8VFYn0w7s /x4/vYCHiblH4Wk7eUhbMKugepcoUwndsTNzNwNpt4d53TgJMkslIQ4DUkAHnQO3 5Zhgr1LOk8txvrnx/F+Ll13bzDOUkA== =kkBk -----END PGP SIGNATURE----- --==-=-=--