From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzqSe-0005IX-UB for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzqSd-0004o9-Fi for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40686) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzqSd-0004nk-C0 for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dzqSd-0006E2-3F for guix-patches@gnu.org; Wed, 04 Oct 2017 16:40:07 -0400 Subject: [bug#28707] [PATCH 12/23] gnu: Add java-ops4j-pax-exam-core. Resent-Message-ID: From: julien@lepiller.eu Date: Wed, 4 Oct 2017 22:37:24 +0200 Message-Id: <20171004203735.21155-12-julien@lepiller.eu> In-Reply-To: <20171004203735.21155-1-julien@lepiller.eu> References: <20171004223317.2e824152@lepiller.eu> <20171004203735.21155-1-julien@lepiller.eu> 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: 28707@debbugs.gnu.org From: Julien Lepiller * gnu/packages/java.scm (java-ops4j-pax-exam-core): New variable. --- gnu/packages/java.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 32d18ad54..0163172b9 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5519,3 +5519,36 @@ to create such artifacts on-the-fly inside Tests (like in Pax Exam). On the other hand, this library can be a foundation of real end user tools that need to create those artifacts.") (license license:asl2.0))) + +(define-public java-ops4j-pax-exam-core + (package + (name "java-ops4j-pax-exam-core") + (version "4.11.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/ops4j/org.ops4j.pax.exam2/" + "archive/exam-reactor-" version ".tar.gz")) + (sha256 + (base32 + "08mzw8nkah3rj3vznlplnawspxhp61zgvb44ifqa1rni1cvbms2g")))) + (arguments + `(#:jar-name "java-ops4j-pax-exam-core.jar" + #:source-dir "core/pax-exam/src/main/java" + #:test-dir "core/pax-exam/src/test")) + (inputs + `(("slf4j" ,java-slf4j-api) + ("lang" ,java-ops4j-base-lang) + ("io" ,java-ops4j-base-io) + ("util-property" ,java-ops4j-base-util-property) + ("util-store" ,java-ops4j-base-store) + ("java-osgi-core" ,java-osgi-core))) + (native-inputs + `(("junit" ,java-junit) + ("hamcrest" ,java-hamcrest-core))) + (build-system ant-build-system) + (home-page "https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/overview") + (synopsis "In-Container Testing for OSGi, Java EE and CDI") + (description "Pax Exam creates OSGi bundles for testing purposes. It lets +the user take control of the OSGi framework, the test framework (e.g. JUnit) and +the system under test at the same time.") + (license license:asl2.0))) -- 2.14.2