[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35545] [PATCH 15/17] gnu: Add java-commons-dbcp2.
From: |
Julien Lepiller |
Subject: |
[bug#35545] [PATCH 15/17] gnu: Add java-commons-dbcp2. |
Date: |
Fri, 3 May 2019 15:01:32 +0200 |
* gnu/packages/java.scm (java-commons-dbcp2): New variable.
---
gnu/packages/java.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 23e547bed4..8f8809c467 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5031,6 +5031,37 @@ handful of pooling interfaces and some base classes that
may be useful when
creating new pool implementations.")
(license license:asl2.0)))
+(define-public java-commons-dbcp2
+ (package
+ (name "java-commons-dbcp2")
+ (version "2.6.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/commons/dbcp/source/"
+ "commons-dbcp2-" version "-src.tar.gz"))
+ (sha256
+ (base32
+ "0axbvcbnf2l70fc3ybrlp3siw2w4ka9mia2pnx4py8gz54cpw3rc"))))
+ (arguments
+ `(#:source-dir "src/main/java"
+ #:jar-name "java-commons-dbcp.jar"
+ #:tests? #f)); requires apache-geronimo
+ (inputs
+ `(("java-commons-pool2" ,java-commons-pool2)
+ ("java-commons-logging" ,java-commons-logging-minimal)
+ ("java-jboss-transaction-api-spec" ,java-jboss-transaction-api-spec)))
+ (native-inputs
+ `(("java-junit" ,java-junit)))
+ (build-system ant-build-system)
+ (home-page "https://commons.apache.org/proper/commons-dbcp/")
+ (synopsis "Database Connection Pool for Java")
+ (description "Commons-dbcp allows you to share a pool of database
+connections between users. Creating a new connection for each user can be
+time consuming and even unfeasible when the number of simultaneous users is
+very large. This package provides a way to share a poole of connections to
+reduce that load.")
+ (license license:asl2.0)))
+
(define-public java-jsr250
(package
(name "java-jsr250")
--
2.21.0
- [bug#35545] [PATCH 13/17] gnu: Add java-jboss-transaction-api-spec., (continued)
- [bug#35545] [PATCH 13/17] gnu: Add java-jboss-transaction-api-spec., Julien Lepiller, 2019/05/03
- [bug#35545] [PATCH 02/17] gnu: Add java-jsonp-api., Julien Lepiller, 2019/05/03
- [bug#35545] [PATCH 14/17] gnu: Add java-commons-pool2., Julien Lepiller, 2019/05/03
- [bug#35545] [PATCH 12/17] gnu: Add java-svg-salamander., Julien Lepiller, 2019/05/03
- [bug#35545] [PATCH 10/17] gnu: Add java-openjfx-media., Julien Lepiller, 2019/05/03
- [bug#35545] [PATCH 16/17] gnu: Add java-commons-jcs., Julien Lepiller, 2019/05/03
- [bug#35545] [PATCH 15/17] gnu: Add java-commons-dbcp2.,
Julien Lepiller <=
- [bug#35545] [PATCH 17/17] gnu: Add josm., Julien Lepiller, 2019/05/03
- [bug#35545] [PATCH 01/17] gnu: Add java-signpost-core., Björn Höfling, 2019/05/05
- [bug#35545] [PATCH] Add josm., Björn Höfling, 2019/05/05