gnu: Add maven-3.0-settings-builder.

* gnu/packages/maven.scm (maven-3.0-settings-builder): New variable.
This commit is contained in:
Julien Lepiller 2020-06-27 16:11:04 +02:00
parent ba58d208d4
commit b1cfac7a46
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -32,7 +32,8 @@ (define-module (gnu packages maven)
#: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 @@ (define-public maven-3.0-settings
`("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)))))))