From patchwork Sun Jun 12 18:45:36 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: 39889 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 48E8027BBEA; Sun, 12 Jun 2022 19:46:15 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, 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 93B7F27BBE9 for ; Sun, 12 Jun 2022 19:46:14 +0100 (BST) Received: from localhost ([::1]:36954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0SbA-0004hJ-Oo for patchwork@mira.cbaines.net; Sun, 12 Jun 2022 14:46:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0Sb4-0004h2-2k for guix-patches@gnu.org; Sun, 12 Jun 2022 14:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0Sb3-0001gm-Qn for guix-patches@gnu.org; Sun, 12 Jun 2022 14:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0Sb3-000286-Lb for guix-patches@gnu.org; Sun, 12 Jun 2022 14:46:01 -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, 12 Jun 2022 18:46:01 +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: 55929@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16550595608179 (code B ref -1); Sun, 12 Jun 2022 18:46:01 +0000 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" 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 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-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 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 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 * gnu/packages/maven.scm (maven-doxia-sink-api): New variable. --- 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 --- 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,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" + #: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 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))) -- 2.25.1