<?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/xsd/maven-4.0.0.xsd">

	<parent>
        <groupId>org.wso2.carbon</groupId>
        <artifactId>data-bridge-feature</artifactId>
        <version>4.2.0</version>
	<relativePath>../../pom.xml</relativePath>
	</parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.wso2.carbon.databridge.cassandra.feature</artifactId>
    <packaging>pom</packaging>
    <name>WSO2 Carbon - Data Bridge - All Cassandra Features Aggregator Feature</name>
    <url>http://wso2.org</url>
    <version>4.2.2</version>
    <description>
        The aggregator feature containing all Cassandra Features of data bridge
    </description>

    <dependencies>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.databridge.datasink.cassandra.server.feature</artifactId>
            <version>4.2.2</version>
            <type>zip</type>
        </dependency>
        <!--dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.databridge.streamdefn.cassandra.server.feature</artifactId>
            <version>4.2.1</version>
            <type>zip</type>
        </dependency-->        
    </dependencies>


	<build>
		<plugins>
			<plugin>
				<groupId>org.wso2.maven</groupId>
				<artifactId>carbon-p2-plugin</artifactId>
				<version>${carbon.p2.plugin.version}</version>
				<executions>
					<execution>
						<id>p2-feature-generation</id>
						<phase>package</phase>
						<goals>
							<goal>p2-feature-gen</goal>
						</goals>
						<configuration>
                            <id>org.wso2.carbon.databridge.cassandra</id>
							<propertiesFile>../../../etc/feature.properties</propertiesFile>
							<importFeatures>
								<importFeatureDef>org.wso2.carbon.core:${carbon.platform.version}</importFeatureDef>
							</importFeatures>
                            <includedFeatures>
                                <!--includedFeatureDef>org.wso2.carbon:org.wso2.carbon.databridge.streamdefn.cassandra.server.feature:4.2.1</includedFeatureDef-->
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.databridge.datasink.cassandra.server.feature:4.2.2</includedFeatureDef>
                            </includedFeatures>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
     <properties>
    </properties>

</project>
