<?xml version="1.0" encoding="utf-8"?>
<!-- ~ Copyright (c) 2009-2010, WSO2 Inc. (http://www.wso2.org) All Rights 
	Reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); 
	~ you may not use this file except in compliance with the License. ~ You 
	may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 
	~ ~ Unless required by applicable law or agreed to in writing, software ~ 
	distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT 
	WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the 
	License for the specific language governing permissions and ~ limitations 
	under the License. -->

<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>logging</artifactId>
        <version>4.0.0</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.wso2.carbon.logging.summarizer</artifactId>
    <packaging>bundle</packaging>
    <version>4.0.2</version>
    <name>WSO2 Carbon - Logging Summarizer</name>
    <url>http://wso2.org</url>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-scr-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>

                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
                        <Bundle-Name>${project.artifactId}</Bundle-Name>
                        <Private-Package>org.wso2.carbon.logging.summarizer.internal</Private-Package>
                        <Export-Package>
                            org.wso2.carbon.logging.summarizer.core.*,
                            org.wso2.carbon.logging.summarizer.scriptCreator.*,
                            org.wso2.carbon.logging.summarizer.utils.*,
                            org.wso2.carbon.logging.summarizer.scheduler.*

                        </Export-Package>
                        <Import-Package>
                            !org.wso2.carbon.logging.summarizer.core.*,
                            !org.wso2.carbon.logging.summarizer.scriptCreator.*,
                            !org.wso2.carbon.logging.summarizer.utils.*,
                            !org.wso2.carbon.logging.summarizer.scheduler.*

                            org.apache.cassandra.*,
                            org.apache.axis2.*; version="${axis2.osgi.version.range}",
                            org.wso2.carbon.utils,
                            
                            *;resolution:=optional,
                            org.wso2.carbon.analytics.hive.*,

                        </Import-Package>
                        <DynamicImport-Package>*</DynamicImport-Package>

                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.axis2.wso2</groupId>
            <artifactId>axis2</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.utils</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.core</artifactId>
        </dependency>


        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.core.common</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-pool.wso2</groupId>
            <artifactId>commons-pool</artifactId>
            <version>1.5.0.wso2v1</version>
        </dependency>


        <!--Hector -->
        <dependency>
            <groupId>org.hectorclient</groupId>
            <artifactId>hector-core</artifactId>
            <version>${hector-core.version}</version>
        </dependency>

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>${slf4j.version}</version>
        </dependency>


        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.ntask.core</artifactId>
            <version>${carbon.platform.patch.version.401}</version>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.ntask.solutions</artifactId>
            <version>${carbon.platform.patch.version.401}</version>
        </dependency>

        <!--Hive-->
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.analytics.hive</artifactId>
            <version>4.0.2</version>
        </dependency>

    </dependencies>

    <properties>
         <carbon.platform.patch.version.401>4.0.1</carbon.platform.patch.version.401>
        <slf4j.version>1.6.1</slf4j.version>
        <cassandra.version>1.1.3.wso2v1</cassandra.version>
        <libthrift.version>0.7.0.wso2v2</libthrift.version>
        <hector-core.version>1.1-0</hector-core.version>
        <perf4j.version>0.9.12.wso2v1</perf4j.version>
        <highscale.version>1.0.wso2v1</highscale.version>
    </properties>
</project>

