[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/110: gnu: Add java-qdox-2-M9.
From: |
guix-commits |
Subject: |
92/110: gnu: Add java-qdox-2-M9. |
Date: |
Thu, 16 Jul 2020 22:23:37 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 0ab9eba78e37ee83f5e1e40a5c40495c5330a3d8
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 20:32:40 2020 +0200
gnu: Add java-qdox-2-M9.
* gnu/packages/java.scm (java-qdox-2-M9): New variable.
(java-qdox): Install from pom file.
---
gnu/packages/java.scm | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index dd7bb8c..49cfb0a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3548,7 +3548,28 @@ documentation tools.")
(build-system ant-build-system)
(arguments
`(#:jar-name "qdox.jar"
- #:tests? #f)); no tests
+ #:tests? #f; no tests
+ #:modules
+ ((guix build ant-build-system)
+ (guix build java-utils)
+ (guix build utils)
+ (sxml simple))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'create-pom
+ (lambda _
+ (with-output-to-file "pom.xml"
+ (lambda _
+ (sxml->xml
+ `((project
+ (modelVersion "4.0.0")
+ (name "QDox")
+ (groupId "com.thoughtworks.qdox")
+ (artifactId "qdox")
+ (version ,,version))))))
+ #t))
+ (replace 'install
+ (install-from-pom "pom.xml")))))
(home-page "https://github.com/codehaus/qdox")
(synopsis "Parse definitions from Java source files")
(description "QDox is a high speed, small footprint parser for extracting
@@ -3557,6 +3578,23 @@ class/interface/method definitions from source files
complete with JavaDoc
documentation tools.")
(license license:asl2.0)))
+(define-public java-qdox-2-M9
+ (package
+ (inherit java-qdox)
+ (version "2.0-M9"); required by plexus-java
+ (source (origin
+ (method url-fetch)
+ ;; 2.0-M4, -M5 at https://github.com/paul-hammant/qdox
+ ;; Older releases at https://github.com/codehaus/qdox/
+ ;; Note: The release at maven is pre-generated. The release at
+ ;; github requires jflex.
+ (uri (string-append "https://repo1.maven.org/maven2/"
+ "com/thoughtworks/qdox/qdox/" version
+ "/qdox-" version "-sources.jar"))
+ (sha256
+ (base32
+ "1s2jnmx2dkwnaha12lcj26aynywgwa8sslc47z82wx8xai13y4fg"))))))
+
(define-public java-jarjar
(package
(name "java-jarjar")
- 63/110: gnu: Add java-eclipse-aether-api., (continued)
- 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, 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 <=
- 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
- 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