From: Reily Siegel <mail@reilysiegel.com>
To: 48735@debbugs.gnu.org
Subject: [bug#48735] [PATCH v2 02/10] gnu: Add maven-resolver-transport-http.
Date: Thu, 23 Dec 2021 18:04:26 -0500 [thread overview]
Message-ID: <4bd8a27a2f18d6422634df4ec202a5b9696529d8.1640300654.git.mail@reilysiegel.com> (raw)
In-Reply-To: <b5a7a2ca8640505ebc4fb38c83f8d2187591fdc3.1640300654.git.mail@reilysiegel.com>
* 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
next prev parent reply other threads:[~2021-12-23 23:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-30 2:10 [bug#48735] [PATCH] gnu: Add clojure-tools Reily Siegel
2021-05-31 9:15 ` Maxime Devos
2021-09-03 16:11 ` Ludovic Courtès
[not found] ` <87r1e5636w.fsf@reilysiegel.com>
2021-09-06 7:56 ` bug#48735: " Ludovic Courtès
2021-12-23 23:04 ` [bug#48735] [PATCH v2 01/10] gnu: Add maven-resolver-transport-file Reily Siegel
2021-12-23 23:04 ` Reily Siegel [this message]
2021-12-23 23:04 ` [bug#48735] [PATCH v2 03/10] build: clojure-utils: Don't try to compile Clojure Reily Siegel
2021-12-23 23:04 ` [bug#48735] [PATCH v2 04/10] gnu: Add clojure-test-check Reily Siegel
2021-12-23 23:04 ` [bug#48735] [PATCH v2 05/10] gnu: Add clojure-tools-gitlibs Reily Siegel
2021-12-23 23:04 ` [bug#48735] [PATCH v2 06/10] gnu: Add clojure-data-codec Reily Siegel
2021-12-23 23:04 ` [bug#48735] [PATCH v2 07/10] gnu: Add clojure-data-xml Reily Siegel
2021-12-23 23:04 ` [bug#48735] [PATCH v2 08/10] gnu: Add clojure-tools-deps-alpha Reily Siegel
2021-12-23 23:04 ` [bug#48735] [PATCH v2 09/10] gnu: Add clojure-tools Reily Siegel
2021-12-23 23:04 ` [bug#48735] [PATCH v2 10/10] gnu: clojure: Remove wrapper in favor of using Reily Siegel
2022-01-12 8:45 ` [bug#48735] [PATCH] gnu: Add clojure-tools Ricardo Wurmus
2022-01-12 16:44 ` bug#48735: " Ricardo Wurmus
2022-01-12 9:23 ` [bug#48735] " Reily Siegel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4bd8a27a2f18d6422634df4ec202a5b9696529d8.1640300654.git.mail@reilysiegel.com \
--to=mail@reilysiegel.com \
--cc=48735@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).