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:28 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:11:35 +0200
commit0dd0bb78a897120e9d472b9de62e1a3e7bd2892d (patch)
tree5b78e2bd1fad5aec2d9972950be57245e2948266 /gnu/packages/maven-parent-pom.scm
parentbdec75a25e9d155c8304ed3ff4ac523437ee1853 (diff)
downloadguix-0dd0bb78a897120e9d472b9de62e1a3e7bd2892d.tar.gz
gnu: Add java-sonatype-oss-parent-pom-7.
* gnu/packages/maven-parent-pom.scm (java-sonatype-oss-parent-pom-7):
New variable.
Diffstat (limited to 'gnu/packages/maven-parent-pom.scm')
-rw-r--r--gnu/packages/maven-parent-pom.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/maven-parent-pom.scm b/gnu/packages/maven-parent-pom.scm
index 5e7fa11be4..bcdb4bc64f 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -276,3 +276,32 @@ other projects as their parent pom.")
                   "0pq5yf6swn43rxdfksnqsky1402zza2xq1aypwma9jkck2yl0vma"))))
       (propagated-inputs
        `(("java-sonatype-forge-parent-pom-4" ,java-sonatype-forge-parent-pom-4))))))
+
+(define-public java-sonatype-oss-parent-pom-7
+  (hidden-package
+    (package
+      (name "java-sonatype-oss-parent-pom")
+      (version "7")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/sonatype/oss-parents")
+                       (commit (string-append "oss-parent-" version))))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0lkvkmm51vrrrp79ksq3i2v693279rbn06yxck70ivhjrbq77927"))))
+      (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 oss 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))))