guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

37/110: gnu: Add maven-parent-pom-22.


From: guix-commits
Subject: 37/110: gnu: Add maven-parent-pom-22.
Date: Thu, 16 Jul 2020 22:23:20 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 8226c928c01dadffc7e0baf28856ef7551a1efaa
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 19:29:36 2020 +0200

    gnu: Add maven-parent-pom-22.
    
    * gnu/packages/maven-parent-pom.scm (maven-parent-pom-22): New variable.
---
 gnu/packages/maven-parent-pom.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/maven-parent-pom.scm 
b/gnu/packages/maven-parent-pom.scm
index c40d75a..ef59fcf 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -446,3 +446,22 @@ tool.  This package contains the Maven parent POM.")
           `(modify-phases ,phases
              (delete 'install-plugins)
              (delete 'install-shared))))))))
+
+(define-public maven-parent-pom-22
+  (let ((base (make-maven-parent-pom
+                "22" "1kgqbyx7ckashy47n9rgyg4asyrvp933hdiknvnad7msq5d4c2jg"
+                apache-parent-pom-11)))
+    (package
+      (inherit base)
+      (arguments
+       (substitute-keyword-arguments (package-arguments base)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (delete 'install-plugins)
+             (delete 'install-shared)
+             (add-before 'install 'fix-versions
+               (lambda _
+                 (substitute* "pom.xml"
+                   (("1.5.5")
+                    ,(package-version java-plexus-component-annotations)))
+                 #t)))))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]