[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28707] [PATCH 22/23] gnu: Add java-woodstox-core.
From: |
julien |
Subject: |
[bug#28707] [PATCH 22/23] gnu: Add java-woodstox-core. |
Date: |
Wed, 4 Oct 2017 22:37:34 +0200 |
From: Julien Lepiller <address@hidden>
* gnu/packages/java.scm (java-woodstox-core): New variable.
---
gnu/packages/java.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f72dc7291..85dce5a6d 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5890,3 +5890,41 @@ abstractions.")
significant new functionalities, such as full-featured bi-direction validation
interface and high-performance Typed Access API.")
(license license:bsd-2)))
+
+(define-public java-woodstox-core
+ (package
+ (name "java-woodstox-core")
+ (version "5.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/FasterXML/woodstox/archive/"
+ "woodstox-core-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1i7pdgb8jbw6gdy5kmm0l6rz109n2ns92pqalpyp24vb8vlvdfd4"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "woodstox.jar"
+ #:test-exclude
+ (list "**/Base*.java" "failing/**")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'remove-msv-dep
+ (lambda _
+ ;; we don't need osgi, and it depends on msv
+ (delete-file-recursively "src/main/java/com/ctc/wstx/osgi")
+ ;; msv's latest release is from 2011 and we don't need it
+ (delete-file-recursively "src/main/java/com/ctc/wstx/msv")
+ (delete-file-recursively "src/test/java/wstxtest/osgi")
+ (delete-file-recursively "src/test/java/wstxtest/msv")))
+ (add-before 'build 'copy-resources
+ (lambda _
+ (copy-recursively "src/main/resources" "build/classes"))))))
+ (inputs
+ `(("stax2" ,java-stax2-api)))
+ (native-inputs
+ `(("junit" ,java-junit)))
+ (home-page "https://github.com/FasterXML/woodstox")
+ (synopsis "Stax XML API implementation")
+ (description "Woodstox is a stax XML API implementation.")
+ (license license:asl2.0)))
--
2.14.2
- [bug#28707] [PATCH 06/23] gnu: Add java-ops4j-base-store., (continued)
- [bug#28707] [PATCH 06/23] gnu: Add java-ops4j-base-store., julien, 2017/10/04
- [bug#28707] [PATCH 15/23] gnu: Add java-fasterxml-jackson-annotations., julien, 2017/10/04
- [bug#28707] [PATCH 17/23] gnu: Add java-fasterxml-jackson-databind., julien, 2017/10/04
- [bug#28707] [PATCH 14/23] gnu: Add java-ops4j-pax-exam-core-junit., julien, 2017/10/04
- [bug#28707] [PATCH 09/23] gnu: Add java-aqute-libg., julien, 2017/10/04
- [bug#28707] [PATCH 13/23] gnu: Add java-ops4j-pax-exam-core-spi., julien, 2017/10/04
- [bug#28707] [PATCH 11/23] gnu: Add java-ops4j-pax-tinybundles., julien, 2017/10/04
- [bug#28707] [PATCH 04/23] gnu: Add java-ops4j-base-util., julien, 2017/10/04
- [bug#28707] [PATCH 20/23] gnu: Add java-fasterxml-jackson-dataformat-yaml., julien, 2017/10/04
- [bug#28707] [PATCH 19/23] gnu: Add java-snakeyaml., julien, 2017/10/04
- [bug#28707] [PATCH 22/23] gnu: Add java-woodstox-core.,
julien <=
- [bug#28707] [PATCH 23/23] gnu: Add java-fasterxml-jackson-dataformat-xml., julien, 2017/10/04
- [bug#28707] [PATCH 18/23] gnu: Add java-fasterxml-jackson-modules-base-jaxb., julien, 2017/10/04
- [bug#28707] [PATCH 16/23] gnu: Add java-fasterxml-jackson-core., julien, 2017/10/04
- [bug#28707] [PATCH 21/23] gnu: Add java-stax2-api., julien, 2017/10/04
- [bug#28707] [PATCH] java packages, Leo Famulari, 2017/10/09