diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/java.scm | 40 |
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 | |||
| 3557 | documentation tools.") | 3578 | documentation 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") |
