guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

85/110: gnu: Add maven-enforcer-rules.


From: guix-commits
Subject: 85/110: gnu: Add maven-enforcer-rules.
Date: Thu, 16 Jul 2020 22:23:35 -0400 (EDT)

roptat pushed a commit to branch master
in repository guix.

commit 94261e7ce2c640a074e25a0c976bb5ac546ff429
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 17:34:58 2020 +0200

    gnu: Add maven-enforcer-rules.
    
    * gnu/packages-maven.scm (maven-enforcer-rules): New variable.
---
 gnu/packages/maven.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index fb0cb9e..0eb5db3 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2705,3 +2705,30 @@ Maven project dependencies.")
            (install-pom-file "pom.xml")))))
     (propagated-inputs
      `(("maven-parent-pom" ,maven-parent-pom-30)))))
+
+(define-public maven-enforcer-rules
+  (package
+    (inherit maven-enforcer-api)
+    (name "maven-enforcer-rules")
+    (arguments
+     `(#:tests? #f; requires maven-plugin-testing-harness
+       #:jar-name "maven-enforcer-rules.jar"
+       #:source-dir "enforcer-rules/src/main/java"
+       #:test-dir "enforcer-rules/src/test"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (install-from-pom "enforcer-rules/pom.xml")))))
+    (propagated-inputs
+     `(("maven-artifact" ,maven-artifact)
+       ("maven-plugin-api" ,maven-plugin-api)
+       ("maven-core" ,maven-core)
+       ("maven-common-artifact-filters" ,maven-common-artifact-filters)
+       ("java-commons-codec" ,java-commons-codec)
+       ("java-commons-lang3" ,java-commons-lang3)
+       ("maven-enforcer-api" ,maven-enforcer-api)
+       ("maven-resolver-util" ,maven-resolver-util)
+       ("java-bsh" ,java-bsh)
+       ("maven-dependency-tree" ,maven-dependency-tree)
+       ("maven-compat" ,maven-3.0-compat)
+       ("maven-enforcer-parent-pom" ,maven-enforcer-parent-pom)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]