<?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>
        <groupId>org.mule.modules</groupId>
        <artifactId>mule-modules</artifactId>
 <version>2.0.1</version>
    </parent>
  <artifactId>mule-module-osgi</artifactId>
    <!--<packaging>bundle</packaging>-->
  <name>OSGi Support</name>
  <description>Classes used for Mule's OSGi support</description>

    <build>
         <plugins>
              <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <!-- The org.mule.providers.service package doesn't get added to the
                            auto-generated imports list for some reason. -->  
                        <Import-Package>
                            org.mule.providers.service,
                            *
                        </Import-Package>-->
                        <Export-Package>
                            org.mule.module.osgi,
                            org.mule.module.osgi.util
                        </Export-Package>
                    </instructions>
                </configuration>
            </plugin>
         </plugins>
    </build>
    
  <dependencies>
          <dependency>
                <groupId>org.osgi</groupId>
                <artifactId>osgi_R4_core</artifactId>
                <version>1.0</version>
        </dependency>
          <dependency>
                <groupId>org.osgi</groupId>
                <artifactId>osgi_R4_compendium</artifactId>
                <version>1.0</version>
        </dependency>
        <!-- Needed for BundleContextAware interface -->
        <dependency>
          <groupId>org.springframework.osgi</groupId>
          <artifactId>spring-osgi-core</artifactId>
          <version>1.0-SNAPSHOT</version>
          <!-- <classifier>mule</classifier> -->
        </dependency>
  </dependencies>
</project>
