guix-commits
[Top][All Lists]
Advanced

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

20/110: gnu: add java-sonatype-forge-parent-pom-4.


From: guix-commits
Subject: 20/110: gnu: add java-sonatype-forge-parent-pom-4.
Date: Thu, 16 Jul 2020 22:23:15 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit ad9df5110c6725295c2734e89ce7ee2f62c277d8
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 14:33:04 2020 +0200

    gnu: add java-sonatype-forge-parent-pom-4.
    
    * gnu/packages/maven-parent-pom.scm (java-sonatype-forge-parent-pom-4):
    New variable.
---
 gnu/packages/maven-parent-pom.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/maven-parent-pom.scm 
b/gnu/packages/maven-parent-pom.scm
index f2c2b20..6964b19 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -158,3 +158,34 @@
       (synopsis "Pom parent file for weld projects")
       (description "This package contains the parent Maven Pom for weld 
projects.")
       (license license:asl2.0))))
+
+(define (make-java-sonatype-forge-parent-pom version hash)
+  (hidden-package
+    (package
+      (name "java-sonatype-forge-parent-pom")
+      (version version)
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/sonatype/oss-parents";)
+                       (commit (string-append "forge-parent-" version))))
+                (file-name (git-file-name name version))
+                (sha256 (base32 hash))))
+      (build-system ant-build-system)
+      (arguments
+       `(#:tests? #f
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'build)
+           (delete 'configure)
+           (replace 'install
+             (install-pom-file "pom.xml")))))
+      (home-page "https://github.com/sonatype/oss-parents";)
+      (synopsis "Sonatype forge parent pom")
+      (description "This package contains a single pom.xml file that is used by
+other projects as their parent pom.")
+      (license license:asl2.0))))
+
+(define-public java-sonatype-forge-parent-pom-4
+  (make-java-sonatype-forge-parent-pom
+    "4" "1gip239ar20qzy6yf37r6ks54bl7gqi1v49p65manrz84cmad0dh"))



reply via email to

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