Subject: [PATCH 08/22] gnu: Add java-osgi-resource.

From: [email-masked]
Date: Sun, 1 Oct 2017 19:53:20 +0200

From: Julien Lepiller <[email-masked]>

* gnu/packages/java.scm (java-osgi-resource): New variable.
---
 gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 0454a8d26..c3ad83178 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4887,3 +4887,31 @@ of primitive types and their wrapper classes, Strings, and DTOs.  List, Set,
 Map and array aggregates may also be used.  The aggregates must only hold
 objects of the listed types or aggregates.")
     (license license:asl2.0)))
+
+(define-public java-osgi-resource
+  (package
+    (name "java-osgi-resource")
+    (version "1.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://central.maven.org/maven2/org/osgi/"
+                                  "org.osgi.resource/"
+                                  version "/org.osgi.resource-"
+                                  version "-sources.jar"))
+              (sha256
+               (base32
+                "0hi0fsc5v99q22bd7lrkvpz1y0ds4w9arjldpwsrcpqvz2js7q2d"))))
+    (build-system ant-build-system)
+    (arguments
+     `(#:jar-name "osgi-resource.jar"
+       #:tests? #f)); no tests
+    (inputs
+     `(("annotation" ,java-osgi-annotation)
+       ("dto" ,java-osgi-dto)))
+    (home-page "http://www.osgi.org")
+    (synopsis "OSGI Resource")
+    (description
+      "OSGi, for Open Services Gateway initiative framework, is a module system
+and service platform for the Java programming language.  This package contains
+the definition of common types in osgi packages.")
+    (license license:asl2.0)))
-- 
2.14.1