From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UAKYLsQAxWGM3QAAgWs5BA (envelope-from ) for ; Fri, 24 Dec 2021 00:05:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qExAKsQAxWGCcQAAbx9fmQ (envelope-from ) for ; Thu, 23 Dec 2021 23:05:40 +0000 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 58E122F8EB for ; Fri, 24 Dec 2021 00:05:39 +0100 (CET) Received: from localhost ([::1]:42918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0X9W-0004nC-Gw for larch@yhetil.org; Thu, 23 Dec 2021 18:05:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0X8x-0004m8-0K for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0X8w-0003cI-Mw for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0X8w-0003Xk-HT for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48735] [PATCH v2 01/10] gnu: Add maven-resolver-transport-file. References: <87o8ct6kfe.fsf@reilysiegel.com> In-Reply-To: <87o8ct6kfe.fsf@reilysiegel.com> Resent-From: Reily Siegel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Dec 2021 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48735 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48735@debbugs.gnu.org Received: via spool by 48735-submit@debbugs.gnu.org id=B48735.164030067313477 (code B ref 48735); Thu, 23 Dec 2021 23:05:02 +0000 Received: (at 48735) by debbugs.gnu.org; 23 Dec 2021 23:04:33 +0000 Received: from localhost ([127.0.0.1]:35173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0X8S-0003VJ-K2 for submit@debbugs.gnu.org; Thu, 23 Dec 2021 18:04:32 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]:24354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0X8Q-0003V3-KP for 48735@debbugs.gnu.org; Thu, 23 Dec 2021 18:04:31 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4JKm3Y1B4fzQk9j for <48735@debbugs.gnu.org>; Fri, 24 Dec 2021 00:04:25 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1640300665; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Sv8ay9rcmyagbzuHassGQpYoNZZ0ma2P9BK1vVy0iAo=; b=ikVzLF9QdUFzrvR8PXo/Bz+EpmqVJOQSpTZOs7HKkv/xIDKZ9i1IVpzdM4ecMCO/RdK/nm 8IURCugUC7Y+UKPy4cV7yUWSwHB7yZP0dcwGBqOupV5FbtlVurKPbFlqHXNTir56XBHHK4 Vd6krwqBaJC1Ks+NNFoZMlwYzuGQ7OQk9mhFf3o7HS47C7mEwItP3DTjm8jOI2MtGw3t/f 71eBWLXn7eYkmI5kPs710pO8t5pcsID5lKvJiT9aXz1eh3HKxj31mDg2s7Hjgg7m4XB71m ibxITMwijKem3rvveoc1l7ABIWVYFO4isc2PbReUZ7WB9BEdkeKbG0FJnDS4Ag== From: Reily Siegel Message-Id: Date: Thu, 23 Dec 2021 18:04:22 -0500 MIME-Version: 1.0 Content-Type: text/plain 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640300739; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Sv8ay9rcmyagbzuHassGQpYoNZZ0ma2P9BK1vVy0iAo=; b=DniggW3hLWdeVHzv43x2hx2/7RmrRprGn7DG0JXSULy53rm/2SoZiO8EjXMVBFrXx2TccC TGF+GTPHRvh23TxJC1BGnNK+YWzcjDchCfCB3CKyKRsqyR9kTiKERNtSwSXsAgMBUTiepW E2uhkxiQkBCARVeWss/8gbYI29ivsaLopAcZLLS+Y7c63l7BBI2slIY5635K4HB/OSKD1z uMcmIJxBy4kjh9v2t8yPIa+eIq+pXmsmYtew9Osfw6C8fUZKHA3Pdnwiux4bXtNP0fV9lU Y5lEWUlj+fwQQGXvGpMHeEOphnIIUStYoacZRLKh+ZzWPIJKsgBxONrY5RPGkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640300739; a=rsa-sha256; cv=none; b=HjoEnAVEjOW7dEsZxQcG7ve634umaW6mxZFDvzFokL3d1cZPSbkkx+XekffUlU3wEJN3fm sVc8rVJFwIP4pchE4ignY0NX4miansC+EZqXJ1jdU33WVFieSNI26kPLKxPUOFga72KF8j z0cW2zO2Mo2cFeVxsgCmSoh5ryqxOJEViG5cE0L6PKkhHYNustuUfyHt6qyox/NbsQMo2m 0A/rJp/ktdmM1VFI2wSSTImy4IJuaAsjTl5ZGpPGDTvNMa50Q/9PIgxTzLBQ/WosKfUTG+ CNnjEP7NbD4p7t2/TgJ478VAbKvyVw89TfGOXmCsy6pLFIMdbII4wTtRfCvSpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=ikVzLF9Q; dmarc=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: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=ikVzLF9Q; dmarc=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: 58E122F8EB X-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8K6R4SuGjAey * gnu/packages/maven.scm (maven-resolver-transport-file): New variable. --- gnu/packages/maven.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 479746639a..0f00053207 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -312,6 +312,48 @@ (define-public maven-resolver-transport-wagon (description "This package contains a transport implementation based on Maven Wagon, for use in Maven."))) +(define-public maven-resolver-transport-file + (package + (inherit maven-resolver-api) + (name "maven-resolver-transport-file") + (arguments + `(#:jar-name "maven-resolver-transport-file.jar" + #:source-dir "maven-resolver-transport-file/src/main/java" + #:test-dir "maven-resolver-transport-file/src/test" + #:jdk ,icedtea-8 + #:phases + (modify-phases %standard-phases + (add-before 'build 'generate-sisu + (lambda _ + (mkdir-p "build/classes/META-INF/sisu") + (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named" + (lambda _ + (display "org.eclipse.aether.transport.file.FileTransporterFactory\n"))) + #t))))) + (inputs + (list maven-resolver-api + maven-resolver-spi + maven-resolver-util + java-javax-inject + maven-wagon-provider-api + java-plexus-component-annotations + java-plexus-classworlds + java-plexus-utils + java-slf4j-api + java-eclipse-sisu-inject + java-eclipse-sisu-plexus)) + (native-inputs + (list java-junit + java-hamcrest-core + maven-resolver-test-util + java-guava + java-cglib + java-asm + java-aopalliance + java-guice)) + (synopsis "Transport implementation for Maven") + (description "This package contains a transport implementation based on +files, for use in Maven."))) ;; aether is the parent project that was forked into maven-resolver. It used ;; to be used with older versions of Maven, and is still required for some ;; plugins and their dependencies. This version is required for the plugins, -- 2.34.0