<?xml version="1.0" encoding="UTF-8"?>
<!-- vi: set et smarttab sw=4 tabstop=4: -->
<!--
 Copyright (c) 2016 Hewlett Packard Enterprise, Co. 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>odlparent-lite</artifactId>
      <version>3.1.6</version>
      <relativePath/>
    </parent>

    <groupId>org.opendaylight.infrautils</groupId>
    <artifactId>infrautils-artifacts</artifactId>
    <version>1.4.2</version>
    <packaging>pom</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 :: infrautils :: ${project.artifactId}</name>

    <dependencyManagement>
        <dependencies>
            <!-- APIs & runtime utilities -->
            <dependency>
              <groupId>${project.groupId}</groupId>
             <artifactId>caches-api</artifactId>
              <version>${project.version}</version>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>diagstatus-api</artifactId>
              <version>${project.version}</version>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>infrautils-util</artifactId>
              <version>${project.version}</version>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>inject</artifactId>
              <version>${project.version}</version>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>jobcoordinator-api</artifactId>
              <version>${project.version}</version>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>metrics-api</artifactId>
              <version>${project.version}</version>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>ready-api</artifactId>
              <version>${project.version}</version>
            </dependency>

            <!-- Implementations, should not be used as dependencies in normal ODL OSGi bundles (because provided by Karaf), but used e.g. by simple distribution -->
            <dependency>
              <groupId>org.opendaylight.infrautils</groupId>
              <artifactId>caches-standard-impl</artifactId>
              <version>${project.version}</version>
            </dependency>

            <!-- Test utilities -->
            <dependency>
              <groupId>org.opendaylight.infrautils</groupId>
              <artifactId>infrautils-testutils</artifactId>
              <version>${project.version}</version>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>inject.guice.testutils</artifactId>
              <version>${project.version}</version>
              <scope>test</scope>
            </dependency>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>itestutils</artifactId>
              <version>${project.version}</version>
              <scope>test</scope>
            </dependency>

            <!-- Karaf features -->
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>infrautils-features</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>odl-infrautils-all</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>odl-infrautils-caches</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>odl-infrautils-diagstatus</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>odl-infrautils-inject</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>odl-infrautils-jobcoordinator</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>odl-infrautils-ready</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>odl-infrautils-utils</artifactId>
                <version>${project.version}</version>
                <type>xml</type>
                <classifier>features</classifier>
            </dependency>
        </dependencies>
    </dependencyManagement>

  <!--
      Maven Site Configuration

      The following configuration is necessary for maven-site-plugin to
      correctly identify the correct deployment path for OpenDaylight Maven
      sites.
  -->
  <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>

  <distributionManagement>
    <site>
      <id>opendaylight-site</id>
      <url>${nexus.site.url}/${project.artifactId}/</url>
    </site>
  </distributionManagement>
</project>
