<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>ndatasource-feature</artifactId>
		<groupId>org.wso2.carbon.commons</groupId>
		<version>4.9.3</version>
	<relativePath>../pom.xml</relativePath>
	</parent>
  
  <modelVersion>4.0.0</modelVersion>
  <artifactId>org.wso2.carbon.ndatasource.ui.feature</artifactId>
  <packaging>pom</packaging>
  <name>WSO2 Carbon - New Datasource Management UI Feature</name>
  <description>This feature contains the bundles required for Front-end Datasource Management functionality</description>
  
   <dependencies>
        <dependency>
            <groupId>org.wso2.carbon.commons</groupId>
            <artifactId>org.wso2.carbon.ndatasource.ui</artifactId>
        </dependency>
         <dependency>
            <groupId>org.wso2.carbon.commons</groupId>
            <artifactId>org.wso2.carbon.ndatasource.stub</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.wso2.maven</groupId>
                <artifactId>carbon-p2-plugin</artifactId>
                <version>${carbon.p2.plugin.version}</version>
                <executions>
                    <execution>
                        <id>4-p2-feature-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-feature-gen</goal>
                        </goals>
                        <configuration>
                            <id>org.wso2.carbon.ndatasource.ui</id>
                            <propertiesFile>../../../etc/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.commons:org.wso2.carbon.ndatasource.ui</bundleDef>
                                <bundleDef>org.wso2.carbon.commons:org.wso2.carbon.ndatasource.stub</bundleDef>
                            </bundles>
                            <importFeatures>
                                <importFeatureDef>
                                    org.wso2.carbon.core.ui:compatible:${carbon.kernel.feature.version}
                                </importFeatureDef>
                            </importFeatures>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
