<?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>
        <artifactId>bam2-feature</artifactId>
        <groupId>org.wso2.carbon</groupId>
        <version>4.2.0</version>
	<relativePath>../../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>
       <artifactId>org.wso2.carbon.bam.toolbox.deployer.ui.feature</artifactId>
       <packaging>pom</packaging>
       <version>4.2.2</version>
       <name>WSO2 Carbon - BAM Tool Box Deployer UI Feature</name>
       <url>http://wso2.org</url>
       <description>This feature contains the bundles required for Front-end BAM Tool Box Deployer functionality</description>


       <dependencies>
		<dependency>
		    <groupId>org.wso2.carbon</groupId>
		    <artifactId>org.wso2.carbon.bam.toolbox.deployer.ui</artifactId>
                    <version>4.2.2</version>
		</dependency>
		<dependency>
		    <groupId>org.wso2.carbon</groupId>
		    <artifactId>org.wso2.carbon.bam.toolbox.deployer.stub</artifactId>
		    <version>4.2.0</version>
		</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.bam.toolbox.deployer.ui</id>
                            <propertiesFile>../feature.properties</propertiesFile>
                            <adviceFile>
                                <properties>
                                    <propertyDef>org.wso2.carbon.p2.category.type:console</propertyDef>
                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
                                </properties>
                            </adviceFile>
                            <bundles>
                                <bundleDef>org.wso2.carbon:org.wso2.carbon.bam.toolbox.deployer.ui:4.2.2</bundleDef>
                                <bundleDef>org.wso2.carbon:org.wso2.carbon.bam.toolbox.deployer.stub</bundleDef>
                            </bundles>
                            <importFeatures>
                                <importFeatureDef>org.wso2.carbon.core.ui:${wso2carbon.version.bam2}</importFeatureDef>
                            </importFeatures>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
