[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
68/110: gnu: maven-3.0-artifact: New variable.
From: |
guix-commits |
Subject: |
68/110: gnu: maven-3.0-artifact: New variable. |
Date: |
Thu, 16 Jul 2020 22:23:30 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 756e976e56e7eefee5a829823a70df493dfd8773
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 15:55:05 2020 +0200
gnu: maven-3.0-artifact: New variable.
* gnu/packages/maven.scm (maven-3.0-artifact): New variable.
---
gnu/packages/maven.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 08bb152..eb2a0b3 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2058,3 +2058,43 @@ management, documentation creation, site publication,
and distribution
publication are all controlled from the @file{pom.xml} declarative file. Maven
can be extended by plugins to utilise a number of other development tools for
reporting or the build process.")))
+
+;; Many plugins require maven 3.0 as a dependency.
+(define maven-3.0-pom
+ (package
+ (inherit maven-pom)
+ (version "3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apache/maven")
+ (commit (string-append "maven-" version))))
+ (file-name (git-file-name "maven" version))
+ (sha256
+ (base32
+ "06jdwxx9w24shhv3kca80rlrikynn7kdqcrwg59lv2b7adpllwnh"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (for-each delete-file (find-files "." "\\.jar$"))
+ (for-each (lambda (file) (chmod file #o644))
+ (find-files "." "."))
+ #t))
+ (patches
+ (search-patches "maven-generate-component-xml.patch"
+ "maven-generate-javax-inject-named.patch"))))
+ (propagated-inputs
+ `(("maven-parent-pom-15" ,maven-parent-pom-15)))))
+
+(define-public maven-3.0-artifact
+ (package
+ (inherit maven-artifact)
+ (version (package-version maven-3.0-pom))
+ (source (package-source maven-3.0-pom))
+ (propagated-inputs
+ (map
+ (lambda (input)
+ (if (equal? (car input) "maven-pom")
+ `("maven-pom" ,maven-3.0-pom)
+ input))
+ (package-propagated-inputs maven-artifact)))))
- 84/110: gnu: Add maven-enforcer-api., (continued)
- 84/110: gnu: Add maven-enforcer-api., guix-commits, 2020/07/16
- 89/110: gnu: Add maven-install-plugin., guix-commits, 2020/07/16
- 95/110: gnu: Add java-plexus-compiler-manager., guix-commits, 2020/07/16
- 96/110: gnu: Add maven-shared-incremental., guix-commits, 2020/07/16
- 87/110: gnu: Add maven-artifact-transfer., guix-commits, 2020/07/16
- 91/110: gnu: Add maven-resources-plugin., guix-commits, 2020/07/16
- 94/110: gnu: add java-plexus-java., guix-commits, 2020/07/16
- 100/110: gnu: Add java-surefire-api., guix-commits, 2020/07/16
- 109/110: gnu: Add maven-jar-plugin., guix-commits, 2020/07/16
- 63/110: gnu: Add java-eclipse-aether-api., guix-commits, 2020/07/16
- 68/110: gnu: maven-3.0-artifact: New variable.,
guix-commits <=
- 82/110: gnu: Add maven-dependency-tree., guix-commits, 2020/07/16
- 99/110: gnu: Add maven-shared-utils-3.1., guix-commits, 2020/07/16
- 110/110: guix: Add maven-build-system., guix-commits, 2020/07/16
- 93/110: gnu: java-plexus-component-metadata: Move to java.scm., guix-commits, 2020/07/16
- 97/110: gnu: Add maven-compiler-plugin., guix-commits, 2020/07/16
- 108/110: gnu: Add maven-surefire-plugin., guix-commits, 2020/07/16
- 88/110: gnu: maven-plugin-annotations: Install from pom file., guix-commits, 2020/07/16
- 90/110: gnu: Add maven-filtering., guix-commits, 2020/07/16
- 92/110: gnu: Add java-qdox-2-M9., guix-commits, 2020/07/16
- 98/110: gnu: Add java-surefire-logger-api., guix-commits, 2020/07/16