<?xml version="1.0" encoding="UTF-8"?>
<!--
 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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.wso2.carbon</groupId>
        <artifactId>pax-exam-container-carbon</artifactId>
        <version>5.2.2</version>
    </parent>

    <artifactId>org.wso2.carbon.pax.exam.feature</artifactId>
    <packaging>carbon-feature</packaging>
    <name>WSO2 Carbon Kernel - Pax Exam Feature</name>
    <url>http://wso2.com</url>

    <dependencies>
        <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-lang</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-monitors</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-net</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-store</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-io</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-spi</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-util-property</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.swissbox</groupId>
            <artifactId>pax-swissbox-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.swissbox</groupId>
            <artifactId>pax-swissbox-extender</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.swissbox</groupId>
            <artifactId>pax-swissbox-lifecycle</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.swissbox</groupId>
            <artifactId>pax-swissbox-tracker</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.swissbox</groupId>
            <artifactId>pax-swissbox-framework</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.exam</groupId>
            <artifactId>pax-exam</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.exam</groupId>
            <artifactId>pax-exam-extender-service</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.exam</groupId>
            <artifactId>pax-exam-container-rbc</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.exam</groupId>
            <artifactId>pax-exam-inject</artifactId>
        </dependency>
        <dependency>
            <groupId>org.ops4j.pax.tipi</groupId>
            <artifactId>org.ops4j.pax.tipi.hamcrest.core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-atinject_1.0_spec</artifactId>
        </dependency>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</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>../../features/etc/feature.properties</propertyFile>
                            <adviceFileContents>
                                <advice>
                                    <name>org.eclipse.equinox.p2.type.group</name>
                                    <value>false</value>
                                </advice>
                            </adviceFileContents>
                            <bundles>
                                <bundle>
                                    <symbolicName>org.ops4j.base.lang</symbolicName>
                                    <version>${dependency.base.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.base.monitors</symbolicName>
                                    <version>${dependency.base.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.base.net</symbolicName>
                                    <version>${dependency.base.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.base.store</symbolicName>
                                    <version>${dependency.base.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.base.io</symbolicName>
                                    <version>${dependency.base.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.base.spi</symbolicName>
                                    <version>${dependency.base.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.base.util.property</symbolicName>
                                    <version>${dependency.base.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.swissbox.core</symbolicName>
                                    <version>${dependency.swissbox.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.swissbox.extender</symbolicName>
                                    <version>${dependency.swissbox.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.swissbox.lifecycle</symbolicName>
                                    <version>${dependency.swissbox.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.swissbox.tracker</symbolicName>
                                    <version>${dependency.swissbox.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.swissbox.framework</symbolicName>
                                    <version>${dependency.swissbox.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.exam</symbolicName>
                                    <version>${pax.exam.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.exam.extender.service</symbolicName>
                                    <version>${pax.exam.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.exam.rbc</symbolicName>
                                    <version>${pax.exam.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.exam.inject</symbolicName>
                                    <version>${pax.exam.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.ops4j.pax.tipi.hamcrest.core</symbolicName>
                                    <version>${dependency.tipi.hamcrest.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.apache.geronimo.specs.geronimo-atinject_1.0_spec</symbolicName>
                                    <version>${geronimo.atinject.spec.version}</version>
                                </bundle>
                                <bundle>
                                    <symbolicName>org.testng</symbolicName>
                                    <version>${testng.version}</version>
                                </bundle>
                            </bundles>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>