<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>
        <artifactId>netconf-subsystem</artifactId>
        <groupId>org.opendaylight.controller</groupId>
        <version>0.2.3</version>
    </parent>
    <artifactId>config-persister-impl</artifactId>
    <name>${project.artifactId}</name>
    <packaging>bundle</packaging>

    <dependencies>
        <!-- compile dependencies -->
        <dependency>
            <groupId>org.opendaylight.controller</groupId>
            <artifactId>config-persister-api</artifactId>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>netconf-api</artifactId>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>netconf-client</artifactId>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>netconf-util</artifactId>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
        </dependency>
        <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.opendaylight.controller</groupId>
            <artifactId>config-persister-file-xml-adapter</artifactId>
            <scope>test</scope>
            <version>${config.version}</version>
        </dependency>

        <!-- test dependencies -->
        <dependency>
            <groupId>org.opendaylight.yangtools</groupId>
            <artifactId>mockito-configuration</artifactId>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.opendaylight.controller</groupId>
            <artifactId>config-persister-directory-xml-adapter</artifactId>
            <version>${config.version}</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <configuration>
                    <instructions>
                        <Bundle-Activator>org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator
                        </Bundle-Activator>
                        <Require-Capability>org.opendaylight.controller.config.persister.storage.adapter
                        </Require-Capability>
                        <Import-Package>
                            com.google.common.base,
                            com.google.common.collect,
                            javax.management,
                            javax.xml.parsers,
                            org.opendaylight.controller.config.persist.api,
                            org.opendaylight.controller.netconf.api,
                            org.opendaylight.controller.netconf.api.jmx,
                            org.opendaylight.controller.netconf.client,
                            org.opendaylight.controller.netconf.util.osgi,
                            org.opendaylight.controller.netconf.util.xml,
                            org.opendaylight.controller.netconf.util.messages,
                            io.netty.channel,
                            io.netty.channel.nio,
                            io.netty.util.concurrent,
                            org.osgi.framework,
                            org.slf4j,
                            org.w3c.dom,
                            org.xml.sax,
                            javax.xml.namespace,
                            javax.xml.xpath,
                            org.opendaylight.controller.config.api,
                            org.opendaylight.controller.netconf.util
                        </Import-Package>
                        <Export-Package>
                        </Export-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
