<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
 Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<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>carbon-kernel-features</artifactId>
        <version>5.2.8</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>org.wso2.carbon.osgi.feature</artifactId>
    <packaging>carbon-feature</packaging>
    <name>WSO2 Carbon Kernel - OSGI Feature</name>
    <url>http://wso2.com</url>
    <description>
        This feature contains the core OSGI runtime related bundles and their dependencies
        Eg : (OSGi Runtime, Declarative Service Runtime, OSGi Console, etc)
    </description>

    <dependencies>
        <dependency>
            <groupId>org.wso2.eclipse.osgi</groupId>
            <artifactId>org.eclipse.osgi</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.osgi</groupId>
            <artifactId>org.eclipse.osgi.services</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.launcher.gtk.linux.x86</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.common</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.simpleconfigurator</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.util</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.ds</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.launcher</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.concurrent</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.frameworkadmin</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.frameworkadmin.equinox</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.console</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.gogo.command</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.gogo.shell</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.gogo.runtime</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.logging</groupId>
            <artifactId>pax-logging-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.logging</groupId>
            <artifactId>pax-logging-log4j2</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.cm</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.preferences</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.equinox</groupId>
            <artifactId>org.eclipse.equinox.simpleconfigurator.manipulator</artifactId>
        </dependency>
        <dependency>
            <groupId>org.wso2.eclipse.osgi</groupId>
            <artifactId>org.eclipse.osgi.compatibility.state</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.wso2.carbon.maven</groupId>
                <artifactId>carbon-feature-plugin</artifactId>
                <extensions>true</extensions>
                <executions>
                    <execution>
                        <id>1-p2-feature-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                        <configuration>

                            <propertyFile>../etc/feature.properties</propertyFile>
                            <adviceFileContents>
                                <advice>
                                    <name>org.eclipse.equinox.p2.type.group</name>
                                    <value>false</value>
                                </advice>
                            </adviceFileContents>
                            <bundles>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.common</symbolicName>
                                    <version>${equinox.common.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.simpleconfigurator</symbolicName>
                                    <version>${equinox.simpleconfigurator.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.ds</symbolicName>
                                    <version>${equinox.ds.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.launcher</symbolicName>
                                    <version>${equinox.launcher.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.util</symbolicName>
                                    <version>${equinox.util.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.osgi.services</symbolicName>
                                    <version>${equinox.osgi.services.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.osgi</symbolicName>
                                    <version>${equinox.osgi.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.concurrent</symbolicName>
                                    <version>${equinox.concurrent.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.frameworkadmin</symbolicName>
                                    <version>${equinox.frameworkadmin.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.frameworkadmin.equinox</symbolicName>
                                    <version>${equinox.frameworkadmin.equinox.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.preferences</symbolicName>
                                    <version>${equinox.preferences.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.simpleconfigurator.manipulator</symbolicName>
                                    <version>${equinox.simpleconfigurator.manipulator.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.console</symbolicName>
                                    <version>${equinox.console.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.apache.felix.gogo.command</symbolicName>
                                    <version>${apache.felix.gogo.command.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.apache.felix.gogo.runtime</symbolicName>
                                    <version>${apache.felix.gogo.runtime.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.apache.felix.gogo.shell</symbolicName>
                                    <version>${apache.felix.gogo.shell.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.logging.pax-logging-api</symbolicName>
                                    <version>${pax.logging.api.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.logging.pax-logging-log4j2</symbolicName>
                                    <version>${pax.logging.log4j2.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.cm</symbolicName>
                                    <version>${org.eclipse.equinox.cm.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.equinox.launcher.gtk.linux.x86</symbolicName>
                                    <version>${equinox.launcher.gtk.linux.x86.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.eclipse.osgi.compatibility.state</symbolicName>
                                    <version>${equinox.osgi.compatibility.state.version}</version>
                                </bundle>
                            </bundles>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
