summary refs log tree commit diff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 16:09:13 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:16:37 +0200
commitba58d208d477463291e90685faee78e0465bd33a (patch)
tree9a979b846ee31e7ca7cac29c352154459f4fe45d /gnu/packages/maven.scm
parentb909d584445fc41096b76a570fa9a0b6e1875177 (diff)
downloadguix-ba58d208d477463291e90685faee78e0465bd33a.tar.gz
gnu: Add maven-3.0-settings.
* gnu/packages/maven.scm (maven-3.0-settings): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 3a3e7cf8e0..4c46521a70 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2150,3 +2150,16 @@ reporting or the build process.")))
     (inputs
       `(("maven-source" ,(package-source maven-pom))
         ,@(package-inputs maven-model)))))
+
+(define-public maven-3.0-settings
+  (package
+    (inherit maven-settings)
+    (version (package-version maven-3.0-pom))
+    (source (package-source maven-3.0-pom))
+    (propagated-inputs
+      (map
+        (lambda (input)
+          (if (equal? (car input) "maven-pom")
+              `("maven-pom" ,maven-3.0-pom)
+              input))
+        (package-propagated-inputs maven-settings)))))