<?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.0.0</version>
		<relativePath>../../pom.xml</relativePath>
	</parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.wso2.carbon.databridge.datareceiver.feature</artifactId>
    <packaging>pom</packaging>
    <version>4.0.2</version>
    <name>WSO2 Carbon - Data Bridge - Data Receiver Aggregate Feature</name>
    <url>http://wso2.org</url>

    <dependencies>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.databridge.core.server.feature</artifactId>
            <version>${carbon.platform.patch.version.402}</version>
            <type>zip</type>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.databridge.commons.server.feature</artifactId>
            <version>${carbon.platform.version}</version>
            <type>zip</type>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.databridge.commons.thrift.server.feature</artifactId>
            <version>${carbon.platform.patch.version.402}</version>
            <type>zip</type>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.databridge.receiver.thrift.server.feature</artifactId>
            <version>${carbon.platform.patch.version.402}</version>
            <type>zip</type>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.databridge.receiver.restapi.server.feature</artifactId>
            <version>${carbon.platform.patch.version.402}</version>
            <type>zip</type>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.jaxws.webapp.mgt.server.feature</artifactId>
            <version>${carbon.platform.patch.version.402}</version>
            <type>zip</type>
        </dependency>
        <dependency>
            <groupId>org.wso2.carbon</groupId>
            <artifactId>org.wso2.carbon.webapp.mgt.server.feature</artifactId>
            <version>${carbon.platform.patch.version.402}</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.datareceiver</id>
							<propertiesFile>../feature.properties</propertiesFile>
							<importFeatures>
								<importFeatureDef>org.wso2.carbon.core:${carbon.platform.patch.version.402}</importFeatureDef>
							</importFeatures>
                            <includedFeatures>
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.databridge.core.server.feature:${carbon.platform.patch.version.402}</includedFeatureDef>
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.databridge.commons.server.feature:${carbon.platform.version}</includedFeatureDef>
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.databridge.commons.thrift.server.feature:${carbon.platform.patch.version.402}</includedFeatureDef>
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.databridge.receiver.thrift.server.feature:${carbon.platform.patch.version.402}</includedFeatureDef>
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.databridge.receiver.restapi.server.feature:${carbon.platform.patch.version.402}</includedFeatureDef>
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.jaxws.webapp.mgt.server.feature:${carbon.platform.patch.version.402}</includedFeatureDef>
                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.webapp.mgt.server.feature:${carbon.platform.patch.version.402}</includedFeatureDef>
                            </includedFeatures>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <properties>
        <carbon.platform.patch.version.401>4.0.1</carbon.platform.patch.version.401>
        <carbon.platform.patch.version.402>4.0.2</carbon.platform.patch.version.402>
        <carbon.platform.version>4.0.0</carbon.platform.version>
    </properties>
</project>
