diff --git a/pom.xml b/pom.xml
index 076a0f2d3..3b1bcdc6a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -241,6 +241,25 @@
org.apache.felix
maven-bundle-plugin
${maven-bundle-plugin.version}
+
+ true
+
+
+ ${replacestring;${project.artifactId};-;.}
+ ${project.artifactId}
+ SLF4J.ORG
+ <_snapshot/>
+ <_exportcontents>!META-INF.versions.9,*;-noimport:=true
+ ${project.description}
+ ${project.url}
+ ${maven.compiler.source}
+ ${maven.compiler.target}
+ ${project.version}
+ ${project.artifactId}
+ true
+ <_removeheaders>Private-Package,Bundle-SCM, Bundle-Developers, Include-Resource
+
+
bundle-manifest
@@ -248,17 +267,6 @@
manifest
-
-
-
- ${parsedVersion.osgiVersion}
- ${project.description}
- ${maven.compiler.source}
- ${maven.compiler.target}
- ${project.version}
- true
-
-
diff --git a/slf4j-api/pom.xml b/slf4j-api/pom.xml
index 1a19a326e..37a8dee97 100755
--- a/slf4j-api/pom.xml
+++ b/slf4j-api/pom.xml
@@ -53,6 +53,20 @@
+
+ org.apache.felix
+ maven-bundle-plugin
+
+
+ org.slf4j.spi;version="${range;[===,+);${version;===;${maven_version;${project.version}}}}"
+ =1.0.0)(!(version>=2.0.0)))",
+ osgi.serviceloader;filter:="(osgi.serviceloader=org.slf4j.spi.SLF4JServiceProvider)";osgi.serviceloader="org.slf4j.spi.SLF4JServiceProvider"
+ ]]>
+
+
+
+
diff --git a/slf4j-api/src/main/resources/META-INF/MANIFEST.MF b/slf4j-api/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100755
index eb0a28705..000000000
--- a/slf4j-api/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,15 +0,0 @@
-Implementation-Title: slf4j-api
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: slf4j.api
-Bundle-Name: slf4j-api
-Bundle-Vendor: SLF4J.ORG
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Export-Package: org.slf4j;version=${parsedVersion.osgiVersion},
- org.slf4j.spi;version=${parsedVersion.osgiVersion},
- org.slf4j.helpers;version=${parsedVersion.osgiVersion},
- org.slf4j.event;version=${parsedVersion.osgiVersion}
-Import-Package: org.slf4j.spi;version=${parsedVersion.osgiVersion}
-Require-Capability: osgi.extender;filter:="(&(osgi.extender=osgi.servi
- celoader.processor)(version>=1.0.0)(!(version>=2.0.0)))",osgi.service
- loader;filter:="(osgi.serviceloader=org.slf4j.spi.SLF4JServiceProvide
- r)";osgi.serviceloader="org.slf4j.spi.SLF4JServiceProvider"