summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 23:28:46 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:20:59 +0200
commit15725d9a78b0f18f9768e1eb76922df8c2be11a2 (patch)
treea02c22f0a83c9be2d2795f688cabe33d0bec2c92 /gnu
parentbf2769c23f25b7e708e2ac17f1e90c4506a2a5e7 (diff)
downloadguix-15725d9a78b0f18f9768e1eb76922df8c2be11a2.tar.gz
gnu: Add java-surefire-extensions-api.
* gnu/packages/maven.scm (java-surefire-extensions-api): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/maven.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 4aa7f25d05..38fb2a171e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -3279,3 +3279,24 @@ internal to the SureFire Logger API.  It is designed to have no dependency.")
     (synopsis "API and Facilities used by forked tests running in JVM sub-process")
     (description "SureFire runs tests inside a forked JVM subprocess.  This
 package contains an API and facilities used inside that forked JVM.")))
+
+(define-public java-surefire-extensions-api
+  (package
+    (inherit java-surefire-logger-api)
+    (name "java-surefire-extensions-api")
+    (arguments
+     `(#:tests? #f; requires mockito 2
+       #:jar-name "java-surefire-extensions-api.jar"
+       #:source-dir "surefire-extensions-api/src/main/java"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (install-from-pom "surefire-extensions-api/pom.xml")))))
+    (propagated-inputs
+     `(("java-surefire-api" ,java-surefire-api)
+       ("java-surefire-parent-pom" ,java-surefire-parent-pom)))
+    (inputs
+     `(("java-plexus-component-annotations" ,java-plexus-component-annotations)))
+    (synopsis "Extension API for Maven SureFire")
+    (description "Surefire is a test framework project.  This is the aggregator
+POM in Apache Maven Surefire project.")))