Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Fauth2016-06-22 20:44:06 +0000
committerDirk Fauth2016-06-27 08:04:52 +0000
commit63a12212a6b253c03ab5e1945baecac4daeb4dc6 (patch)
tree25556d6eb9514779018b53a8af980eff472733b4
parent1fcd1877db5698386112ba5382cd6b212cee1ce1 (diff)
downloadrt.equinox.bundles-63a12212a6b253c03ab5e1945baecac4daeb4dc6.tar.gz
rt.equinox.bundles-63a12212a6b253c03ab5e1945baecac4daeb4dc6.tar.xz
rt.equinox.bundles-63a12212a6b253c03ab5e1945baecac4daeb4dc6.zip
Bug 416047 - Provide-Capability manifest headers for provided services
Added the Provide-Capability header for the EventAdmin implementation. Also added a p2.inf file to be able to specify p2 metadata to be used by the p2 resolver. Change-Id: I721de29e261eb1cf2974649938d473bf2d19eaa3 Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
-rw-r--r--bundles/org.eclipse.equinox.event/META-INF/MANIFEST.MF6
-rw-r--r--bundles/org.eclipse.equinox.event/META-INF/p2.inf2
-rw-r--r--bundles/org.eclipse.equinox.event/pom.xml2
3 files changed, 8 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.event/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.event/META-INF/MANIFEST.MF
index 574c55100..145df0a19 100644
--- a/bundles/org.eclipse.equinox.event/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.event/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
-Bundle-Version: 1.3.200.qualifier
+Bundle-Version: 1.4.0.qualifier
Bundle-SymbolicName: org.eclipse.equinox.event
Bundle-Activator: org.eclipse.equinox.internal.event.Activator
Import-Package: org.eclipse.osgi.framework.eventmgr;version="1.1.0",
@@ -16,3 +16,7 @@ Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Service-Component: OSGI-INF/component.xml
Bundle-ActivationPolicy: lazy
+Provide-Capability:
+ osgi.service;
+ objectClass:List<String>="org.osgi.service.event.EventAdmin";
+ uses:="org.osgi.service.event"
diff --git a/bundles/org.eclipse.equinox.event/META-INF/p2.inf b/bundles/org.eclipse.equinox.event/META-INF/p2.inf
new file mode 100644
index 000000000..021c9f02d
--- /dev/null
+++ b/bundles/org.eclipse.equinox.event/META-INF/p2.inf
@@ -0,0 +1,2 @@
+provides.0.namespace = osgi.service
+provides.0.name = org.osgi.service.event.EventAdmin \ No newline at end of file
diff --git a/bundles/org.eclipse.equinox.event/pom.xml b/bundles/org.eclipse.equinox.event/pom.xml
index 4738bf2c3..2d269b5a5 100644
--- a/bundles/org.eclipse.equinox.event/pom.xml
+++ b/bundles/org.eclipse.equinox.event/pom.xml
@@ -19,6 +19,6 @@
</parent>
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.event</artifactId>
- <version>1.3.200-SNAPSHOT</version>
+ <version>1.4.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>

Back to the top