guix-commits
[Top][All Lists]
Advanced

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

28/110: gnu: Add java-sonatype-oss-parent-pom-9.


From: guix-commits
Subject: 28/110: gnu: Add java-sonatype-oss-parent-pom-9.
Date: Thu, 16 Jul 2020 22:23:17 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 744979f926aac05ab48a3252e9bb362cdf936256
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 14:47:56 2020 +0200

    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(+)

diff --git a/gnu/packages/maven-parent-pom.scm 
b/gnu/packages/maven-parent-pom.scm
index bcdb4bc..6e5a5b0 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 @@ other projects as their 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-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")))))))))



reply via email to

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