aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 16:11:04 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:16:48 +0200
commitb1cfac7a46a4f1760a723c475d371953e4148850 (patch)
treefe3c4f55460cd695a099daefab90868b6fb43068 /gnu/packages
parentba58d208d477463291e90685faee78e0465bd33a (diff)
downloadguix-b1cfac7a46a4f1760a723c475d371953e4148850.tar.gz
guix-b1cfac7a46a4f1760a723c475d371953e4148850.zip
gnu: Add maven-3.0-settings-builder.
* gnu/packages/maven.scm (maven-3.0-settings-builder): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maven.scm21
1 files changed, 20 insertions, 1 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 4c46521a70..ff35827b0e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -32,7 +32,8 @@
#:use-module (gnu packages java)
#:use-module (gnu packages maven-parent-pom)
#:use-module (gnu packages web)
- #:use-module (gnu packages xml))
+ #:use-module (gnu packages xml)
+ #:use-module (ice-9 match))
(define-public java-plexus-component-metadata
(package
@@ -2163,3 +2164,21 @@ reporting or the build process.")))
`("maven-pom" ,maven-3.0-pom)
input))
(package-propagated-inputs maven-settings)))))
+
+(define-public maven-3.0-settings-builder
+ (package
+ (inherit maven-settings-builder)
+ (version (package-version maven-3.0-pom))
+ (source (package-source maven-3.0-pom))
+ (propagated-inputs
+ `(("java-plexus-component-annotations" ,java-plexus-component-annotations)
+ ,@(filter
+ (lambda (a) a)
+ (map
+ (lambda (input)
+ (match (car input)
+ ("maven-pom" `("maven-pom" ,maven-3.0-pom))
+ ("maven-settings" `("maven-settings" ,maven-3.0-settings))
+ ("maven-builder-support" #f)
+ (_ input)))
+ (package-propagated-inputs maven-settings-builder)))))))