summary refs log tree commit diff
path: root/gnu/packages/maven-parent-pom.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 14:47:56 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:11:36 +0200
commit744979f926aac05ab48a3252e9bb362cdf936256 (patch)
treeaee78d6be444dece90131f48fb0ed746cd99bd6a /gnu/packages/maven-parent-pom.scm
parent0dd0bb78a897120e9d472b9de62e1a3e7bd2892d (diff)
downloadguix-744979f926aac05ab48a3252e9bb362cdf936256.tar.gz
gnu: Add java-sonatype-oss-parent-pom-9.
* gnu/packages/maven-parent-pom.scm (java-sonatype-oss-parent-pom-9): New
variable.
Diffstat (limited to 'gnu/packages/maven-parent-pom.scm')
-rw-r--r--gnu/packages/maven-parent-pom.scm24
1 files changed, 24 insertions, 0 deletions
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 @@ 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")))))))))