<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (c) 2017 Cisco Systems, Inc. and others.  All rights reserved.

 This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0 which accompanies this distribution,
 and is available at http://www.eclipse.org/legal/epl-v10.html
 -->
<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.opendaylight.odlparent</groupId>
        <artifactId>single-feature-parent</artifactId>
        <version>9.0.8</version>
        <relativePath/>
    </parent>
    <groupId>org.opendaylight.integration</groupId>
    <artifactId>odl-integration-all</artifactId>
    <!-- TODO: Diferent name? -->
    <version>0.15.1</version>
    <packaging>feature</packaging>
    <!-- <name> formatting is used by autorelease to parse and notify projects on
         build failure. Please do not modify this unless you have a good reason. -->
    <name>ODL :: integration :: ${project.artifactId}</name>
    <description>Single feature containing all features separately compatible with odl-integration-compatible-with-all.</description>
    <url>https://wiki.opendaylight.org/x/ggYF</url>
    <licenses>
        <license>
            <name>Eclipse Public License v1.0</name>
            <url>http://www.eclipse.org/legal/epl-v10.html</url>
        </license>
    </licenses>
    <!-- FIXME: Add developers section -->
    <scm>
        <connection>scm:git:https://git.opendaylight.org/gerrit/integration/distribution.git</connection>
        <developerConnection>scm:git:ssh://git.opendaylight.org:29418/integration/distribution.git</developerConnection>
        <url>https://git.opendaylight.org/gerrit/gitweb?p=integration/distribution.git;a=tree;f=features/singles/odl-integration-all;hb=HEAD</url>
        <tag>HEAD</tag>
    </scm>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>all-artifacts</artifactId>
                <version>${project.version}</version>
                <scope>import</scope>
                <type>pom</type>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>odl-integration-compatible-with-all</artifactId>
            <type>xml</type>
            <classifier>features</classifier>
        </dependency>
    </dependencies>

    <!-- External single feature dependencies in alphabetical order -->
    <profiles>
        <!-- Netconf -->
        <profile>
            <id>netconf</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.opendaylight.netconf</groupId>
                    <artifactId>odl-netconf-callhome-ssh</artifactId>
                    <classifier>features</classifier>
                    <type>xml</type>
                </dependency>
                <dependency>
                    <groupId>org.opendaylight.netconf</groupId>
                    <artifactId>odl-netconf-console</artifactId>
                    <classifier>features</classifier>
                    <type>xml</type>
                </dependency>
                <dependency>
                    <groupId>org.opendaylight.netconf</groupId>
                    <artifactId>odl-netconf-mdsal</artifactId>
                    <type>xml</type>
                    <classifier>features</classifier>
                </dependency>
                <dependency>
                    <groupId>org.opendaylight.netconf</groupId>
                    <artifactId>odl-netconf-topology</artifactId>
                    <type>xml</type>
                    <classifier>features</classifier>
                </dependency>
                <dependency>
                    <groupId>org.opendaylight.netconf</groupId>
                    <artifactId>odl-netconf-clustered-topology</artifactId>
                    <type>xml</type>
                    <classifier>features</classifier>
                </dependency>
            </dependencies>
        </profile>
        <!-- Serviceutils -->
        <profile>
            <id>serviceutils</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>org.opendaylight.serviceutils</groupId>
                    <artifactId>odl-serviceutils-srm</artifactId>
                    <type>xml</type>
                    <classifier>features</classifier>
                </dependency>
                <dependency>
                    <groupId>org.opendaylight.serviceutils</groupId>
                    <artifactId>odl-serviceutils-tools</artifactId>
                    <type>xml</type>
                    <classifier>features</classifier>
                </dependency>
            </dependencies>
        </profile>
    </profiles>
</project>
