summaryrefslogtreecommitdiff
path: root/gnu/packages/maven-parent-pom.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 14:54:08 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:11:46 +0200
commitc68f832b2d8a242919bae0536491388bd199b57a (patch)
tree62db80873b5962e696219eef0b23c273ca75b979 /gnu/packages/maven-parent-pom.scm
parent8c375b779d5d20dfc1603d2351f7c9cb9191549d (diff)
gnu: Add maven-parent-pom-33.
* gnu/packager/maven-parent-pom.scm (maven-parent-pom-33): New variable.
Diffstat (limited to 'gnu/packages/maven-parent-pom.scm')
-rw-r--r--gnu/packages/maven-parent-pom.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/maven-parent-pom.scm b/gnu/packages/maven-parent-pom.scm
index de3ada3868..a104b32425 100644
--- a/gnu/packages/maven-parent-pom.scm
+++ b/gnu/packages/maven-parent-pom.scm
@@ -377,3 +377,41 @@ other projects as their parent pom.")
(define-public plexus-parent-pom-6.1
(make-plexus-parent-pom
"6.1" "1pisca0fxpgbhf4xdgw5mn86622pg3mc5b8760kf9mk2awazshlj"))
+
+(define (make-maven-parent-pom version hash parent)
+ (hidden-package
+ (package
+ (name "maven-parent-pom")
+ (version version)
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apache/maven-parent")
+ (commit (string-append "maven-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 'configure)
+ (delete 'build)
+ (add-after 'install 'install-plugins
+ (install-pom-file "maven-plugins/pom.xml"))
+ (add-after 'install 'install-shared
+ (install-pom-file "maven-shared-components/pom.xml"))
+ (replace 'install
+ (install-pom-file "pom.xml")))))
+ (propagated-inputs
+ `(("parent" ,parent)))
+ (home-page "https://maven.apache.org/")
+ (synopsis "Maven parent pom")
+ (description "Apache Maven is a software project management and comprehension
+tool. This package contains the Maven parent POM.")
+ (license license:asl2.0))))
+
+(define-public maven-parent-pom-33
+ (make-maven-parent-pom
+ "33" "1b0z2gsvpccgcssys9jbdfwlwq8b5imdwr508f87ssdbfs29lh65"
+ apache-parent-pom-21))