<?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>fabric-runtime</artifactId>
        <groupId>io.fabric8.runtime</groupId>
        <version>1.1.0.Beta5</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <groupId>io.fabric8.runtime</groupId>
    <artifactId>embedded</artifactId>
    <name>Fabric8 :: Runtime :: Embedded</name>
    <packaging>bundle</packaging>

    <properties>
        <fuse.osgi.import>*</fuse.osgi.import>
        <fuse.osgi.export>
        </fuse.osgi.export>
        <fuse.osgi.private.pkg>
            io.fabric8.runtime.embedded.registration,
            io.fabric8.utils;-split-package:=first
        </fuse.osgi.private.pkg>

        <fuse.osgi.service.component>
            <!-- Use explicit file locations because there is no support for wildcard resource discovery in non-osgi environments -->
            OSGI-INF/io.fabric8.runtime.embedded.registration.EmbeddedContainerRegistration.xml
        </fuse.osgi.service.component>
    </properties>

    <dependencies>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>fabric-api</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>fabric-core</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>fabric-zookeeper</artifactId>
        </dependency>
        <dependency>
            <groupId>io.fabric8</groupId>
            <artifactId>fabric-utils</artifactId>
        </dependency>

        <!-- Provided Dependencies -->
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.scr</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.felix</groupId>
            <artifactId>org.apache.felix.scr.annotations</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.core</artifactId>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.enterprise</artifactId>
            <scope>provided</scope>
        </dependency>
    </dependencies>


    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-scr-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>scr</goal>
                        </goals>
                        <configuration>
                            <specVersion>1.2</specVersion>
                            <strictMode>false</strictMode>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Gravia-Enabled>true</Gravia-Enabled>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>