diff options
author | Julien Lepiller <julien@lepiller.eu> | 2019-05-03 14:37:35 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2019-11-13 22:49:37 +0100 |
commit | f31ea164bedb29067350cc01f18e0f96b9b732a8 (patch) | |
tree | 49c52e0dd28b59a720f10f7287dbe8b57e63a615 | |
parent | b635d2728e459ab47b3a599339326035a9982537 (diff) | |
download | patches-f31ea164bedb29067350cc01f18e0f96b9b732a8.tar patches-f31ea164bedb29067350cc01f18e0f96b9b732a8.tar.gz |
gnu: Add java-commons-dbcp.
* gnu/packages/java.scm (java-commons-dbcp): New variable.
-rw-r--r-- | gnu/packages/java.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 01e0ed4cad..ffe4edd1ce 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5141,6 +5141,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-dbcp + (package + (name "java-commons-dbcp") + (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-pool" ,java-commons-pool) + ("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") |