[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
108/110: gnu: Add maven-surefire-plugin.
From: |
guix-commits |
Subject: |
108/110: gnu: Add maven-surefire-plugin. |
Date: |
Thu, 16 Jul 2020 22:23:42 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 7c02294bc2a535dfe5d1573683234e00d4594ce1
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sun Jun 28 00:01:32 2020 +0200
gnu: Add maven-surefire-plugin.
* gnu/packages/maven.scm (maven-surefire-plugin): New variable.
---
gnu/packages/maven.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index bfb5a51..5c95a50 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -3583,3 +3583,34 @@ JVM, using JUnit 4.0 or later.")))
(synopsis "API used in Surefire and Failsafe MOJO")
(description "This package contains an API used in SureFire and Failsafe
MOJO.")))
+
+(define-public maven-surefire-plugin
+ (package
+ (inherit java-surefire-logger-api)
+ (name "maven-surefire-plugin")
+ (arguments
+ `(#:jar-name "maven-surefire-plugin.jar"
+ #:source-dir "maven-surefire-plugin/src/main/java"
+ #:tests? #f; test depends on maven-plugin-test-harness
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-plugin.xml
+ (generate-plugin.xml "maven-surefire-plugin/pom.xml"
+ "surefire"
+ "."
+ (list
+ (list
+
"maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java"
+
"maven-surefire-plugin/src/main/java/org/apache/maven/plugin/surefire/SurefirePlugin.java"))))
+ (replace 'install
+ (install-from-pom "maven-surefire-plugin/pom.xml")))))
+ (propagated-inputs
+ `(("maven-surefire-common" ,maven-surefire-common)
+ ("maven-core" ,maven-core)))
+ (native-inputs
+ `(("maven-plugin-annotations" ,maven-plugin-annotations)
+ ("unzip" ,unzip)))
+ (synopsis "SureFire Maven plugin that runs tests.")
+ (description "The Surefire Plugin is used during the test phase of the
+build lifecycle to execute the unit tests of an application. It generates
+reports in two different file formats, plain text and xml.")))
- 94/110: gnu: add java-plexus-java., (continued)
- 94/110: gnu: add java-plexus-java., guix-commits, 2020/07/16
- 100/110: gnu: Add java-surefire-api., guix-commits, 2020/07/16
- 109/110: gnu: Add maven-jar-plugin., guix-commits, 2020/07/16
- 63/110: gnu: Add java-eclipse-aether-api., guix-commits, 2020/07/16
- 68/110: gnu: maven-3.0-artifact: New variable., guix-commits, 2020/07/16
- 82/110: gnu: Add maven-dependency-tree., guix-commits, 2020/07/16
- 99/110: gnu: Add maven-shared-utils-3.1., guix-commits, 2020/07/16
- 110/110: guix: Add maven-build-system., guix-commits, 2020/07/16
- 93/110: gnu: java-plexus-component-metadata: Move to java.scm., guix-commits, 2020/07/16
- 97/110: gnu: Add maven-compiler-plugin., guix-commits, 2020/07/16
- 108/110: gnu: Add maven-surefire-plugin.,
guix-commits <=
- 88/110: gnu: maven-plugin-annotations: Install from pom file., guix-commits, 2020/07/16
- 90/110: gnu: Add maven-filtering., guix-commits, 2020/07/16
- 92/110: gnu: Add java-qdox-2-M9., guix-commits, 2020/07/16
- 98/110: gnu: Add java-surefire-logger-api., guix-commits, 2020/07/16
- 101/110: gnu: Add java-surefire-booter., guix-commits, 2020/07/16
- 102/110: gnu: Add java-surefire-extensions-api., guix-commits, 2020/07/16
- 103/110: gnu: Add java-surefire-common-java5., guix-commits, 2020/07/16
- 105/110: gnu: Add java-surefire-common-junit4., guix-commits, 2020/07/16
- 106/110: gnu: Add java-surefire-junit4., guix-commits, 2020/07/16
- 107/110: gnu: Add maven-surefire-common., guix-commits, 2020/07/16