<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-parent</artifactId>
        <version>1.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.wso2.carbon.server.admin</artifactId>
    <packaging>bundle</packaging>
    <name>org.wso2.carbon.server.admin</name>
    <description>org.wso2.carbon.server.admin</description>
    <url>http://wso2.org</url>

    <dependencies>


        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.core</artifactId>
        </dependency>

        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.utils</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-stax-api_1.0_spec</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.registry.service</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-stax-api_1.0_spec</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.statistics</artifactId>
            <version>1.0</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-Version>1.0.0</Bundle-Version>
                        <Bundle-Name>org.wso2.carbon.server.admin</Bundle-Name>
                        <Bundle-Vendor>WSO2 Inc</Bundle-Vendor>
                        <Bundle-Description>OSGi Bundle for Carbon Admin</Bundle-Description>
                        <Bundle-SymbolicName>org.wso2.carbon.server.admin</Bundle-SymbolicName>
                        <Private-Package>
                            org.wso2.carbon.server.admin.internal
                        </Private-Package>
                        <Bundle-Activator>org.wso2.carbon.server.admin.internal.Activator</Bundle-Activator>
                        <Export-Package>
                            !org.wso2.carbon.server.admin.internal,
                            org.wso2.carbon.server.admin.*
                        </Export-Package>
                        <Import-Package>
                            org.osgi.framework.*,
                            org.apache.axis2.*,
                            org.apache.commons.logging.*,
                            org.wso2.carbon.utils.*,
                            org.apache.neethi.*,
                            org.wso2.carbon.core.*,
                            org.wso2.carbon.statistics.services.*,
                            org.osgi.util.tracker.*,
                            *;resolution:=optional
                        </Import-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
