summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-06-27 20:32:40 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-07-17 04:19:12 +0200
commit0ab9eba78e37ee83f5e1e40a5c40495c5330a3d8 (patch)
tree8c124ef1a794abcca469afb3f9bbdff83f308dec /gnu
parent5bebb1e81f97001b2346ea309c969c972f109a94 (diff)
gnu: Add java-qdox-2-M9.
* gnu/packages/java.scm (java-qdox-2-M9): New variable. (java-qdox): Install from pom file.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm40
1 files changed, 39 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index dd7bb8cde9d..49cfb0a8a58 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -3548,7 +3548,28 @@ documentation tools.")
3548 (build-system ant-build-system) 3548 (build-system ant-build-system)
3549 (arguments 3549 (arguments
3550 `(#:jar-name "qdox.jar" 3550 `(#:jar-name "qdox.jar"
3551 #:tests? #f)); no tests 3551 #:tests? #f; no tests
3552 #:modules
3553 ((guix build ant-build-system)
3554 (guix build java-utils)
3555 (guix build utils)
3556 (sxml simple))
3557 #:phases
3558 (modify-phases %standard-phases
3559 (add-before 'install 'create-pom
3560 (lambda _
3561 (with-output-to-file "pom.xml"
3562 (lambda _
3563 (sxml->xml
3564 `((project
3565 (modelVersion "4.0.0")
3566 (name "QDox")
3567 (groupId "com.thoughtworks.qdox")
3568 (artifactId "qdox")
3569 (version ,,version))))))
3570 #t))
3571 (replace 'install
3572 (install-from-pom "pom.xml")))))
3552 (home-page "https://github.com/codehaus/qdox") 3573 (home-page "https://github.com/codehaus/qdox")
3553 (synopsis "Parse definitions from Java source files") 3574 (synopsis "Parse definitions from Java source files")
3554 (description "QDox is a high speed, small footprint parser for extracting 3575 (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
3557documentation tools.") 3578documentation tools.")
3558 (license license:asl2.0))) 3579 (license license:asl2.0)))
3559 3580
3581(define-public java-qdox-2-M9
3582 (package
3583 (inherit java-qdox)
3584 (version "2.0-M9"); required by plexus-java
3585 (source (origin
3586 (method url-fetch)
3587 ;; 2.0-M4, -M5 at https://github.com/paul-hammant/qdox
3588 ;; Older releases at https://github.com/codehaus/qdox/
3589 ;; Note: The release at maven is pre-generated. The release at
3590 ;; github requires jflex.
3591 (uri (string-append "https://repo1.maven.org/maven2/"
3592 "com/thoughtworks/qdox/qdox/" version
3593 "/qdox-" version "-sources.jar"))
3594 (sha256
3595 (base32
3596 "1s2jnmx2dkwnaha12lcj26aynywgwa8sslc47z82wx8xai13y4fg"))))))
3597
3560(define-public java-jarjar 3598(define-public java-jarjar
3561 (package 3599 (package
3562 (name "java-jarjar") 3600 (name "java-jarjar")