<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>org.wso2.carbon</groupId>
        <artifactId>carbon-orbit-parent</artifactId>
        <version>2.0.3</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <groupId>com.lowagie.wso2</groupId>
    <artifactId>itext</artifactId>
    <packaging>bundle</packaging>
    <name>com.lowagie.wso2</name>
    <version>2.1.5.wso2v1</version>
    <description>
        This bundle will represent iText.
    </description>
    <url>http://wso2.org</url>

    <repositories>
        <repository>
		<id>itext</id>
		<url>http://repo2.maven.org/maven2</url>
	  </repository>
    </repositories>

   <dependencies>
      <dependency>
            <groupId>com.lowagie</groupId>
            <artifactId>itext</artifactId>
            <version>2.1.5</version>
        </dependency>
   </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>1.4.0</version>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
                        <Bundle-Name>${pom.artifactId}</Bundle-Name>
                         <Embed-Dependency>
                          itext;scope=compile|runtime;inline=false;
			 </Embed-Dependency>
			<Import-Package>
			!com.lowagie.text.*,
			!com.lowagie.tools.*,
			!com.apple.mrj.*,
			*;resolution:=optional
			</Import-Package>
			<Export-Package>
			com.lowagie.text.*;version="2.1.5",
			com.lowagie.tools.*;version="2.1.5"
			</Export-Package>
                        <DynamicImport-Package>*</DynamicImport-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
