From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KB/zJOkAxWFl1gAAgWs5BA (envelope-from ) for ; Fri, 24 Dec 2021 00:06:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +H+UIOkAxWGncQAAbx9fmQ (envelope-from ) for ; Thu, 23 Dec 2021 23:06:17 +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 57FEA13859 for ; Fri, 24 Dec 2021 00:06:17 +0100 (CET) Received: from localhost ([::1]:43672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0XA8-0005O7-I0 for larch@yhetil.org; Thu, 23 Dec 2021 18:06:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0X8x-0004n0-G1 for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0X8x-0003cZ-6v for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0X8x-0003Xs-0u for guix-patches@gnu.org; Thu, 23 Dec 2021 18:05:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48735] [PATCH v2 02/10] gnu: Add maven-resolver-transport-http. 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.164030067713501 (code B ref 48735); Thu, 23 Dec 2021 23:05:02 +0000 Received: (at 48735) by debbugs.gnu.org; 23 Dec 2021 23:04:37 +0000 Received: from localhost ([127.0.0.1]:35177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0X8W-0003Vb-Ue for submit@debbugs.gnu.org; Thu, 23 Dec 2021 18:04:37 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:43508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0X8U-0003V7-LC for 48735@debbugs.gnu.org; Thu, 23 Dec 2021 18:04:35 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:105:465:1:4:0]) (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-101.mailbox.org (Postfix) with ESMTPS id 4JKm3c5JQ3zQl7b for <48735@debbugs.gnu.org>; Fri, 24 Dec 2021 00:04:28 +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=1640300668; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=D2PPtFpbT8xclTR7wQF2Pyq6a+H79hMkANnMir968zI=; b=zHwcdDw70FhrxY4B/qPbH/dG84kq2icC76tZsDSF0FhW0CbD2OuDtepPJ+/80VqxKcyNym NnekXjoK885/EvTbpyES5zGIYEMWqjHywNv7y0HQU3DIzWRRxhSC3QPKUrrf8wgfBVPblo AJFylK4zwjf7B+B4rdmFDOlOfUJ3VM9vLgonvIF+KK1NA0JMvAQAQsTx9GUQNuQ3F4IEGa tESQYxjNZ/C78e3FqIPvtjP23h/fDG4weRGLSJT5rs8UfV5FYX3xcuEZUbv9gcQj2ht7i+ 1b+WXWHPJUF5GUlJnNW1+QXMMA3gUNjselGlUKnaSNzbRnTaJOm4kYE58hxgUQ== From: Reily Siegel In-Reply-To: References: Message-Id: <4bd8a27a2f18d6422634df4ec202a5b9696529d8.1640300654.git.mail@reilysiegel.com> Date: Thu, 23 Dec 2021 18:04:26 -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=1640300777; 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=D2PPtFpbT8xclTR7wQF2Pyq6a+H79hMkANnMir968zI=; b=pbIrIStOA8sSpISDbDu9jJZ36oQpykpd1CHLO/xzsJ7S/5/rqNmhDgiX4WLKA7SFffaXky O7z9lVVO59eK5D1FfGnqAIqIx2LTXkhcDp2HI/njH/nU4pL7o2i66Tv0LdpTube4PF+gkr Vj3SOIf37gH/QHBJFDp0O7sCqrOrWJ4+Mb0VeeO87ryspe2SCDXs0QJSTQUkayffoaF03N a/6RzBDIzSDtwc5CHDvjSqxXYJjhZ0/lEfNBsPG+lTtdU7Ogtu4eF7WMTzG3MoBnMvEnY/ GAQSvURssdyuiUdOS7nCkO+CZa1rGRidpfkjUL24BAfEaY9h5tiR0frePPEFAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640300777; a=rsa-sha256; cv=none; b=nrq0P4FgEo0QhFJY32JJNVWmC3+aUvhzGc4mr/g/ZZxqUQJ67ncdxB9ihdta52xI8KloXQ Rx6lUJnvtBprAi9h1Tbq+C/tknopESA/g6hpC5zjq/GiOwxHJ5WsER9GHuPeKjDdUret21 FD6JtDnMhlJA7fBLChpmypWkhP8gl4QkxJg/1Tyi2Wfb80k2XsEiCaw1/rgzwOy1ZAMdpd x2WcEhi3DEFWQ6UJzWPqH86ZAPjQwkXVSSUbUXfamm5axR8M8DKClkaf6eHSZdJp5qSJaQ k83zXOG/Jvt2SU0DXjIe7YtI30QqRLexJhqijJExq4VErFRM3h9p1I9S1urUQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=zHwcdDw7; 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.85 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reilysiegel.com header.s=MBO0001 header.b=zHwcdDw7; 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: 57FEA13859 X-Spam-Score: -1.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: zi2rIvhpFsx9 * gnu/packages/maven.scm (maven-resolver-transport-http): New variable. --- gnu/packages/maven.scm | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 0f00053207..ad592df8fa 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -354,6 +354,59 @@ (define-public maven-resolver-transport-file (synopsis "Transport implementation for Maven") (description "This package contains a transport implementation based on files, for use in Maven."))) + +(define-public maven-resolver-transport-http + (package + (inherit maven-resolver-api) + (name "maven-resolver-transport-http") + (arguments + `(#:jar-name "maven-resolver-transport-http.jar" + #:source-dir "maven-resolver-transport-http/src/main/java" + #:test-dir "maven-resolver-transport-http/src/test" + #:jdk ,icedtea-8 + #:tests? #f + #: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.http.HttpTransporterFactory\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)) + (propagated-inputs + (list java-httpcomponents-httpclient + java-httpcomponents-httpcore)) + (native-inputs + (list java-junit + java-hamcrest-core + maven-resolver-test-util + java-guava + java-cglib + java-asm + java-aopalliance + java-guice + java-eclipse-jetty-server + java-eclipse-jetty-servlet + java-eclipse-jetty-util + java-eclipse-jetty-http + java-javaee-servletapi)) + (synopsis "Transport implementation for Maven") + (description "This package contains a transport implementation based on +HTTP, 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