<?xml version="1.0" encoding="utf-8"?>
<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">
   <modelVersion>4.0.0</modelVersion>
   <parent>
      <artifactId>drools</artifactId>
      <groupId>org.drools</groupId>
      <version>5.1.0</version>
   </parent>
   <artifactId>drools-decisiontables</artifactId>
   <packaging>jar</packaging>
   <name>Drools :: Decision Tables</name>
   <dependencies>
      <!-- Internal dependencies -->
      <dependency>
         <groupId>org.drools</groupId>
         <artifactId>drools-core</artifactId>
      </dependency>
      <dependency>
         <groupId>org.drools</groupId>
         <artifactId>drools-compiler</artifactId>
      </dependency>
      <dependency>
         <groupId>org.drools</groupId>
         <artifactId>drools-templates</artifactId>
      </dependency>
      <!-- External dependencies -->
      <dependency>
         <groupId>org.apache.felix</groupId>
         <artifactId>org.osgi.core</artifactId>
         <scope>provided</scope>
      </dependency>
      <dependency>
         <groupId>org.apache.felix</groupId>
         <artifactId>org.osgi.compendium</artifactId>
         <scope>provided</scope>
      </dependency>
	  <dependency>
	    <groupId>net.sourceforge.jexcelapi</groupId>
	    <artifactId>jxl</artifactId>
	  </dependency>

   </dependencies>
   <build>
      <plugins>
         <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
               <archive>
                  <manifestFile>META-INF/MANIFEST.MF</manifestFile>
               </archive>
            </configuration>
         </plugin>
         <plugin>
            <groupId>org.apache.felix</groupId>
            <artifactId>maven-bundle-plugin</artifactId>
            <extensions>true</extensions>
            <executions>
               <execution>
                  <id>manifest</id>
                  <phase>process-classes</phase>
                  <goals>
                     <goal>manifest</goal>
                  </goals>
               </execution>
            </executions>
            <configuration>
               <manifestLocation>META-INF</manifestLocation>
               <instructions>
                  <Bundle-SymbolicName>org.drools.decisiontables;singleton:=true</Bundle-SymbolicName>
			      <_removeheaders>Ignore-Package</_removeheaders>
                  <Require-Bundle>org.drools.core;bundle-version="${pom.version}"</Require-Bundle>
                  <Import-Package>!org.drools.*, *</Import-Package>
                  <Export-Package>org.drools.*</Export-Package>
                  <DynamicImport-Package>org.drools.*</DynamicImport-Package>
                  <Bundle-Activator>org.drools.osgi.decisiontables.Activator</Bundle-Activator>
			   </instructions>
            </configuration>
         </plugin>
      </plugins>
   </build>
</project>
