[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
98/110: gnu: Add java-surefire-logger-api.
From: |
guix-commits |
Subject: |
98/110: gnu: Add java-surefire-logger-api. |
Date: |
Thu, 16 Jul 2020 22:23:39 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 2a08d8ffd0f4ee2e930e700a4348eb453711f0ee
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 23:15:24 2020 +0200
gnu: Add java-surefire-logger-api.
* gnu/packages/maven.scm (java-surefire-logger-api): New variable.
---
gnu/packages/maven.scm | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index cd2213b..e98968f 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -3102,3 +3102,74 @@ described in Setting the -source and -target of the Java
Compiler.
Other compilers than javac can be used and work has already started on
AspectJ, .NET, and C#.")
(license license:asl2.0)))
+
+(define-public java-surefire-logger-api
+ (package
+ (name "java-surefire-logger-api")
+ (version "3.0.0-M4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/maven/surefire/"
+ "surefire-" version "-source-release.zip"))
+ (sha256
+ (base32
+ "1s6d4pzk3bjm9l38mj9sfgbgmk145rppdj1dmqwc4d5105mr9q9w"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "java-surefire-logger-api.jar"
+ #:source-dir "surefire-logger-api/src/main/java"
+ #:tests? #f; require mockito 2
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (install-from-pom "surefire-logger-api/pom.xml")))))
+ (propagated-inputs
+ `(("java-surefire-parent-pom" ,java-surefire-parent-pom)))
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (home-page "https://maven.apache.org/surefire/surefire-logger-api")
+ (synopsis "Interfaces and Utilities related only to internal SureFire
Logger API")
+ (description "This package contains interfaces and utilities that are
+internal to the SureFire Logger API. It is designed to have no dependency.")
+ (license license:asl2.0)))
+
+(define-public java-surefire-parent-pom
+ (package
+ (inherit java-surefire-logger-api)
+ (name "java-surefire-parent-pom")
+ (arguments
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (add-before 'install 'fix-pom-dependency-versions
+ (lambda _
+ (substitute* "pom.xml"
+ (("1.11") ,(package-version java-commons-compress))
+ (("1.13") ,(package-version java-commons-codec)))
+ (substitute* "pom.xml"
+ (("commonsLang3Version>.*")
+ (string-append
+ "commonsLang3Version>"
+ ,(package-version java-commons-lang3)
+ "</commonsLang3Version>\n"))
+ (("commonsCompress>.*")
+ (string-append
+ "commonsCompress>"
+ ,(package-version java-commons-compress)
+ "</commonsCompress>\n"))
+ (("commonsIoVersion>.*")
+ (string-append
+ "commonsIoVersion>"
+ ,(package-version java-commons-io)
+ "</commonsIoVersion>\n"))
+ (("0.11.0") ,(package-version maven-artifact-transfer))
+ (("1.0.3") ,(package-version java-plexus-java)))
+ #t))
+ (add-after 'install 'install-providers
+ (install-pom-file "surefire-providers/pom.xml"))
+ (replace 'install
+ (install-pom-file "pom.xml")))))
+ (propagated-inputs
+ `(("maven-parent-pom" ,maven-parent-pom-33)))))
- 68/110: gnu: maven-3.0-artifact: New variable., (continued)
- 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, 2020/07/16
- 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 <=
- 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
- 60/110: gnu: Add java-sonatype-aether-test-util., guix-commits, 2020/07/16
- 85/110: gnu: Add maven-enforcer-rules., guix-commits, 2020/07/16
- 104/110: gnu: Add java-surefire-common-junit3., guix-commits, 2020/07/16