[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
86/110: gnu: Add maven-enforcer-plugin.
From: |
guix-commits |
Subject: |
86/110: gnu: Add maven-enforcer-plugin. |
Date: |
Thu, 16 Jul 2020 22:23:35 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit e244157bee5d1eee9a51a65ad07a23c772a7e817
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 18:50:13 2020 +0200
gnu: Add maven-enforcer-plugin.
* gnu/packages/maven.scm (maven-enforcer-plugin): New variable.
---
gnu/packages/maven.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 0eb5db3..560c94e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2732,3 +2732,32 @@ Maven project dependencies.")
("maven-dependency-tree" ,maven-dependency-tree)
("maven-compat" ,maven-3.0-compat)
("maven-enforcer-parent-pom" ,maven-enforcer-parent-pom)))))
+
+(define-public maven-enforcer-plugin
+ (package
+ (inherit maven-enforcer-api)
+ (name "maven-enforcer-plugin")
+ (arguments
+ `(#:tests? #f
+ #:jar-name "maven-enforcer-plugin.jar"
+ #:source-dir "maven-enforcer-plugin/src/main/java"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-plugin.xml
+ (generate-plugin.xml "maven-enforcer-plugin/pom.xml"
+ "enforcer"
+
"maven-enforcer-plugin/src/main/java/org/apache/maven/plugins/enforcer/"
+ (list
+ (list "DisplayInfoMojo.java")
+ (list "EnforceMojo.java"))))
+ (replace 'install
+ (install-from-pom "maven-enforcer-plugin/pom.xml")))))
+ (propagated-inputs
+ `(("maven-artifact" ,maven-artifact)
+ ("maven-plugin-api" ,maven-plugin-api)
+ ("maven-core" ,maven-core)
+ ("java-plexus-utils" ,java-plexus-utils)
+ ("maven-enforcer-api" ,maven-enforcer-api)
+ ("maven-enforcer-rules" ,maven-enforcer-rules)
+ ("maven-plugin-annotations" ,maven-plugin-annotations)
+ ("maven-enforcer-parent-pom" ,maven-enforcer-parent-pom)))))
- 66/110: gnu: Add java-eclipse-aether-util., (continued)
- 66/110: gnu: Add java-eclipse-aether-util., guix-commits, 2020/07/16
- 58/110: gnu: Add java-sonatype-aether-api., guix-commits, 2020/07/16
- 64/110: gnu: Add java-eclipse-aether-spi., guix-commits, 2020/07/16
- 72/110: gnu: Add maven-3.0-model-builder., guix-commits, 2020/07/16
- 79/110: gnu: add maven-shared-io., guix-commits, 2020/07/16
- 59/110: gnu: Add java-sonatype-aether-spi., guix-commits, 2020/07/16
- 69/110: gnu: Add maven-3.0-model., guix-commits, 2020/07/16
- 71/110: gnu: Add maven-3.0-settings-builder., guix-commits, 2020/07/16
- 76/110: gnu: Add maven-3.0-core., guix-commits, 2020/07/16
- 78/110: gnu: Add maven-shared-utils-3.0., guix-commits, 2020/07/16
- 86/110: gnu: Add maven-enforcer-plugin.,
guix-commits <=
- 67/110: gnu: Add java-eclipse-aether-impl., guix-commits, 2020/07/16
- 75/110: gnu: Add maven-3.0-aether-provider., guix-commits, 2020/07/16
- 61/110: gnu: Add java-sonatype-aether-util., guix-commits, 2020/07/16
- 65/110: gnu: Add java-eclipse-aether-test-util., guix-commits, 2020/07/16
- 70/110: gnu: Add maven-3.0-settings., guix-commits, 2020/07/16
- 73/110: gnu: Add maven-3.0-plugin-api., guix-commits, 2020/07/16
- 74/110: gnu: Add maven-3.0-repository-metadata., guix-commits, 2020/07/16
- 77/110: gnu: Add maven-3.0-compat., guix-commits, 2020/07/16
- 80/110: gnu: Add maven-file-management., guix-commits, 2020/07/16
- 81/110: gnu: Add maven-archiver., guix-commits, 2020/07/16