From 15725d9a78b0f18f9768e1eb76922df8c2be11a2 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sat, 27 Jun 2020 23:28:46 +0200 Subject: gnu: Add java-surefire-extensions-api. * gnu/packages/maven.scm (java-surefire-extensions-api): New variable. --- gnu/packages/maven.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu') 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."))) -- cgit 1.4.1