summary refs log tree commit diff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 23:38:38 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:21:04 +0200
commit72ce48788d08c272362534125810c4c76ad0553a (patch)
tree54fc2cf90dd3b625e2c22ed4e5115ce255be6799 /gnu/packages/maven.scm
parentfd090644b3e6e94c34b86216839e75743fbf49b8 (diff)
downloadguix-72ce48788d08c272362534125810c4c76ad0553a.tar.gz
gnu: Add java-surefire-common-junit3.
* gnu/packages/maven.scm (java-surefire-common-junit3): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 0aa5e550e8..40e21c5f25 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -3357,3 +3357,26 @@ POM in Apache Maven Surefire project.")))
        ("java-fest-assert" ,java-fest-assert)))
     (synopsis "Common java5 facilities for Maven SureFire")
     (description "This package contains shared Java 5 code for all providers.")))
+
+(define-public java-surefire-common-junit3
+  (package
+    (inherit java-surefire-logger-api)
+    (name "java-surefire-common-junit3")
+    (arguments
+     `(#:jar-name "java-surefire-common-junit3.jar"
+       #:source-dir "surefire-providers/common-junit3/src/main/java"
+       #:test-dir "surefire-providers/common-junit3/src/test"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (install-from-pom "surefire-providers/common-junit3/pom.xml")))))
+    (propagated-inputs
+     `(("java-junit" ,java-junit)
+       ("java-surefire-api" ,java-surefire-api)
+       ("java-surefire-parent-pom" ,java-surefire-parent-pom)))
+    (native-inputs
+     `(("unzip" ,unzip)
+       ("java-junit" ,java-junit)
+       ("java-fest-assert" ,java-fest-assert)))
+    (synopsis "Shared JUnit3 provider code for Maven SureFire")
+    (description "This package contains shared code for all JUnit providers.")))