From b1cfac7a46a4f1760a723c475d371953e4148850 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 27 Jun 2020 16:11:04 +0200 Subject: gnu: Add maven-3.0-settings-builder. * gnu/packages/maven.scm (maven-3.0-settings-builder): New variable. --- gnu/packages/maven.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'gnu/packages') 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))))))) -- cgit v1.2.3