From ad9df5110c6725295c2734e89ce7ee2f62c277d8 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 27 Jun 2020 14:33:04 +0200 Subject: 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 f2c2b20be1..6964b19253 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")) -- cgit 1.4.1