1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 3 4 <modelVersion>4.0.0</modelVersion> 5 6 <parent> 7 <groupId>org.slf4j</groupId> 8 <artifactId>slf4j-parent</artifactId> 9 <version>1.7.13-SNAPSHOT</version> 10 </parent> 11 12 <artifactId>osgi-over-slf4j</artifactId> 13 14 <packaging>bundle</packaging> 15 <name>OSGi LogService implemented over SLF4J</name> 16 17 <url>http://www.slf4j.org</url> 18 <description> 19 OSGi LogService implementation over SLF4J 20 </description> 21 22 <dependencies> 23 <dependency> 24 <groupId>org.osgi</groupId> 25 <artifactId>org.osgi.core</artifactId> 26 <version>4.2.0</version> 27 <scope>provided</scope> 28 </dependency> 29 <dependency> 30 <groupId>org.osgi</groupId> 31 <artifactId>org.osgi.enterprise</artifactId> 32 <version>4.2.0</version> 33 <scope>provided</scope> 34 </dependency> 35 36 <dependency> 37 <groupId>org.slf4j</groupId> 38 <artifactId>slf4j-simple</artifactId> 39 <version>${project.version}</version> 40 <scope>provided</scope> 41 </dependency> 42 </dependencies> 43 <build> 44 <plugins> 45 <plugin> 46 <groupId>org.apache.felix</groupId> 47 <artifactId>maven-bundle-plugin</artifactId> 48 <version>2.3.7</version> 49 <extensions>true</extensions> 50 <configuration> 51 <instructions> 52 <Export-Package>org.osgi.service.log</Export-Package> 53 <Bundle-Activator>org.slf4j.osgi.logservice.impl.Activator</Bundle-Activator> 54 </instructions> 55 </configuration> 56 </plugin> 57 </plugins> 58 </build> 59</project> 60