summaryrefslogtreecommitdiff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 16:12:14 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:17:01 +0200
commit279ec0c005fc85b5d3eac8974d8b2f730474aa55 (patch)
tree698104e7bb7599ed775be52d8d8b8eb796a706fe /gnu/packages/maven.scm
parentb1cfac7a46a4f1760a723c475d371953e4148850 (diff)
gnu: Add maven-3.0-model-builder.
* gnu/packages/maven.scm (maven-3.0-model-builder): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index ff35827b0e..42ae8a98d9 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2182,3 +2182,22 @@ reporting or the build process.")))
("maven-builder-support" #f)
(_ input)))
(package-propagated-inputs maven-settings-builder)))))))
+
+(define-public maven-3.0-model-builder
+ (package
+ (inherit maven-model-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-model" `("maven-model" ,maven-3.0-model))
+ ("maven-artifact" `("maven-artifact" ,maven-3.0-artifact))
+ ("maven-builder-support" #f)
+ (_ input)))
+ (package-propagated-inputs maven-model-builder)))))))