unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: julien@lepiller.eu
To: 28707@debbugs.gnu.org
Subject: [bug#28707] [PATCH 11/23] gnu: Add java-ops4j-pax-tinybundles.
Date: Wed,  4 Oct 2017 22:37:23 +0200	[thread overview]
Message-ID: <20171004203735.21155-11-julien@lepiller.eu> (raw)
In-Reply-To: <20171004203735.21155-1-julien@lepiller.eu>

From: Julien Lepiller <julien@lepiller.eu>

* gnu/packages/java.scm (java-ops4j-pax-tinybundles): New variable.
---
 gnu/packages/java.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 2c52d8345..32d18ad54 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5470,3 +5470,52 @@ it manages project dependencies, gives diffs jars, and much more.")
        ("java-osgi-namespace-service" ,java-osgi-namespace-service)
        ("promise" ,java-osgi-util-promise)
        ("osgi" ,java-osgi-core)))))
+
+(define-public java-ops4j-pax-tinybundles
+  (package
+    (name "java-ops4j-pax-tinybundles")
+    (version "2.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/ops4j/org.ops4j.pax.tinybundles/"
+                                  "archive/tinybundles-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0y0gq3pvv0iir2b885lmlwnvr724vv7vklzhhr4fs27d7mdkj871"))))
+    (arguments
+     `(#:jar-name "java-ops4j-pax-tinybundles.jar"
+       #:source-dir "src/main/java"
+       #:test-exclude
+       ;; Abstract base classes for other tests
+       (list "**/BndTest.java" "**/CoreTest.java")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'fix-version
+           (lambda _
+             ;; This test has a reference to an old version of bndlib we are not
+             ;; packaging.  It uses the version referenced in pom.xml.  We replace
+             ;; it with our own version.
+             (substitute* "src/test/java/org/ops4j/pax/tinybundles/bnd/BndTest.java"
+               (("2.4.0.201411031534") "3.4.0")))))))
+    (inputs
+     `(("lang" ,java-ops4j-base-lang)
+       ("io" ,java-ops4j-base-io)
+       ("store" ,java-ops4j-base-store)
+       ("slf4j" ,java-slf4j-api)
+       ("libg" ,java-aqute-libg)
+       ("bndlib" ,java-aqute-bndlib)))
+    (native-inputs
+     `(("junit" ,java-junit)
+       ("hamcrest" ,java-hamcrest-core)
+       ("log4j" ,java-log4j-api)
+       ("bndannotation" ,java-aqute-bnd-annotation)
+       ("framework" ,java-osgi-framework)))
+    (build-system ant-build-system)
+    (home-page "https://ops4j1.jira.com/wiki/spaces/ops4j/pages/12060312/Tinybundles")
+    (synopsis "Java APIs to create OSGi related artifacts")
+    (description "Tinybundles is all about creating OSGi related artifacts like
+Bundles, Fragments and Deployment Packages with Java Api.  It is very convinient
+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)))
-- 
2.14.2

  parent reply	other threads:[~2017-10-04 20:40 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 20:33 [bug#28707] [PATCH] java packages Julien Lepiller
2017-10-04 20:37 ` [bug#28707] [PATCH 01/23] gnu: Add java-ops4j-base-lang julien
2017-10-04 20:37   ` [bug#28707] [PATCH 02/23] gnu: Add java-ops4j-base-monitors julien
2017-10-04 20:37   ` [bug#28707] [PATCH 03/23] gnu: Add java-ops4j-base-io julien
2017-10-04 20:37   ` [bug#28707] [PATCH 04/23] gnu: Add java-ops4j-base-util julien
2017-10-04 20:37   ` [bug#28707] [PATCH 05/23] gnu: Add java-ops4j-base-util-property julien
2017-10-04 20:37   ` [bug#28707] [PATCH 06/23] gnu: Add java-ops4j-base-store julien
2017-10-04 20:37   ` [bug#28707] [PATCH 07/23] gnu: Add java-ops4j-base-spi julien
2017-10-04 20:37   ` [bug#28707] [PATCH 08/23] gnu: Add java-aqute-bnd-annotation julien
2017-10-04 20:37   ` [bug#28707] [PATCH 09/23] gnu: Add java-aqute-libg julien
2017-10-04 20:37   ` [bug#28707] [PATCH 10/23] gnu: Add java-aqute-bndlib julien
2017-10-04 20:37   ` julien [this message]
2017-10-04 20:37   ` [bug#28707] [PATCH 12/23] gnu: Add java-ops4j-pax-exam-core julien
2017-10-04 20:37   ` [bug#28707] [PATCH 13/23] gnu: Add java-ops4j-pax-exam-core-spi julien
2017-10-04 20:37   ` [bug#28707] [PATCH 14/23] gnu: Add java-ops4j-pax-exam-core-junit julien
2017-10-04 20:37   ` [bug#28707] [PATCH 15/23] gnu: Add java-fasterxml-jackson-annotations julien
2017-10-04 20:37   ` [bug#28707] [PATCH 16/23] gnu: Add java-fasterxml-jackson-core julien
2017-10-04 20:37   ` [bug#28707] [PATCH 17/23] gnu: Add java-fasterxml-jackson-databind julien
2017-10-04 20:37   ` [bug#28707] [PATCH 18/23] gnu: Add java-fasterxml-jackson-modules-base-jaxb julien
2017-10-04 20:37   ` [bug#28707] [PATCH 19/23] gnu: Add java-snakeyaml julien
2017-10-04 20:37   ` [bug#28707] [PATCH 20/23] gnu: Add java-fasterxml-jackson-dataformat-yaml julien
2017-10-04 20:37   ` [bug#28707] [PATCH 21/23] gnu: Add java-stax2-api julien
2017-10-04 20:37   ` [bug#28707] [PATCH 22/23] gnu: Add java-woodstox-core julien
2017-10-04 20:37   ` [bug#28707] [PATCH 23/23] gnu: Add java-fasterxml-jackson-dataformat-xml julien
2017-10-09 19:36 ` [bug#28707] [PATCH] java packages Leo Famulari
2017-10-10 20:08   ` bug#28707: " Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171004203735.21155-11-julien@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=28707@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).