diff options
author | Julien Lepiller <julien@lepiller.eu> | 2020-06-27 14:33:04 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2020-07-17 04:11:16 +0200 |
commit | ad9df5110c6725295c2734e89ce7ee2f62c277d8 (patch) | |
tree | 59c3b2c99e32974e5ed1a3e80fd0359cde5df1ff | |
parent | 16466a5d7f13e0824d115388f39f3b9296402ed3 (diff) | |
download | guix-ad9df5110c6725295c2734e89ce7ee2f62c277d8.tar.gz |
gnu: add java-sonatype-forge-parent-pom-4.
* gnu/packages/maven-parent-pom.scm (java-sonatype-forge-parent-pom-4): New variable.
-rw-r--r-- | gnu/packages/maven-parent-pom.scm | 31 |
1 files changed, 31 insertions, 0 deletions
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")) |