Merge pull request #130 from qos-ch/slf4j-341

Replaced maven-bundle-plugin with jar manifest template
This commit is contained in:
Matt Bishop 2016-01-09 17:52:30 -08:00
commit cb7f03af9c
2 changed files with 9 additions and 17 deletions

View File

@ -12,7 +12,7 @@
<artifactId>osgi-over-slf4j</artifactId>
<packaging>bundle</packaging>
<packaging>jar</packaging>
<name>OSGi LogService implemented over SLF4J</name>
<url>http://www.slf4j.org</url>
@ -41,20 +41,4 @@
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.7</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>org.osgi.service.log</Export-Package>
<Bundle-Activator>org.slf4j.osgi.logservice.impl.Activator</Bundle-Activator>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,8 @@
Implementation-Title: osgi-over-slf4j
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.slf4j.osgi-over-slf4j
Bundle-Name: OSGi LogService implemented over SLF4J
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Activator: org.slf4j.osgi.logservice.impl.Activator
Bundle-Category: osgi
Import-Package: org.osgi.framework;version="[1.5,2)",org.osgi.service.log;version="[1.3,2)",org.slf4j;version=${parsedVersion.osgiVersion}