From 744979f926aac05ab48a3252e9bb362cdf936256 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 27 Jun 2020 14:47:56 +0200 Subject: gnu: Add java-sonatype-oss-parent-pom-9. * gnu/packages/maven-parent-pom.scm (java-sonatype-oss-parent-pom-9): New variable. --- gnu/packages/maven-parent-pom.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/maven-parent-pom.scm b/gnu/packages/maven-parent-pom.scm index bcdb4bc64f..6e5a5b03e7 100644 --- a/gnu/packages/maven-parent-pom.scm +++ b/gnu/packages/maven-parent-pom.scm @@ -19,6 +19,7 @@ (define-module (gnu packages maven-parent-pom) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) + #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system ant) @@ -305,3 +306,26 @@ (define-public java-sonatype-oss-parent-pom-7 (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-oss-parent-pom-9 + (hidden-package + (package + (inherit java-sonatype-oss-parent-pom-7) + (version "9") + (source (origin + (method url-fetch) + (uri (string-append "https://repo1.maven.org/maven2/org/sonatype/" + "oss/oss-parent/" version "/oss-parent-" + version ".pom")) + (sha256 + (base32 + "0yl2hbwz2kn1hll1i00ddzn8f89bfdcjwdifz0pj2j15k1gjch7v")))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'unpack) + (delete 'configure) + (delete 'build) + (replace 'install + (install-pom-file (assoc-ref %build-inputs "source"))))))))) -- cgit v1.2.3