[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/20: gnu: Add java-commons-beanutils.
From: |
julien lepiller |
Subject: |
10/20: gnu: Add java-commons-beanutils. |
Date: |
Sat, 18 Nov 2017 05:32:57 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 5aa2f3f44b319d446a0777a43c7b1babe14d6e91
Author: Julien Lepiller <address@hidden>
Date: Sun Nov 5 13:38:34 2017 +0100
gnu: Add java-commons-beanutils.
* gnu/packages/java.scm (java-commons-beanutils): New variable.
---
gnu/packages/java.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0b75343..36c6029 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2875,6 +2875,54 @@ are many features, including:
(replace 'install
(install-jars "build"))))))))
+(define java-commons-collections-test-classes
+ (package
+ (inherit java-commons-collections)
+ (arguments
+ `(#:jar-name "commons-collections-test-classes.jar"
+ #:source-dir "src/test"
+ #:tests? #f))
+ (inputs
+ `(("collection" ,java-commons-collections)))))
+
+(define-public java-commons-beanutils
+ (package
+ (name "java-commons-beanutils")
+ (version "1.9.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/commons/beanutils/source/"
+ "commons-beanutils-" version "-src.tar.gz"))
+ (sha256
+ (base32
+ "03cs0bq3sl1sdc7py9g3qnf8n9h473nrkvd3d251kaqv6a2ab7qk"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:test-target "test"
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (rename-file (string-append "dist/commons-beanutils-" ,version
+ "-SNAPSHOT.jar")
+ "commons-beanutils.jar")
+ (install-file "commons-beanutils.jar"
+ (string-append (assoc-ref outputs "out") "/share/java/"))
+ #t)))))
+ (inputs
+ `(("logging" ,java-commons-logging-minimal)
+ ("collections" ,java-commons-collections)))
+ (native-inputs
+ `(("junit" ,java-junit)
+ ("collections-test" ,java-commons-collections-test-classes)))
+ (home-page "http://commons.apache.org/beanutils/")
+ (synopsis "Dynamically set or get properties in Java")
+ (description "BeanUtils provides a simplified interface to reflection and
+introspection to set or get dynamically determined properties through their
+setter and getter method.")
+ (license license:asl2.0)))
+
(define-public java-commons-io
(package
(name "java-commons-io")
- 17/20: gnu: Add java-plexus-container-default-bootstrap., (continued)
- 17/20: gnu: Add java-plexus-container-default-bootstrap., julien lepiller, 2017/11/18
- 06/20: gnu: Add java-mail., julien lepiller, 2017/11/18
- 04/20: licenses: Add cddl1.1., julien lepiller, 2017/11/18
- 08/20: gnu: Add java-commons-csv., julien lepiller, 2017/11/18
- 13/20: gnu: Add java-log4j-1.2-api., julien lepiller, 2017/11/18
- 14/20: gnu: Add java-jdom., julien lepiller, 2017/11/18
- 12/20: gnu: Add java-log4j-core., julien lepiller, 2017/11/18
- 20/20: gnu: Add java-plexus-container-default., julien lepiller, 2017/11/18
- 07/20: gnu: Add java-jeromq., julien lepiller, 2017/11/18
- 18/20: gnu: Add java-plexus-io., julien lepiller, 2017/11/18
- 10/20: gnu: Add java-commons-beanutils.,
julien lepiller <=
- 15/20: gnu: Add java-geronimo-xbean-reflect., julien lepiller, 2017/11/18
- 16/20: gnu: Add java-tukaani-xz., julien lepiller, 2017/11/18
- 19/20: gnu: Add java-plexus-archiver., julien lepiller, 2017/11/18