|
|
07b8b2 |
From 5c822613993f2193590252f1eb75c67e7cdf1c87 Mon Sep 17 00:00:00 2001
|
|
|
07b8b2 |
From: Mat Booth <mat.booth@redhat.com>
|
|
|
07b8b2 |
Date: Wed, 6 Mar 2019 10:19:20 +0000
|
|
|
07b8b2 |
Subject: [PATCH 1/2] Use import-package instead of embedding dependencies
|
|
|
07b8b2 |
|
|
|
07b8b2 |
---
|
|
|
07b8b2 |
bnd.bnd | 16 ++++++++++++----
|
|
|
07b8b2 |
1 file changed, 12 insertions(+), 4 deletions(-)
|
|
|
07b8b2 |
|
|
|
07b8b2 |
diff --git a/bnd.bnd b/bnd.bnd
|
|
|
07b8b2 |
index 420c0e0..ae3fadb 100644
|
|
|
07b8b2 |
--- a/bnd.bnd
|
|
|
07b8b2 |
+++ b/bnd.bnd
|
|
|
07b8b2 |
@@ -1,3 +1,4 @@
|
|
|
07b8b2 |
+Bundle-SymbolicName: org.apache.felix.scr
|
|
|
07b8b2 |
Bundle-Category: osgi
|
|
|
07b8b2 |
Bundle-DocURL: http://felix.apache.org/site/apache-felix-service-component-runtime.html
|
|
|
07b8b2 |
Bundle-Activator: org.apache.felix.scr.impl.Activator
|
|
|
07b8b2 |
@@ -14,10 +15,7 @@ Require-Capability: osgi.ee;\
|
|
|
07b8b2 |
filter:="(|(&(osgi.ee=JavaSE)(version=1.7))(&(osgi.ee=JavaSE/compact1)(version=1.8)))"
|
|
|
07b8b2 |
|
|
|
07b8b2 |
Export-Package: org.apache.felix.scr.component;version=1.1.0;provide:=true, \
|
|
|
07b8b2 |
- org.apache.felix.scr.info;version=1.0.0;provide:=true, \
|
|
|
07b8b2 |
- org.osgi.service.component;version=1.4;provide:=true, \
|
|
|
07b8b2 |
- org.osgi.service.component.runtime;version=1.4;provide:=true, \
|
|
|
07b8b2 |
- org.osgi.service.component.runtime.dto;version=1.4;provide:=true
|
|
|
07b8b2 |
+ org.apache.felix.scr.info;version=1.0.0;provide:=true
|
|
|
07b8b2 |
|
|
|
07b8b2 |
Private-Package: org.apache.felix.scr.impl.*
|
|
|
07b8b2 |
|
|
|
07b8b2 |
@@ -28,6 +26,16 @@ Private-Package: org.apache.felix.scr.impl.*
|
|
|
07b8b2 |
# R4.0 version 1.2 is sufficient.
|
|
|
07b8b2 |
# optional import for Gogo annotations
|
|
|
07b8b2 |
Import-Package: \
|
|
|
07b8b2 |
+ org.osgi.dto;version="[1.0,2)", \
|
|
|
07b8b2 |
+ org.osgi.framework;version="[1.8,2)", \
|
|
|
07b8b2 |
+ org.osgi.framework.dto;version="[1.8,2)", \
|
|
|
07b8b2 |
+ org.osgi.framework.startlevel;version="[1.0,2)", \
|
|
|
07b8b2 |
+ org.osgi.framework.wiring;version="[1.2,2)", \
|
|
|
07b8b2 |
+ org.osgi.service.component;version="[1.4,1.5)", \
|
|
|
07b8b2 |
+ org.osgi.service.component.runtime;version="[1.4,1.5)", \
|
|
|
07b8b2 |
+ org.osgi.service.component.runtime.dto;version="[1.4,1.5)", \
|
|
|
07b8b2 |
+ org.osgi.util.promise;version="[1.0,2)", \
|
|
|
07b8b2 |
+ org.osgi.util.tracker;version="[1.5,2)", \
|
|
|
07b8b2 |
org.osgi.service.cm;version="[1.6,2)";resolution:=optional, \
|
|
|
07b8b2 |
org.osgi.service.log;version="[1.3,2)";resolution:=optional, \
|
|
|
07b8b2 |
org.osgi.service.metatype;version="[1.2,2)";resolution:=optional, \
|
|
|
07b8b2 |
--
|
|
|
07b8b2 |
2.21.1
|
|
|
07b8b2 |
|