diff options
author | Julien Lepiller <julien@lepiller.eu> | 2020-06-27 23:41:34 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2020-07-17 04:21:07 +0200 |
commit | 586db0f9c52adc64ffce89098bf5cdb07580574c (patch) | |
tree | 9c30b32807a680cac96be4069649115fb333a83c | |
parent | 72ce48788d08c272362534125810c4c76ad0553a (diff) | |
download | guix-586db0f9c52adc64ffce89098bf5cdb07580574c.tar.gz |
gnu: Add java-surefire-common-junit4.
* gnu/packages/maven.scm (java-surefire-common-junit4): New variable.
-rw-r--r-- | gnu/packages/maven.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index 40e21c5f25..87a3385b09 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -3380,3 +3380,26 @@ POM in Apache Maven Surefire project."))) ("java-fest-assert" ,java-fest-assert))) (synopsis "Shared JUnit3 provider code for Maven SureFire") (description "This package contains shared code for all JUnit providers."))) + +(define-public java-surefire-common-junit4 + (package + (inherit java-surefire-logger-api) + (name "java-surefire-common-junit4") + (arguments + `(#:jar-name "java-surefire-common-junit4.jar" + #:source-dir "surefire-providers/common-junit4/src/main/java" + #:tests? #f; tests require junit 4.0 + #:phases + (modify-phases %standard-phases + (replace 'install + (install-from-pom "surefire-providers/common-junit4/pom.xml"))))) + (propagated-inputs + `(("java-junit" ,java-junit) + ("java-surefire-api" ,java-surefire-api) + ("java-surefire-common-java5" ,java-surefire-common-java5) + ("java-surefire-common-junit3" ,java-surefire-common-junit3) + ("maven-shared-utils" ,maven-shared-utils-3.1) + ("java-surefire-parent-pom" ,java-surefire-parent-pom))) + (synopsis "Shared JUnit4 provider code for Maven SureFire") + (description "This package contains shared code for all JUnit providers, +starting from JUnit 4."))) |