From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YAknHybPpmIMmAAAbAwnHQ (envelope-from ) for ; Mon, 13 Jun 2022 07:46:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gNomHybPpmL7vAAA9RJhRA (envelope-from ) for ; Mon, 13 Jun 2022 07:46:14 +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 5E17D2B420 for ; Mon, 13 Jun 2022 07:46:13 +0200 (CEST) Received: from localhost ([::1]:36110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0ctw-0005LJ-8e for larch@yhetil.org; Mon, 13 Jun 2022 01:46:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0cqu-0004CR-JL for guix-patches@gnu.org; Mon, 13 Jun 2022 01:43:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0cqr-0000U6-V8 for guix-patches@gnu.org; Mon, 13 Jun 2022 01:43:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o0cqr-00060a-Sr for guix-patches@gnu.org; Mon, 13 Jun 2022 01:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55929] [PATCH] gnu: maven: Add maven-doxia-sink-api Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Jun 2022 05:43: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: "Artyom V. Poptsov" Cc: 55929@debbugs.gnu.org Received: via spool by 55929-submit@debbugs.gnu.org id=B55929.165509893023037 (code B ref 55929); Mon, 13 Jun 2022 05:43:01 +0000 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 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-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=1655099174; 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: content-transfer-encoding:content-transfer-encoding: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=RGGHUGWTGJxsap8ia5Fv1GK9x1Fj2NzQ1u2SANXdH+k=; b=cBGcFcz6QE7mH5irB3G66LBsVXGNeFJA7xQCd1OL0ULiL6qRad6KeVbPvoKwpakjzP732S CE5tvUDodcD4sFCUs/uNzgo3Yn2hxVeTOf05bUsc3m/U8IkdsD3h2/FDk87n45e0GM1g4q 5lUT7ZdK87A/nhvShVb7esEB8x5iPi0GpldS+8DVAGzg+4OhHflWjEpG5AavAmx41yZ7C7 y6xE2xq8KQsY584PVeWNfFZcB6E44vP2IoZhUAOZJnk4vridK+pGMJRCd77CL/imguT8Dl 7KXzIJydhyvJu4L/0CJ8Fpt8SHmQd9wU+Kghh+Mo2IJ19Iyp4282ICuKxXOEKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655099174; a=rsa-sha256; cv=none; b=PhduYWswool43lZ6SOPmp8VaSK9oyxWsbCiOZ4QrY65cAElv1zGgH1mieKbxeNPB+mXkv0 D+Ob0MBcV1ltTsIQ+Y2izono7CSBsHOR3TS6QZ3OsdGs5jzKRtdAvx3ecSf9fvaUTCGGdc 70VbhcqlPwzBT4J2c6VTURh9+cdmeObm6bLjkx58y4oYRAkSHCVZZ2p8zXAg+xNgHLjPt+ 8gzI++UHTuaUq5MhYRovMIM8U+T6VDy8qQJ3nAnzFlbNHDbIgbpaLZAoANfbvY4zWc/HPR O/3hYsEXvym/ZlgE56Bn673tJtDjJmGVjMK6Inb/5sHAWyhCrgvUbhqG+ZYAsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=XrTKxTkZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 6.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=XrTKxTkZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 5E17D2B420 X-Spam-Score: 6.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: /2ucd/5t3XvF 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.