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

	<parent>
		<groupId>org.wso2.carbon</groupId>
		<artifactId>cep-statistics-feature</artifactId>
		<version>4.0.2</version>
		<relativePath>../../pom.xml</relativePath>
    </parent>

    <version>4.0.2</version>
    <modelVersion>4.0.0</modelVersion>
	<artifactId>org.wso2.carbon.cep.statistics.feature</artifactId>
	<packaging>pom</packaging>
	<name>WSO2 Carbon - CEP Statistics Feature</name>
	<url>http://wso2.org</url>
	<description>
        This feature contains the bundles required for CEP Statistics functionality.
    </description>

	<dependencies>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.cep.statistics.server.feature</artifactId>
			<version>${project.version}</version>
			<type>zip</type>
		</dependency>
		<dependency>
			<groupId>org.wso2.carbon</groupId>
			<artifactId>org.wso2.carbon.cep.statistics.ui.feature</artifactId>
			<version>${project.version}</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.cep.statistics</id>
							<propertiesFile>../feature.properties</propertiesFile>
							<importFeatures>
								<importFeatureDef>org.wso2.carbon.core:4.0.2</importFeatureDef>
							</importFeatures>
							<includedFeatures>
								<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cep.statistics.server.feature</includedFeatureDef>
								<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cep.statistics.ui.feature</includedFeatureDef>
							</includedFeatures>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>

</project>
