From unknown Wed Jun 25 05:36:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55929 <55929@debbugs.gnu.org> To: bug#55929 <55929@debbugs.gnu.org> Subject: Status: [PATCH] gnu: maven: Add maven-doxia-sink-api Reply-To: bug#55929 <55929@debbugs.gnu.org> Date: Wed, 25 Jun 2025 12:36:53 +0000 retitle 55929 [PATCH] gnu: maven: Add maven-doxia-sink-api reassign 55929 guix-patches submitter 55929 "Artyom V. Poptsov" severity 55929 normal tag 55929 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 14:25:22 2022 Received: (at submit) by debbugs.gnu.org; 12 Jun 2022 18:25:23 +0000 Received: from localhost ([127.0.0.1]:56459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0SGz-0001aK-AF for submit@debbugs.gnu.org; Sun, 12 Jun 2022 14:25:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:33206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0SGu-0001a8-VR for submit@debbugs.gnu.org; Sun, 12 Jun 2022 14:25:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0SGu-0003ZH-PR for guix-patches@gnu.org; Sun, 12 Jun 2022 14:25:12 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:33662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0SGs-0007FE-IJ for guix-patches@gnu.org; Sun, 12 Jun 2022 14:25:12 -0400 Received: by mail-lj1-x22f.google.com with SMTP id y15so4143232ljc.0 for ; Sun, 12 Jun 2022 11:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=8YemscT3JlvmLmZC2KcAbFKVrsiUOsmB5CVbK/s7c1k=; b=La76xBZZ12a84Nc5s9IVjRcQNXDk4QlxJGPeaZWBmYczUjsCzQ9F4eui+eWOj5FwDF 8zomlsdgcZx7j9PWD3xyhe6gcra31FGE/HG9aBHZ+NGOTatonHCyUpFfzJWGChcioU0h c71ZfmC6C/6OcSLfJF7IK/xLMoy2pKbPtawk7ty7sO4TMXA9dqCdemYohBpZXGL/pve4 Txwfg/HuKXx6IwQBWuEVUylvZxYGAZpY4dsLUXyYHC0kFJ0yzjAQifP4R/MFPj4V7hlo tetwM4VK1WZ/2IjSM4UKCqRAnaags4iM10+Vdz7EQ1eFwqDyHQhgD8D2lu8Er5AHAS8X fE2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=8YemscT3JlvmLmZC2KcAbFKVrsiUOsmB5CVbK/s7c1k=; b=NZ46xtj4U9F0gIhDtGmNassfeqEBHYFvJ62O3/ZcgrpLYCiTS5wJVO93HN8dZx0oKB MI8V4b1Z3CvfOloeiHEkUMI/X5xvoGpDbs9EqKDAUhSUAaIwGDUj5/zvr38nzmMFecH2 Ka0xCHiVcEh9TkPpq6UWdJEIARAuiGWHcyoJiru1tP1P2LmpU1YGA6CfMFjWpyuFVHjW eJhRI6USzpOHFX/oga10xib9FxoT+/FYjJFvJiizp5wEQdLxGC1D/hKgImwYfqbL1hHA QP1bFynMySQMyST0NpeP67ZsaEhYv96ngkmy9bj80K1KxlN8QuaONOUF99Oe1Z9Dg34h X+Pw== X-Gm-Message-State: AOAM531Ca6a67bKWL/XWzPrLeEfAE2Py71YQn1j4Nr7trEhI1a1hPiOq Gr/1KbDUdLWMAgcS6nCLhsiBaQQOHdw= X-Google-Smtp-Source: ABdhPJwGnYK2atPrSPxqWz1ZHNIbA9OnEUfXr0y/qC84KBCSspz8BuzJeOPDjgqUcPZyIGdAynxUfw== X-Received: by 2002:a2e:a7c9:0:b0:255:a379:fa04 with SMTP id x9-20020a2ea7c9000000b00255a379fa04mr16273759ljp.519.1655058307979; Sun, 12 Jun 2022 11:25:07 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id b4-20020ac247e4000000b00479342519e5sm686508lfp.210.2022.06.12.11.25.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 11:25:07 -0700 (PDT) From: "Artyom V. Poptsov" To: guix-patches@gnu.org Subject: [PATCH] gnu: maven: Add maven-doxia-sink-api Date: Sun, 12 Jun 2022 21:25:03 +0300 Message-ID: <87h74pyc1s.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" Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds 'Doxia Sink API'[1] under the name 'maven-doxia-sink-api'. The module contains a Java interface that is used by Doxia Core module. This patch is the first in the future patch set based on my effort to add Doxia modules. The Doxia itself required for other useful Maven plugins. - Artyom References: 1. https://maven.apache.org/doxia/doxia/doxia-sink-api/ --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-maven-Add-maven-doxia-sink-api.patch Content-Transfer-Encoding: quoted-printable From=2059d2a34e7443406741d6b3b800e808467ac2254c Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 12 Jun 2022 21:11:55 +0300 Subject: [PATCH] gnu: maven: Add maven-doxia-sink-api * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. =2D-- gnu/packages/maven.scm | 135 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 817fee1c71..c0609618c9 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. ;;; @@ -24,8 +25,10 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix svn-download) #:use-module (guix utils) #:use-module (guix build-system ant) + #:use-module (guix build-system maven) #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages compression) @@ -3887,3 +3890,135 @@ reports in two different file formats, plain text a= nd 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-plugin-plugin + (package + (name "maven-plugin-plugin") + (version "3.5") + (source (origin + (method url-fetch) + (uri (string-append "mirror://apache/maven/" + "plugin-tools/maven-plugin-tools-" versi= on + "-source-release.zip")) + (sha256 (base32 "1ryqhs62j5pas93brhf5dsnvp99hxbvssf681yj5rk3= r9h24hqm2")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "maven-plugin-annotations.jar" + #:source-dir "maven-plugin-plugin/src/main/java" + #:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'install + (install-from-pom "maven-plugin-plugin/pom.xml"))))) + (propagated-inputs + (list maven-artifact maven-plugin-tools-parent-pom)) + (native-inputs + (list unzip)) + (home-page "https://maven.apache.org/plugin-tools/maven-plugin-plugin/= ") + (synopsis "create a Maven plugin descriptor for any Mojo's") + (description "The Plugin Plugin is used to create a Maven plugin +descriptor for any Mojo's found in the source tree, to include in the JAR.= It +is also used to generate Xdoc files for the Mojos as well as the artifact +metadata and a generic help goal. ") + (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)) + (arguments + (list #:jar-name "doxia-core.jar" + #:source-dir "doxia-sink-api/src/main/java" + #:tests? #f)) ; no tests + (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 encapsu= late +common text syntax. A start tag is denoted by @code{xxxx()} method and a e= nd +of tag by @code{xxxx_()} method.") + (license license:asl2.0))) + +(define-public maven-doxia-core + (package + (name "maven-doxia-core") + (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) + (inputs + (list maven-doxia-sink-api)) + (native-inputs + (list java-javax-inject + java-plexus-utils + java-commons-lang3 + java-slf4j-api)) + (arguments + (list #:jar-name "doxia-core.jar" + #:source-dir "doxia-core/src/main/java" + #:test-dir "doxia-core/src/test")) + (home-page "https://maven.apache.org/doxia/index.html") + (synopsis "") + (description "") + (license license:asl2.0))) + +(define-public maven-bundle-plugin + (let ((revision 1865227)) + (package + (name "maven-bundle-plugin") + (version "4.2.1") + (source (origin + (method svn-fetch) + (uri (svn-reference + (url (string-append + "http://svn.apache.org/repos/asf/felix/release= s/maven-bundle-plugin-" + version)) + (revision revision))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "15b3s7jaf2bwx1fzif0s7zbvrfqg1chdxvbrhvxkgyrnfn68ds3c"))= )) + (build-system maven-build-system) + (native-inputs + (list maven-plugin-annotations)) + (propagated-inputs + (list maven-archiver + maven-compiler-plugin + maven-plugin-plugin + maven-3.0-artifact + maven-3.0-core + maven-3.0-plugin-api + maven-file-management + maven-shared-utils + java-plexus-archiver + java-plexus-utils)) + ;; (propagated-inputs + ;; (list maven-core + ;; maven-shared-utils + ;; maven-plugin-api)) + (inputs + (list maven-plugin-annotations)) + (home-page "https://felix.apache.org/documentation/_attachments/comp= onents/bundle-plugin/") + (synopsis "Maven plugin that supports creating an OSGi bundle") + (description "Provides a maven plugin that supports creating an OSGi= (Open +Service Gateway Initiative) bundle from the contents of the compilation +classpath along with its resources and dependencies.") + (license license:asl2.0)))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKmL38ACgkQ6cWi2QiY oC9JIQgAl17DCBDuB382mxV/GK3gB8gEMe46//10f+Lgtbdt8NgIsxTetvv49nPN XtPGw5l5JKiVvU91HqPsVLDrhm/QMYymn6y5hyBTGFw1nzEdl2uvGRTmGzqodAyD HTxr7bA0vcSWAuGs6OmegF6LJJByUXNqe0UFbvGUFk1hTyuOS5I8ebuguHGYeIBM NhqkCTTevr7bFAY4LHVB9xHjGh/0BYVyD7YGkkCcKQcxJj8kuch2cOpdwFhiRuBZ elGSdd3Qm4BiYRm90whBhTzQMFj6dNvRZ5sL3mAtstCAysU6WVbQLyL3CiylRKjM +xBMMsHNpeQoGZMuH4wqGYSspfRiYA== =Oe8G -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 14:46:00 2022 Received: (at submit) by debbugs.gnu.org; 12 Jun 2022 18:46:00 +0000 Received: from localhost ([127.0.0.1]:56497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Saw-00027l-Pk for submit@debbugs.gnu.org; Sun, 12 Jun 2022 14:46:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:44442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Sar-00027W-S5 for submit@debbugs.gnu.org; Sun, 12 Jun 2022 14:45:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0Sar-0004dy-KQ for guix-patches@gnu.org; Sun, 12 Jun 2022 14:45:49 -0400 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:36423) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0Sam-0001bY-1w for guix-patches@gnu.org; Sun, 12 Jun 2022 14:45:49 -0400 Received: by mail-lj1-x22a.google.com with SMTP id h23so4131175ljl.3 for ; Sun, 12 Jun 2022 11:45:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=8992azpmlGs75N0IOmN700LCYq7/VisvqE8oIRSWh6A=; b=pixgacUbyGI1FJy4nKG4FKMm3JxtIQ948IlNFYiIbK/nZt/0dbtmbZ+9Hnxw7X3NPi HQxXQDjfNXGjJAwAzC37wbZsuFdCxnkPVhGUF/xHcAYRzuuCJbjFj6pVUROediwTULnz HYeb8fxUadHfqwMDVBszOSYPnhRNZMExR+ntU2qyaHsn/q1w8olaMD4yTZUbivGTHUb2 yhZ5DkltRgDcvpCiSw8Vp0/QEktePygSn5Awul+utHN3KRprTWr2Dc/gj2KPsGRK/6n2 QNmzQFSovosNpfo/BIAMVB15UrfbKupaYnXUqMBsQMueAy85GFIPAuYLbv4pWIiTJD5z PABg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8992azpmlGs75N0IOmN700LCYq7/VisvqE8oIRSWh6A=; b=0HBQ3NCMvPfazSw7w/uqw1YqQpkFmgVc/0I/6RjzfW1Z8PQeb8Loax7eVxXev96Anh Af6VGXdL5rc+EykyeN1KyLqk8hQIhvgCuhUg9NHm43OKPw3nCDIPAb9QochDtX1L2JO/ GeQrGza++CcXIo1s0INjIReWwNjZ6VDoCaXJID/rDZ1OKS3IPf7fb0dJbALreppu002H 97J9e1flEM7ryJT7VhHZchtp32Vruh2oAc36ES0B9Rn+YA7okKbgL2lIwD0O8YkK5283 5sJINuPeFVD+Mqn1qKpwMQGVULDCfIDtVrBF1fGo/lXKYikJsvUNRbCqicqp7OIdLYy/ jHtQ== X-Gm-Message-State: AOAM530RxwwEwA1ZfY/KjwsdTTCU2oqVt6DwrySrzQlcyviu/2QE+Sd9 5fy8tUyrbFE0bQVr3eZyhufp1SLx9dY= X-Google-Smtp-Source: ABdhPJwUVQCy45+WCUDf+Q7feqLD4Te8czaK7CgnS05Tva+Alnk8KPKuYczoJ2jLdEQ4FRj9ajmwkA== X-Received: by 2002:a2e:8349:0:b0:254:224a:3c8 with SMTP id l9-20020a2e8349000000b00254224a03c8mr47705353ljh.406.1655059541991; Sun, 12 Jun 2022 11:45:41 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id l19-20020a194953000000b0047b0f2d7650sm690278lfj.271.2022.06.12.11.45.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 11:45:41 -0700 (PDT) From: "Artyom V. Poptsov" To: guix-patches@gnu.org Subject: Re: [PATCH] gnu: maven: Add maven-doxia-sink-api References: <87h74pyc1s.fsf@gmail.com> Date: Sun, 12 Jun 2022 21:45:36 +0300 In-Reply-To: <87h74pyc1s.fsf@gmail.com> (Artyom V. Poptsov's message of "Sun, 12 Jun 2022 21:25:03 +0300") Message-ID: <87czfdyb3j.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" Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain My goodness, I just found out that I mistakenly committed (and submitted) some extra code with the patch. Here's the fixed version of it. - Artyom --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-maven-Add-maven-doxia-sink-api.patch Content-Transfer-Encoding: quoted-printable From=20b4020bc283f18d7b7394976c4288d04130f1e651 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 12 Jun 2022 21:42:33 +0300 Subject: [PATCH] gnu: maven: Add maven-doxia-sink-api * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. =2D-- gnu/packages/maven.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 817fee1c71..93c1538bae 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,31 @@ 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)) + (arguments + (list #:jar-name "doxia-core.jar" + #:source-dir "doxia-sink-api/src/main/java" + #:tests? #f)) ; no tests + (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 encapsu= late +common text syntax. A start tag is denoted by @code{xxxx()} method and a e= nd +of tag by @code{xxxx_()} method.") + (license license:asl2.0))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKmNFAACgkQ6cWi2QiY oC/qsAf+IdsaR5vW6FI1Dk/LfQ19zbA5oCM9s7h2ptbS57dbD8C7fORtwMtRLPJB 5SnCAlm9IajhDuNdb7tpHsXCJrjdo1MbL2GgPmoxbFPp6QYzHZJIMsY3WrER9wLy C+q005ebwwzcKBH9reyCzYvbLFxckfwlJenqERFC+zVt79G/zSkib+MUfckMpLjV CUiNPnE3tiFhdNli8g8pN3YQQmAMClByURjQBAoLuWdGL8wzLBtwO7zTlGyGX7NY RrsnQ/RakzfGlwRiTdPstVxx/1TvHtr4m+3Oer8q6qaMA7GagK0Omc0DcBpo3/2K vsCXxj6bp5SO4vXTZ5gCm/KE3QPfrQ== =6LLU -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 12 17:03:31 2022 Received: (at 55929) by debbugs.gnu.org; 12 Jun 2022 21:03:31 +0000 Received: from localhost ([127.0.0.1]:56583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Uk6-0005cP-PC for submit@debbugs.gnu.org; Sun, 12 Jun 2022 17:03:31 -0400 Received: from lepiller.eu ([89.234.186.109]:40096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0Uk3-0005cF-H9 for 55929@debbugs.gnu.org; Sun, 12 Jun 2022 17:03:28 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id c6809160; Sun, 12 Jun 2022 21:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=xDEIAyyTm1+2 HuGAe98Vd6o1k/teaSa6XnRnUeACY3g=; b=QZZuFk/SUfHzC6oWAH9EQAprM+cI SlyRGfTU/RZz3znBNf0WJbG28TlYV/eyfrVsyQSFbMt7YqzeKhhTxgFSC/xt+tlF uZYNT/MnpJSWkoKyzvJuf3+frGZMnDVqXz92VUvtGGUqT1d3Rix7vpv8xEP+QUfO GHVvs6rslNSli6zhuFZt5Xc/c3nnRr49MhgEErmX5aLyAIb77+Gyfgp8D4VnJjnM dSmQmh19a9qqxJp0F/eT8qTRCp9GheNQpHyh5PnfaRyHykWuTLYllPdfgd/TZe/M 9QlTuel7Y6S8cXeBZYAuBrARMTbfIi7ohIL4Qsoih9m7Zx8fOI9g/V02/w== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id d8cf5c78 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 12 Jun 2022 21:03:24 +0000 (UTC) Date: Sun, 12 Jun 2022 23:03:22 +0200 From: Julien Lepiller To: "Artyom V. Poptsov" Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Message-ID: <20220612230317.547a056f@sybil.lepiller.eu> In-Reply-To: <87czfdyb3j.fsf@gmail.com> References: <87h74pyc1s.fsf@gmail.com> <87czfdyb3j.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Great to see someone trying to package more maven-related stuff! I think I've seen it in the dependency graph to the maven-plugin-plugin, which I'd like to package at some point to make our life easier. Le Sun, 12 Jun 2022 21:45:36 +0300, "Artyom V. Poptsov" a =C3=A9crit : > From b4020bc283f18d7b7394976c4288d04130f1e651 Mon Sep 17 00:00:00 2001 > From: "Artyom V. Poptsov" > Date: Sun, 12 Jun 2022 21:42:33 +0300 > Subject: [PATCH] gnu: maven: Add maven-doxia-sink-api Here the subject should omit "maven", so simply: gnu: Add maven-doxia-sink-api. >=20 > * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. > --- > gnu/packages/maven.scm | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) >=20 > diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm > index 817fee1c71..93c1538bae 100644 > --- 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,31 @@ 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)) > + (arguments > + (list #:jar-name "doxia-core.jar" Is this intentional? Shouldn't it be doxia-sink-api.jar? > + #:source-dir "doxia-sink-api/src/main/java" > + #:tests? #f)) ; no tests Also I'm wondering, since this will be used by maven eventually, shouldn't we install it to lib/m2 with its pom file? To do so, we would change the install phase to something like this: (replace 'install (install-from-pom "doxia-sink-api/pom.xml")) This might require a parent-pom (probably the top-level pom.xml and maybe its own parent pom), so you'll have to provide a patch for it as well. You can have a look at (gnu packages maven-parent) for examples. > + (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.") The description doesn't follow all our conventions, in particular, double space between sentences :) > + (license license:asl2.0))) Thanks! From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 00:30:03 2022 Received: (at 55929) by debbugs.gnu.org; 13 Jun 2022 04:30:03 +0000 Received: from localhost ([127.0.0.1]:56873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0biA-0003x4-RC for submit@debbugs.gnu.org; Mon, 13 Jun 2022 00:30:03 -0400 Received: from mail-lf1-f48.google.com ([209.85.167.48]:35608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0bi6-0003wp-Mi for 55929@debbugs.gnu.org; Mon, 13 Jun 2022 00:29:57 -0400 Received: by mail-lf1-f48.google.com with SMTP id a29so6992937lfk.2 for <55929@debbugs.gnu.org>; Sun, 12 Jun 2022 21:29:54 -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=xI+M/1OJkYsZEzbXqQLYPF17Xy3rPaG0IPmmjKOvglk=; b=Y28C7PUBawXckgjjdFPxsNVz2ZTBmJ5tiGV1sPNZWYYNFskksryduLUV1sei7Ub6k9 IqHQldaAUfh3CrrMeN+OFgLlhXWBzAir/davsYZN7baCQMyuAkmY+urggYvpHcVqYNJQ 97CaTnTdjSkP3MeiQob1LXyxIr1YbyHXNK6QxXUdVv8dbijkytp8nCOZw3Bejq6gtktZ gWzFSfKzgqFihfdaaxNyOpSTdz6XgDspY5h9cqIkXIKJOwln2h4h23ZuOox/Hf97us5D JN4qqXnDwCq2D6w7YXjrmx2yYy0bbNlhJ/moP4688uVBEojWgtmGzd8krm+6YmWPwFRU 6aBw== 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=xI+M/1OJkYsZEzbXqQLYPF17Xy3rPaG0IPmmjKOvglk=; b=gaO+d+GJwlWlSu/okGF1VUjhG51eLIQPLF5y04/7+bVTBH8K21uVXfR/jpgKz5Mtii peiwOLJrmeQbGP/MDo4iCkIA1o2EvFWKEUN9n2M3MtRi8pKwIjB300Pt1ozyOfM4IxqY QH/wP3OZ4zqqwurJeRy108O2Duar96ZhxJclcByfPIiPuKG7prjgZc2pw+ZuVnrYw1k7 kJyhmiwCGsprDQ0IzAwYoPs3cHOBouU7jcCYVSd+rGsRvxBzUUJ065fN864P4/h4tAmL IFBMJKF8WzZ0tVj84VIQYwcilI160Xqmf/7WzCSaHNEepLLMx3WiEDUkF/CuJadprgYp 80Ww== X-Gm-Message-State: AOAM533uE7da/NRfDJWvT3807mV1ue6UrewpRAEJ5ABpcNEsDbqIkvia LIcFE3O+5Yb2sAVODVMIvniylXeq324= X-Google-Smtp-Source: ABdhPJy9jDOd3ZCayQawHW46PAf/9Dy+DT7H7ncaTb7sPifRmxcXGMjUdGRPAu+dJa+Mf56PE3fGfQ== X-Received: by 2002:a05:6512:3b8d:b0:478:f9f3:962b with SMTP id g13-20020a0565123b8d00b00478f9f3962bmr35680878lfv.169.1655094588203; Sun, 12 Jun 2022 21:29:48 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id g1-20020a056512118100b0047ac01fc644sm831786lfr.44.2022.06.12.21.29.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 21:29:47 -0700 (PDT) From: "Artyom V. Poptsov" To: Julien Lepiller Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api References: <87h74pyc1s.fsf@gmail.com> <87czfdyb3j.fsf@gmail.com> <20220612230317.547a056f@sybil.lepiller.eu> Date: Mon, 13 Jun 2022 07:29:43 +0300 In-Reply-To: <20220612230317.547a056f@sybil.lepiller.eu> (Julien Lepiller's message of "Sun, 12 Jun 2022 23:03:22 +0200") Message-ID: <874k0pxk20.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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Julien, first of all, thanks for reviewing my patches! I fixed my patch, at least the part I understood -- see below. > Great to see someone trying to package more maven-related stuff! I > think I've seen it in the dependency graph to the maven-plugin-plugin, > which I'd like to package at some point to make our life easier. Indeed, I started my work on packaging Doxia because I wanted to package 'maven-plugin-plugin' which in turn is required for 'maven-release-plugin'[1]. And 'maven-release-plugin' is required for 'java-json-simple'[2] ... So the dependency order looks like this: 0. 'ugs' (Universal G-Code sender) [3] 1. 'java-jts' 2. 'java-json-simple' 3. 'maven-release-plugin' 4. 'maven-plugin-plugin' <-- I'm here. ;-) Also, while we on it, I have the following questions: 0. How did you check the dependency graph for 'maven-plugin-plugin' without packaging it? 1. Is it possible with Guix to generate the reverse dependency graph to see that packages depend on the specified package? > Here the subject should omit "maven", so simply: Done. > Is this intentional? Shouldn't it be doxia-sink-api.jar? That was a mistake indeed. Fixed it. > Also I'm wondering, since this will be used by maven eventually, > shouldn't we install it to lib/m2 with its pom file? To do so, we would > change the install phase to something like this: > (replace 'install (install-from-pom "doxia-sink-api/pom.xml")) Done. > This might require a parent-pom (probably the top-level pom.xml and > maybe its own parent pom), so you'll have to provide a patch for it > as well. You can have a look at (gnu packages maven-parent) for > examples. This part I don't understand. Could you elaborate? > The description doesn't follow all our conventions, in particular, > double space between sentences :) Fixed. - Artyom References: 1. https://maven.apache.org/maven-release/maven-release-plugin/ 2. https://github.com/fangyidong/json-simple 3. https://github.com/winder/Universal-G-Code-Sender --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-maven-Add-maven-doxia-sink-api.patch Content-Transfer-Encoding: quoted-printable From=20b4020bc283f18d7b7394976c4288d04130f1e651 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 12 Jun 2022 21:42:33 +0300 Subject: [PATCH] gnu: maven: Add maven-doxia-sink-api * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. =2D-- gnu/packages/maven.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 817fee1c71..93c1538bae 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,31 @@ 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)) + (arguments + (list #:jar-name "doxia-core.jar" + #:source-dir "doxia-sink-api/src/main/java" + #:tests? #f)) ; no tests + (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 encapsu= late +common text syntax. A start tag is denoted by @code{xxxx()} method and a e= nd +of tag by @code{xxxx_()} method.") + (license license:asl2.0))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain -- 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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKmvTcACgkQ6cWi2QiY oC9eBQf9FmmooNMRen4u68RyeELfUtPsXAV3YSUF6e6EvnewgOpPp+r6iIIo6T5N Dhc8vX+9wNPT+mrU40wWnMnSEndZoHXwHVSN3moVnStqzHloLtFDIZuoXbnzmEgY jCqEDHhs6Z5qea0Zi93xiClqVsKGnHN30XLWckT+FISqHj1OkhTAfcfTnUvb1fQi Hb2BuULOBwnvGoTvZzMJn3nwk0q4kr/bHjogqJhl5pKgqOkWd6ICk5cXw/HjQTjd 2JEa6hscNHBX9J+IN/ys3+MQkB4FithO5JCwUlxQJktPy30KW+dIdbdcwYW+YH7i cI43YkTt8Js3Ew1WJV6qMknDglKUDw== =zGAr -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 00:38:48 2022 Received: (at 55929) by debbugs.gnu.org; 13 Jun 2022 04:38:48 +0000 Received: from localhost ([127.0.0.1]:56882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0bqc-0004CJ-D2 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 00:38:48 -0400 Received: from mail-lf1-f43.google.com ([209.85.167.43]:33727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0bqW-0004C2-S6 for 55929@debbugs.gnu.org; Mon, 13 Jun 2022 00:38:40 -0400 Received: by mail-lf1-f43.google.com with SMTP id c2so7060073lfk.0 for <55929@debbugs.gnu.org>; Sun, 12 Jun 2022 21:38:36 -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=ImukkrbQu8vSQPCSa+GJzIZavF/+syPUvPnnwexZeMg=; b=KlNsu/dvVOIXWwRuUyhSZgoWgNjENWB1BWcdzklnMSxDglwHn/OiuWEG2RDAq1hmZp AC9FSpmvEpJSpx0EJZxtiGikMViGgMgQv57LEQNKJNNGJ5sUo1Y1mGqf1U1YC66YHuFW d4dwXz0WIeolUMQbpTUf9UPxfKaIh0IcW2P6tQGhyA9s9mKy5fJGenTanAHsWuThtXJT iBuWxcxbILe36XpUEfXDkzbJ8Hcpd494V8csFeyDZvhrNlReiS9o37e0v4A9hLji2XLf Q6cQRYN+RAzZfEvd1SGq8pq8pdgi5ZJJ+XnkDbNchBhrgKIVFm/UhP5Jee3lEiwqbI// 48Xw== 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=ImukkrbQu8vSQPCSa+GJzIZavF/+syPUvPnnwexZeMg=; b=LrZWOZQW8Prdqp3TtsbTUjD7gveOHfzu8CVg0aZmE+hQ/9Dh9SwTrkXxv6xN0JdMlI C5HhOyVmE7nDkRs0s5CnLJNbFoXxKk2Ly1jh/BTx8RyY7N6Cpdfb+ozczpR6xuBPaGLr +LOz5qy1nIU+I9DBkgpz5EGNgfJ0yiwDxYJBK/IoHlvtfFjjOfIL21WzLBSUyVelAWn0 GYM5FzAN17FA8dJsmf/eWk4cHfujO/3+BkMWDh9zBc8xnIshappmvzmH+yCFsobxp+nE F4SVC/uUxCjQ1O6tTvZBEyZcz038xR+B6+jK1fZ6uPF2gN3pNMy7TYyhKGzUye5QgR0V QWAg== X-Gm-Message-State: AOAM531YWh52h5b7meqOuWa+i23IM6uq/3ci7dY0vNvQDBBJYBxNH/xw fTP1bCuP4T14P37VfXyXIztmp6hacIU= X-Google-Smtp-Source: ABdhPJxCwVz6v3QoCiwbYT7yYgt1jXKVBAnwd0G0AJSW86C84dmcnYlo7em4GuIcp6t8umj7ITbOaw== X-Received: by 2002:a05:6512:3085:b0:479:3986:1d23 with SMTP id z5-20020a056512308500b0047939861d23mr24793001lfd.373.1655095110574; Sun, 12 Jun 2022 21:38:30 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id a4-20020a2eb164000000b002554f35a4cdsm874733ljm.126.2022.06.12.21.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 21:38:30 -0700 (PDT) From: "Artyom V. Poptsov" To: Julien Lepiller Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api References: <87h74pyc1s.fsf@gmail.com> <87czfdyb3j.fsf@gmail.com> <20220612230317.547a056f@sybil.lepiller.eu> <874k0pxk20.fsf@gmail.com> Date: Mon, 13 Jun 2022 07:38:29 +0300 In-Reply-To: <874k0pxk20.fsf@gmail.com> (Artyom V. Poptsov's message of "Mon, 13 Jun 2022 07:29:43 +0300") Message-ID: <87zgihw52y.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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Sorry, attached the old version of the patch by a mistake. Here's the updated version. - Artyom --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-maven-Add-maven-doxia-sink-api.patch Content-Transfer-Encoding: quoted-printable From=20b4020bc283f18d7b7394976c4288d04130f1e651 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 12 Jun 2022 21:42:33 +0300 Subject: [PATCH] gnu: maven: Add maven-doxia-sink-api * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. =2D-- gnu/packages/maven.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 817fee1c71..93c1538bae 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,31 @@ 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)) + (arguments + (list #:jar-name "doxia-core.jar" + #:source-dir "doxia-sink-api/src/main/java" + #:tests? #f)) ; no tests + (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 encapsu= late +common text syntax. A start tag is denoted by @code{xxxx()} method and a e= nd +of tag by @code{xxxx_()} method.") + (license license:asl2.0))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKmv0UACgkQ6cWi2QiY oC8DrwgAlXA0G5UP+8SwwUNIDQZ+1W8QNivkyiY8PXA+Nty1V/Fn6O3m2ut7l+9E ZHzj1h52y4ReA7Zkd+DprMClki5XDibIJMixCiWrr+kzBaD0UKmKqPGtY+1etvdQ +WjvGE7igevghuJGRA5Q9essweClQSp2kIPG1v+uXE+NdPgf3v3jLvz+UNsp2JsZ K1yOKtesvTrzZckTCn80KkmfLtNYWqX3ZN8UmqkMPqDgDCM69n6gWjwHT+deXC7a BR3ZCzv2V8FK9dNrA0/TzwE8Me7xxX5zV0JyUFKtb7hqbjiEb40LF2A7/PXmwqua 3CRpo42NS/vbZkIwfHgkNrpiSvzGvA== =giV8 -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 01:42:10 2022 Received: (at 55929) by debbugs.gnu.org; 13 Jun 2022 05:42:10 +0000 Received: from localhost ([127.0.0.1]:56913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0cq2-0005zV-B8 for submit@debbugs.gnu.org; Mon, 13 Jun 2022 01:42:10 -0400 Received: from lepiller.eu ([89.234.186.109]:40132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o0cq0-0005zK-6E for 55929@debbugs.gnu.org; Mon, 13 Jun 2022 01:42:09 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2900e5ab; Mon, 13 Jun 2022 05:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=VHbvv3wOabeY Uf6byW9tT1ZuBvetk7YZYRhT7VB/xqQ=; b=XrTKxTkZQ09epmQKHE7aXdrKqfx5 6Pz7N9l5AYskerEDiarczZsGx/sgQPh0vXT51Z9YPWf75fPKZ57mBAj9o7c+X5ue XyqODO06Kt7obJ4XcT/e6sL/3l1QcSV1y7IxSSEi8mf/KCuVL/rcCxzMegiCaGc5 /ZNi2hAHHmospGY4h1zIJC4V9Df7cz4jeep/zH/BwC6B1p5zglsi71hiigCywCaW LMfVtfwF54/Gf/7YKAsOWhXyW+f3yM1eZuBw5p8odjtkxf4MNI95scpJ8AZ2FqSH N2uftf/SeHb5PkMe1IjDZUvPQLZKBmAZCAlDZ+JMXM3WbMQiQZo+xzei+Q== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f0dac7a0 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 13 Jun 2022 05:42:02 +0000 (UTC) Date: Mon, 13 Jun 2022 07:41:58 +0200 From: Julien Lepiller To: "Artyom V. Poptsov" Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Message-ID: <20220613074153.38569225@sybil.lepiller.eu> In-Reply-To: <874k0pxk20.fsf@gmail.com> References: <87h74pyc1s.fsf@gmail.com> <87czfdyb3j.fsf@gmail.com> <20220612230317.547a056f@sybil.lepiller.eu> <874k0pxk20.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Le Mon, 13 Jun 2022 07:29:43 +0300, "Artyom V. Poptsov" a =C3=A9crit : > Hello Julien, >=20 > first of all, thanks for reviewing my patches! >=20 > I fixed my patch, at least the part I understood -- see below. >=20 > > Great to see someone trying to package more maven-related stuff! I > > think I've seen it in the dependency graph to the > > maven-plugin-plugin, which I'd like to package at some point to > > make our life easier. =20 >=20 > Indeed, I started my work on packaging Doxia because I wanted to > package 'maven-plugin-plugin' which in turn is required for > 'maven-release-plugin'[1]. And 'maven-release-plugin' is required for > 'java-json-simple'[2] ... >=20 > So the dependency order looks like this: > 0. 'ugs' (Universal G-Code sender) [3] > 1. 'java-jts' > 2. 'java-json-simple' > 3. 'maven-release-plugin' > 4. 'maven-plugin-plugin' <-- I'm here. ;-) >=20 > Also, while we on it, I have the following questions: > 0. How did you check the dependency graph for 'maven-plugin-plugin' > without packaging it? > 1. Is it possible with Guix to generate the reverse dependency graph > to see that packages depend on the specified package? 0. I tried to package it, but somehow it was more difficult than I expected and I had other projects. Apache projects have "dependencies" link on their web page, like this one: https://maven.apache.org/plugin-tools/maven-plugin-plugin/dependencies.html where they list all dependencies. 1. guix graph -t reverse-package (or guix graph -t reverse-bag), see guix graph --list-types for more options. >=20 > > This might require a parent-pom (probably the top-level pom.xml and > > maybe its own parent pom), so you'll have to provide a patch for it > > as well. You can have a look at (gnu packages maven-parent) for > > examples. =20 >=20 > This part I don't understand. Could you elaborate? The installed pom contains the following: doxia org.apache.maven.doxia 2.0.0-M2 ../pom.xml If the referenced pom file is not installed, it won't be found by Maven later when we use it to run the maven-plugin-plugin. See for instance how the parent pom is installed in java-slf4j-parent, and propagated from java-slf4j-api (and recursively from java-slf4j-simple). This top-level pom also has the following, so it should propagate it: org.apache.maven maven-parent 34 We already have it: maven-parent-pom-34. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 11:35:16 2022 Received: (at 55929) by debbugs.gnu.org; 18 Jun 2022 15:35:16 +0000 Received: from localhost ([127.0.0.1]:49877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2aTe-0003s9-KF for submit@debbugs.gnu.org; Sat, 18 Jun 2022 11:35:16 -0400 Received: from mail-lf1-f50.google.com ([209.85.167.50]:43559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2aTZ-0003rV-4s for 55929@debbugs.gnu.org; Sat, 18 Jun 2022 11:35:08 -0400 Received: by mail-lf1-f50.google.com with SMTP id a13so1181051lfr.10 for <55929@debbugs.gnu.org>; Sat, 18 Jun 2022 08:35:05 -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=If+eDh8E9MDe+lclYFe8wOHZCUgJL5sa3vt54lc/zvU=; b=Y5+rTurx1ybCwvhrfBRNlo2jUbyHaYr7O2F9V1H2YPaHo5oDIWRTY3d0C30CRS79ef OLcaxtFpYXgsrHptFngosrmKQtX9YI12/MRqHvrKaaDjKFfiPFQI4JNcApUd/HLbBC49 A8LAxvJJZFu/NfMTsYvd3hhse8YFGWfkKNV7V3kJTHboVMHSBaJFVkiZ8K/zP/UWe1Q0 H181NbXOuqZDBUowG38bPP3+XcfoOr+Ogo2AK54iUNdGR11xeFQ/okQC29Af70fTelaj ch0TGS882NKezuktuJBp3bXVhv/qRRwwi3DdKYgyfLH32GrS0ELaRR2kxgYG4/4k9zST rJrQ== 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=If+eDh8E9MDe+lclYFe8wOHZCUgJL5sa3vt54lc/zvU=; b=l2hifL2bOW93q9KdZyxE0ob+T0yjo8z524xLlDvWc1IiR/DVjLGk1H+qsxr7/BIgAz y9fH6VGYvWYYsKZJ77KJ85sg4eU7IHL2wS/2FdSgTGzLPln2F9GqkTX/yyM8c/ffjlZj OqgR1GAsBzF7xg8Ah/31eSSFSBSw4HfBZM3oeXyeZM9KgIy3Fp1uvWM6k0g7BKQHhKnI 5A7uyWzqwqPni7ADBe7CW9P8UE41B2UpuYR+a2e+X5AOBInmo3AyK8SbjTKlSjeH7P7S lcI1fB10mJ8VXKNLGBCB53w1ZGuvR996B2ee/ld0eUTYE+c+59OAndOo84M3uH6tHaKt F5Gw== X-Gm-Message-State: AJIora/R06hCPbeMHN36bCKm6eh69GHcOXVGA7hNcJYnqq9eBFjwMf8I M4LwdYjgZnjpoWsipE5Z3ptA184fUhM= X-Google-Smtp-Source: AGRyM1uxWn1n7+/7iQ5FY17zOXiN3H7ix+lwKXEVSXMT5CwZ+usf5buYrg32vIXpnygdWoo1HXgGSw== X-Received: by 2002:a05:6512:92c:b0:479:7a74:8427 with SMTP id f12-20020a056512092c00b004797a748427mr8365227lft.126.1655566498731; Sat, 18 Jun 2022 08:34:58 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id e13-20020a05651236cd00b004790c425b35sm1038799lfs.291.2022.06.18.08.34.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 08:34:58 -0700 (PDT) From: "Artyom V. Poptsov" To: Julien Lepiller Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api References: <87h74pyc1s.fsf@gmail.com> <87czfdyb3j.fsf@gmail.com> <20220612230317.547a056f@sybil.lepiller.eu> <874k0pxk20.fsf@gmail.com> <20220613074153.38569225@sybil.lepiller.eu> Date: Sat, 18 Jun 2022 18:34:50 +0300 In-Reply-To: <20220613074153.38569225@sybil.lepiller.eu> (Julien Lepiller's message of "Mon, 13 Jun 2022 07:41:58 +0200") Message-ID: <875ykyvvc5.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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello. > If the referenced pom file is not installed, it won't be found by Maven > later when we use it to run the maven-plugin-plugin. See for instance > how the parent pom is installed in java-slf4j-parent, and propagated > from java-slf4j-api (and recursively from java-slf4j-simple). > This top-level pom also has the following, so it should propagate it: > > org.apache.maven > maven-parent > 34 > > > We already have it: maven-parent-pom-34. Done. Please see the patch, I'm hoping it should be OK by now. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-maven-Add-maven-doxia-sink-api.patch Content-Transfer-Encoding: quoted-printable From=20b4020bc283f18d7b7394976c4288d04130f1e651 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 12 Jun 2022 21:42:33 +0300 Subject: [PATCH] gnu: maven: Add maven-doxia-sink-api * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. =2D-- gnu/packages/maven.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 817fee1c71..93c1538bae 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,31 @@ 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)) + (arguments + (list #:jar-name "doxia-core.jar" + #:source-dir "doxia-sink-api/src/main/java" + #:tests? #f)) ; no tests + (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 encapsu= late +common text syntax. A start tag is denoted by @code{xxxx()} method and a e= nd +of tag by @code{xxxx_()} method.") + (license license:asl2.0))) =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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKt8JoACgkQ6cWi2QiY oC+9RQgAkLi+liSg57D3MmB9zpBPfyDxujAbJ7cPSQb0J3KzIghVvAemefCiq4/+ WtRfJYL/Z+qrmyTtWrD4GOg6G5bKc/W7AnK7VgHoUXtkwz/vKj9gzOQ0I5Pmu1A1 x/hGAYcylZpZ1hTy/dUxqwzU2gg94x8FBENDwjWT2T55GK0rze5NqN15rgXyOOqW M7Nadgp2IKeHQaQURuZmHsxon81Q2QIu8FkDpzeWcfyhEhS9Hrq8xHe3pGihoot0 297fzSkrcI2sbuCFbEkq3Be8o2HfbAQm0JV2sUNuYLZLxKOTzlTYKDVj2OdEme88 100sqaadnGueq6R6DXHatcuiVV4Clg== =fCLK -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 12:52:30 2022 Received: (at 55929) by debbugs.gnu.org; 18 Jun 2022 16:52:31 +0000 Received: from localhost ([127.0.0.1]:49954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2bgT-0005sE-LM for submit@debbugs.gnu.org; Sat, 18 Jun 2022 12:52:30 -0400 Received: from lepiller.eu ([89.234.186.109]:40838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2bgM-0005rw-Eu for 55929@debbugs.gnu.org; Sat, 18 Jun 2022 12:52:27 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id a99bf708; Sat, 18 Jun 2022 16:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=xsQPB32hM35M fnU1d3FuOcolT9SQt/wNIgi98AQsjY4=; b=gPsyQkpW7hFuvY/xP/d1vkXX6IN7 83mUXZmjHDujR1JGtzi+/qLctA/Tu9V5xsazXdihES45Nb3BCHYJagb00EpxWadw 7h5fu4Xn1ALcYp0O35f/qd/iuG/GF+p0dLAn5tBMVw+xm1WAcVeqmHuIfOz9Up9P C9uRuv/Jmop346OCJTQzOU6oqRUi9/HL2vQ/fq9z0eGA1rAR2U96kYRSGSx0RWe5 odJ0H55dk8u0WzFhedYfJ69bBh/ERRNzRGNMVLqnOxk0pBWTdF/IARpvbwyxhs7a fTnw/1Hsn48t8FraqSbTpaqnCe9hQuNIfYr4hjSBhY3mu1NCFW0oBMxjIg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id f35c61d4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Jun 2022 16:52:18 +0000 (UTC) Date: Sat, 18 Jun 2022 18:52:16 +0200 From: Julien Lepiller To: "Artyom V. Poptsov" Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api User-Agent: K-9 Mail for Android In-Reply-To: <875ykyvvc5.fsf@gmail.com> 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> Message-ID: <8C6BA0C7-33B3-4059-9B46-48A4052F3057@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On June 18, 2022 5:34:50 PM GMT+02:00, "Artyom V=2E Poptsov" wrote: >Hello=2E > >> If the referenced pom file is not installed, it won't be found by Maven >> later when we use it to run the maven-plugin-plugin=2E See for instance >> how the parent pom is installed in java-slf4j-parent, and propagated >> from java-slf4j-api (and recursively from java-slf4j-simple)=2E > >> This top-level pom also has the following, so it should propagate it: > >> >> org=2Eapache=2Emaven >> maven-parent >> 34 >> >> > >> We already have it: maven-parent-pom-34=2E > >Done=2E Please see the patch, I'm hoping it should be OK by now=2E > Hi, I think you sent the same patch as previously? From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 12:57:34 2022 Received: (at 55929) by debbugs.gnu.org; 18 Jun 2022 16:57:34 +0000 Received: from localhost ([127.0.0.1]:49963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2blI-00060O-NE for submit@debbugs.gnu.org; Sat, 18 Jun 2022 12:57:34 -0400 Received: from mail-lj1-f176.google.com ([209.85.208.176]:38738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2blG-00060A-HV for 55929@debbugs.gnu.org; Sat, 18 Jun 2022 12:57:27 -0400 Received: by mail-lj1-f176.google.com with SMTP id w2so4388647lji.5 for <55929@debbugs.gnu.org>; Sat, 18 Jun 2022 09:57:26 -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=WPxp5p1bZ4k4PcpSQRHud/nTxbPJSNxPb3wH0ijSR8M=; b=Q/1mtZe5+Gtl7SRGTSA3Ib/uG/R+tAdAlQ/svCTB78EDfKqS3mqtCvU4yOSV82npDV MCP/vX8A8DpSCaN/qJ+ZYHaFgipChZawMgPZG2Olm6SoFJvZgq0haPBN2Wl3a194RnVR dQzk+/jsWlMDJLUO6l3Rtm7ZS47alQnyHZWDrxCB92vR4ChrxQ5x2ttlUSwWRDnzYHyW cybcfK8eTjWv2lJNst/k4ntgw8mi4J8XIZaJJm5DWk96Rb82oNosYfdzNjfogt0XhF27 yKt94u56Uh+dyX/jLInV714yPXyPkzq371LlMcdk2G7tvSmWR0K1nPDnuOZKIwyJ34nn G8YA== 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=WPxp5p1bZ4k4PcpSQRHud/nTxbPJSNxPb3wH0ijSR8M=; b=p9EAC9UnIU8Fvs1TIWf9mrxmmrSC1CqSxhzH/yIYk+tRdWQ9sPhd+Xh+Yt7up+nGGz SkR1Ytxb+VTRw3QXcuEbXBT38cG3Lq9gaJbmqq6Fuv4r/vXJGEEVNWSlhhywBkkWQUxx VJFbaCcKMPBFZ69v8TrMUtI5b4CoTIXVlY0M1cfBDbnwJuDUYp1iXNGnzaEGwFtjc/KB 9x5C3M3Me1XwygU5bdfLYL0uGSTNqbRkuYKKClus9k8vK2s8iFjFX0tDF+KY/grolVjP 3JZ299mw3GP8+QcuAiZNnsgVxDmf7z08wYRWSCAdWpxXfs4/zw+fJZQifS+Ubwi870UM u1QA== X-Gm-Message-State: AJIora/tcd330i+zfDzpc7O0VBXXqKGXrOtTScZTtgVjIsXPlqITSB5Y Jw3xydsVSfVsGht+OnK2cG6cu1h8LNk= X-Google-Smtp-Source: AGRyM1vefjPctc2mNAWd+4+xGf+INEaY8QWA404xBRYLK2bDmFZC5On/2UMffcrQXQ8WVT/O496s9Q== X-Received: by 2002:a2e:b8c5:0:b0:25a:6706:a445 with SMTP id s5-20020a2eb8c5000000b0025a6706a445mr567675ljp.470.1655571440145; Sat, 18 Jun 2022 09:57:20 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id v12-20020ac258ec000000b0047255d21141sm1062167lfo.112.2022.06.18.09.57.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 09:57:19 -0700 (PDT) From: "Artyom V. Poptsov" To: Julien Lepiller Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api 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> Date: Sat, 18 Jun 2022 19:57:15 +0300 In-Reply-To: <8C6BA0C7-33B3-4059-9B46-48A4052F3057@lepiller.eu> (Julien Lepiller's message of "Sat, 18 Jun 2022 18:52:16 +0200") Message-ID: <87sfo1vris.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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Oh sorry, it happens to me every now and then. Here's the right one. --=-=-= 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=2084fca825656c44cdca93c1eb4647c9b380fc9ab3 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. =2D-- gnu/packages/maven.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 817fee1c71..c8338ca14b 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,37 @@ 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-parent-pom-34)) + (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))) =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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKuA+sACgkQ6cWi2QiY oC9PHgf/T0e9dVZB7ze/dEt+dLGerkHzfOOyx3Y0VjighhC+6nfz0EGpbKkO+5qI lrTesBaa+EGJLHeGdgw5KAwlnkdfqRuc4LG65+rtfz4Y34HKClVI71/BplCC4Sz+ 9kS9CtwV7Ieao0wHOuzDb0/Q0hQ3qydWUd/p0pvqGCoHmPppZb0NHCMBK8+FO2wb X63vjAZRYbICEX7chICxobU1khEbqBIg4T8kCS1Ruu8BSlu8gq00ZygYVhadQVY5 4UOt2orfjF8eiHMeZq+sPKeyCZXUZkQmDF7FwTk1ayzSK9+0PbrfXtzqAeuBWT0Q NpmeXAfaYTyEj6hASWq4tl7gN40pZg== =dC1f -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 14:00:18 2022 Received: (at 55929) by debbugs.gnu.org; 18 Jun 2022 18:00:18 +0000 Received: from localhost ([127.0.0.1]:50000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ck5-0007Xx-W3 for submit@debbugs.gnu.org; Sat, 18 Jun 2022 14:00:18 -0400 Received: from lepiller.eu ([89.234.186.109]:40864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2ck4-0007Xq-O4 for 55929@debbugs.gnu.org; Sat, 18 Jun 2022 14:00:17 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 36b7d292; Sat, 18 Jun 2022 18:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=RUanxg8PotBz wzNPn8K35hKin6DI1FhMOsfclyI8gYM=; b=HXUCm5dZqkiFpz4ke9fHTAiS9U8p 7SdYam7AlMRTEEvIq2Oqlub2OiTgRFn3QdD2EYe2atbdmiLCcKqPhAicuzlKvgyC zSe/LeRuGoEO9kKSdox1U4HGZPMP07ewKevDQxuo9SiaMgnYuANfwn8v2jU5MCNg Xg3fmb34oc8wN0ZXmhisDo9jrATo62m1c8NcigVSbz24VUsODGUG+I12TSRDGHtI iyXreb5VuF9qmKFAX3MUr+ObRwLzv5QgzBxMlAytHyxOqlNcHFW0Lauab901jyao 0fcb8s6of0FVWkyFWN3pW3qeuoebzcfJbpXQ8N2X5bW5pgiVl7czIe9iMg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id dff0e116 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sat, 18 Jun 2022 18:00:15 +0000 (UTC) Date: Sat, 18 Jun 2022 20:00:13 +0200 From: Julien Lepiller To: "Artyom V. Poptsov" Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Message-ID: <20220618200007.4939d143@sybil.lepiller.eu> In-Reply-To: <87sfo1vris.fsf@gmail.com> 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> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Thanks for the new patch :) Le Sat, 18 Jun 2022 19:57:15 +0300, "Artyom V. Poptsov" a =C3=A9crit : > + (native-inputs > + (list java-javax-inject)) > + (propagated-inputs > + (list maven-parent-pom-34)) Sorry if my previous messages were confusing you. I meant to have a new package maven-doxia-parent (or similar name) that contains only the parent pom file. You're propagating the grand-parent. I think this would be more correct: (propagated-inputs (list maven-doxia-parent)) and maven-doxia-parent would be something like: (define maven-doxia-parent (package (inherit maven-doxia-sink-api) (name "maven-doxia-parent") (arguments `(#:tests? #f #:phases (modify-phases %standard-phases (delete 'configure) (delete 'build) (replace 'install (install-pom-file "pom.xml"))))) (synopsis "...") (description "..."))) This is untested, of course :) Since we "define" and not "define-public" (we don't want it to be accessible from other modules or the command-line), you can put both packages in the same patch. > + (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"))))) That's correct :) From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 19 00:55:34 2022 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" To: Julien Lepiller Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929 Cc: 55929@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= 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----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 19 15:03:20 2022 Received: (at 55929-done) by debbugs.gnu.org; 19 Jun 2022 19:03:20 +0000 Received: from localhost ([127.0.0.1]:53188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o30Ce-0002e4-13 for submit@debbugs.gnu.org; Sun, 19 Jun 2022 15:03:20 -0400 Received: from lepiller.eu ([89.234.186.109]:41032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o30Ca-0002ds-G1 for 55929-done@debbugs.gnu.org; Sun, 19 Jun 2022 15:03:18 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 43229337; Sun, 19 Jun 2022 19:03:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type; s=dkim; bh=MC3/p80OHXY3Tae4G8eKx63L6xYD68v3C15SBs zZR3M=; b=Ba5XSfD5sPBhnKyeHgIf21MI61wAyaP8xSZxNy9HH99l3xF7QpODkk MZYun+Kr2nd7+BKKc8xr/Y3PgwCGNYnD+zSJiJqhiy7cQKGNVaqR4ipbBDeTlfq0 KOPmbYhRKSr88jUmjd+5ZDSHsPxjeNxmd5l44nh93T97S8n4SJPcFoUXY2wjgOE9 Tq7pvsz6HLdJyJktmDiVeA/zP/gC4dRTMqJX+zsvyVdAevTil1Nq13LRP0NkwLez 8L5IFAiaetfzeVjPahPLEusUXIy1ycjFq8OSgT6/l5m5YNPfdlztW1G9qcTORHwI uzMbA4nGWqIJDRzV9Lw9EOuPEFKwbGrw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id a7cae7b6 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 19 Jun 2022 19:03:11 +0000 (UTC) Date: Sun, 19 Jun 2022 21:03:08 +0200 From: Julien Lepiller To: "Artyom V. Poptsov" Subject: Re: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Message-ID: <20220619210308.65d85bf4@sybil.lepiller.eu> In-Reply-To: <87v8sx45hr.fsf@gmail.com> 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> <87v8sx45hr.fsf@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/YwGw4r_ZwmBMyf5jsNT5jIE"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55929-done Cc: 55929-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Sig_/YwGw4r_ZwmBMyf5jsNT5jIE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Sun, 19 Jun 2022 07:55:12 +0300, "Artyom V. Poptsov" a =C3=A9crit : > Hello Julien, >=20 > thanks for help. I think I'm beginning to better understand the > child/parent POM relationships now. >=20 > Here's the updated patch. >=20 Thanks, pushed to master as 0d461393e444a993a469b521d4cf46dee9e2767e. I changed the commit message to add a dot at the end of the first sentence. I added maven-parent-pom-34 as a propagated-input to maven-doxia-parent-pom, and removed java-javax-inject from maven-doxia-sink-api because it's not needed. --Sig_/YwGw4r_ZwmBMyf5jsNT5jIE Content-Type: application/pgp-signature Content-Description: Signature digitale OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEHvsJCR8X0ozL+bE6U9RXstY27oIFAmKvcuwACgkQU9RXstY2 7oJ5vxAAjh6g86WNgIzcDu5Qv1mEYsBC7Y71BzIkkcd35f78GLWJ4Kwb3R80z3IE K9mJ6l/1Rhl3s6c6Q7+sx3KTIRdtCne+5eBzoT+cF6Uac2S1b67AUUu5XG9y3eEd T32/cro5pSSeSxJQ9kpJLKn3AgtoflfO8A5ngh7xbMII31kh6k2i019AFXAQUhCO 5o3UCIV2Rix7e7whI7BWulnKCDhsDGu0L166UBR5s+IN8zwPrwOenBma/zH7SlVX +xiYpCvQ2JK3mtY2kaY454QoD+s5tczq9A3xiY97wcFdiqaYFOH2E4ta9RVWVPut fqKLawj0VIOWjtisJazD090fhT3rmpTfna3AWwpZ4PWpa8SgJi/s8NqyCJgaQFQv SeKoZS2g8zRN6iLMuqQYszZKx1NiMOtJEvjVaahv0mfbK7I++WKVeFexk7H0piC8 brz1ot55T84PTB8AzUStFBSZXurdzFlISS/NoiZBomOR7TTp1E1jjzMM+IAOWSPH fEavQkawJfQMZii8C96QIgkc5wKgX0P/fjeEK/H4x7gTL67jSDi7np7GECyc68WB IGhjbJ6ZTyFdrbeGt1IwNs06qu18R52V4gE0bOqu6/FoB67kzrBObe/sEyaAgCVb 6n5qcJ75ZnNLZkHeuEZJi6l7f6WNZ/hCDUnqs88D4N+U748gFes= =v9xi -----END PGP SIGNATURE----- --Sig_/YwGw4r_ZwmBMyf5jsNT5jIE-- From unknown Wed Jun 25 05:36:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 18 Jul 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator