[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/24: gnu: Add java-fasterxml-jackson-modules-base-jaxb.
From: |
julien lepiller |
Subject: |
18/24: gnu: Add java-fasterxml-jackson-modules-base-jaxb. |
Date: |
Tue, 10 Oct 2017 16:08:17 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit d57d8b89bb452c39d3a3dcb64794daadeff4a618
Author: Julien Lepiller <address@hidden>
Date: Wed Oct 4 20:34:20 2017 +0200
gnu: Add java-fasterxml-jackson-modules-base-jaxb.
* gnu/packages/java.scm (java-fasterxml-jackson-modules-base-jaxb): New
variable.
---
gnu/packages/java.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 1d9a247..a8a8620 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5784,3 +5784,50 @@ functionality and tree-model for Jackson Data Processor.
It builds on core
streaming parser/generator package, and uses Jackson Annotations for
configuration.")
(license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing
+
+(define-public java-fasterxml-jackson-modules-base-jaxb
+ (package
+ (name "java-fasterxml-jackson-modules-base-jaxb")
+ (version "2.9.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/FasterXML/"
+ "jackson-modules-base/archive/"
+ "jackson-modules-base-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0bj2pzvycnj3ysbcfa6xl38dmvnp01mnjfcb9jyhv503fch2iv44"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "jackson-modules-base-jaxb.jar"
+ #:source-dir "jaxb/src/main/java"
+ #:test-dir "jaxb/src/test"
+ #:test-exclude
+ ;; Base class for tests
+ (list "**/BaseJaxbTest.java")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'generate-PackageVersion.java
+ (lambda _
+ (let* ((out (string-append "jaxb/src/main/java/com/fasterxml/"
+
"jackson/module/jaxb/PackageVersion.java"))
+ (in (string-append out ".in")))
+ (copy-file in out)
+ (substitute* out
+ (("@package@") "com.fasterxml.jackson.module.jaxb")
+ (("@projectversion@") ,version)
+ (("@projectgroupid@") "com.fasterxml.jackson.module.jaxb")
+ (("@projectartifactid@") "jackson-module-jaxb")))))
+ (add-before 'build 'copy-resources
+ (lambda _
+ (copy-recursively "jaxb/src/main/resources" "build/classes"))))))
+ (inputs
+ `(("java-fasterxml-jackson-annotations"
,java-fasterxml-jackson-annotations)
+ ("java-fasterxml-jackson-core" ,java-fasterxml-jackson-core)
+ ("java-fasterxml-jackson-databind" ,java-fasterxml-jackson-databind)))
+ (native-inputs
+ `(("java-junit" ,java-junit)))
+ (home-page "https://github.com/FasterXML/jackson-modules-base")
+ (synopsis "Jaxb annotations jackson module")
+ (description "This package is the jaxb annotations module for jackson.")
+ (license license:asl2.0))); found on wiki.fasterxml.com/JacksonLicensing
- 07/24: gnu: Add java-ops4j-base-spi., (continued)
- 07/24: gnu: Add java-ops4j-base-spi., julien lepiller, 2017/10/10
- 10/24: gnu: Add java-aqute-bndlib., julien lepiller, 2017/10/10
- 19/24: gnu: Add java-snakeyaml., julien lepiller, 2017/10/10
- 17/24: gnu: Add java-fasterxml-jackson-databind., julien lepiller, 2017/10/10
- 08/24: gnu: Add java-aqute-bnd-annotation., julien lepiller, 2017/10/10
- 12/24: gnu: Add java-ops4j-pax-exam-core., julien lepiller, 2017/10/10
- 14/24: gnu: Add java-ops4j-pax-exam-core-junit., julien lepiller, 2017/10/10
- 24/24: services: vpn: Fix default tls-auth configuration., julien lepiller, 2017/10/10
- 20/24: gnu: Add java-fasterxml-jackson-dataformat-yaml., julien lepiller, 2017/10/10
- 15/24: gnu: Add java-fasterxml-jackson-annotations., julien lepiller, 2017/10/10
- 18/24: gnu: Add java-fasterxml-jackson-modules-base-jaxb.,
julien lepiller <=
- 13/24: gnu: Add java-ops4j-pax-exam-core-spi., julien lepiller, 2017/10/10
- 22/24: gnu: Add java-woodstox-core., julien lepiller, 2017/10/10
- 21/24: gnu: Add java-stax2-api., julien lepiller, 2017/10/10
- 23/24: gnu: Add java-fasterxml-jackson-dataformat-xml., julien lepiller, 2017/10/10
- 11/24: gnu: Add java-ops4j-pax-tinybundles., julien lepiller, 2017/10/10
- 16/24: gnu: Add java-fasterxml-jackson-core., julien lepiller, 2017/10/10