From: Julien Lepiller <julien@lepiller.eu>
To: 30606@debbugs.gnu.org
Subject: [bug#30606] [PATCH 5/5] gnu: Add maven-resolver-connector-basic.
Date: Sun, 25 Feb 2018 16:56:43 +0100 [thread overview]
Message-ID: <20180225155643.2383-5-julien@lepiller.eu> (raw)
In-Reply-To: <20180225164822.60ae5c2a@lepiller.eu>
* gnu/packages/maven.scm (maven-resolver-connector-basic): New variable.
---
gnu/packages/maven.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 6c8f4b931..81021f646 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -98,3 +98,33 @@ ease testing of the repository system.")))
(synopsis "Utility classes for the maven repository system")
(description "This package contains a collection of utility classes to
ease usage of the repository system.")))
+
+(define-public maven-resolver-connector-basic
+ (package
+ (inherit maven-resolver-api)
+ (name "maven-resolver-connector-basic")
+ (arguments
+ `(#:jar-name "maven-resolver-connector-basic.jar"
+ #:source-dir "maven-resolver-connector-basic/src/main/java"
+ #:test-dir "maven-resolver-connector-basic/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.connector.basic.BasicRepositoryConnectorFactory\n"))))))))
+ (inputs
+ `(("maven-resolver-api" ,maven-resolver-api)
+ ("maven-resolver-spi" ,maven-resolver-spi)
+ ("maven-resolver-util" ,maven-resolver-util)
+ ("java-javax-inject" ,java-javax-inject)))
+ (native-inputs
+ `(("java-junit" ,java-junit)
+ ("java-hamcrest-core" ,java-hamcrest-core)
+ ("maven-resolver-test-util" ,maven-resolver-test-util)))
+ (synopsis "Maven repository connector implementation")
+ (description "This package contains a repository connector implementation
+for repositories using URI-based layouts.")))
--
2.16.2
next prev parent reply other threads:[~2018-02-25 15:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-25 15:48 [bug#30606] maven resolver packages Julien Lepiller
2018-02-25 15:56 ` [bug#30606] [PATCH 1/5] gnu: Add maven-resolver-api Julien Lepiller
2018-02-25 15:56 ` [bug#30606] [PATCH 2/5] gnu: Add maven-resolver-spi Julien Lepiller
2018-02-25 15:56 ` [bug#30606] [PATCH 3/5] gnu: Add maven-resolver-test-util Julien Lepiller
2018-02-25 15:56 ` [bug#30606] [PATCH 4/5] gnu: Add maven-resolver-util Julien Lepiller
2018-02-25 15:56 ` Julien Lepiller [this message]
2018-03-14 6:36 ` [bug#30606] maven resolver packages Björn Höfling
2018-03-14 13:15 ` julien lepiller
2018-03-16 11:53 ` bug#30606: " Björn Höfling
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180225155643.2383-5-julien@lepiller.eu \
--to=julien@lepiller.eu \
--cc=30606@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.