From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:57612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMXtE-0001do-8s for guix-patches@gnu.org; Fri, 03 May 2019 09:06:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMXt8-0006tM-0F for guix-patches@gnu.org; Fri, 03 May 2019 09:06:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMXt5-0006lj-H1 for guix-patches@gnu.org; Fri, 03 May 2019 09:06:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMXt5-00060Z-AF for guix-patches@gnu.org; Fri, 03 May 2019 09:06:03 -0400 Subject: [bug#35545] [PATCH 15/17] gnu: Add java-commons-dbcp2. Resent-Message-ID: From: Julien Lepiller Date: Fri, 3 May 2019 15:01:32 +0200 Message-Id: <20190503130134.24788-15-julien@lepiller.eu> In-Reply-To: <20190503130134.24788-1-julien@lepiller.eu> References: <20190503145820.606f37db@sybil.lepiller.eu> <20190503130134.24788-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 35545@debbugs.gnu.org * 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