<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	
	<parent>
		<groupId>net.welen.jmole</groupId>
		<artifactId>jmole</artifactId>
		<version>2.0.0</version>
	</parent>
	
	<modelVersion>4.0.0</modelVersion>
	<artifactId>jmole-osgi</artifactId>
	<packaging>bundle</packaging>
	<name>JMole OSGI</name>
	<url>https://bitbucket.org/awelen/jmole</url>	

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<version>4.2.1</version>				
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Export-Package/>
						<Import-Package>org.osgi.framework,javax.management.*,javax.xml.validation.*,javax.xml.transform.*,org.xml.sax.*</Import-Package>
 						<Bundle-Activator>net.welen.jmole.osgi.Activator</Bundle-Activator>
						<Embed-Dependency>jmole-core</Embed-Dependency>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>org.osgi</groupId>
			<artifactId>org.osgi.core</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>net.welen.jmole</groupId>
			<artifactId>jmole-kernel</artifactId>
		</dependency>
	</dependencies>
</project>
