<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2015 Red Hat, Inc. and/or its affiliates.
  ~
  ~ Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
  -->
<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>io.thorntail</groupId>
    <artifactId>build-parent</artifactId>
    <version>2.5.1.Final-redhat-00010</version>
    <relativePath>../../build-parent/pom.xml</relativePath>
  </parent>

  <groupId>io.thorntail</groupId>
  <artifactId>netflix-parent</artifactId>

  <name>Netflix</name>
  <description>Netflix</description>

  <packaging>pom</packaging>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>archaius</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>hystrix</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>ribbon</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>ribbon-secured</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>ribbon-secured-client</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>netflix-rxjava</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>netflix-rxnetty</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>
      <dependency>
        <groupId>io.thorntail</groupId>
        <artifactId>servo</artifactId>
        <version>2.5.1.Final-redhat-00010</version>
      </dependency>

      <dependency>
        <groupId>com.google.guava</groupId>
        <artifactId>guava</artifactId>
        <version>${version.guava}</version>
        <exclusions>
          <exclusion>
            <groupId>com.google.code.findbugs</groupId>
            <artifactId>jsr305</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.checkerframework</groupId>
            <artifactId>checker-compat-qual</artifactId>
          </exclusion>
          <exclusion>
            <groupId>com.google.errorprone</groupId>
            <artifactId>error_prone_annotations</artifactId>
          </exclusion>
          <exclusion>
            <groupId>com.google.j2objc</groupId>
            <artifactId>j2objc-annotations</artifactId>
          </exclusion>
          <exclusion>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>animal-sniffer-annotations</artifactId>
          </exclusion>
        </exclusions>
      </dependency>

      <dependency>
        <groupId>com.netflix.archaius</groupId>
        <artifactId>archaius-core</artifactId>
        <version>${version.archaius}</version>
      </dependency>

      <dependency>
        <groupId>commons-configuration</groupId>
        <artifactId>commons-configuration</artifactId>
        <version>${version.commons-configuration}</version>
      </dependency>

      <dependency>
        <groupId>com.google.code.findbugs</groupId>
        <artifactId>annotations</artifactId>
        <version>${version.findbugs}</version>
      </dependency>

      <dependency>
        <groupId>com.netflix.hystrix</groupId>
        <artifactId>hystrix-core</artifactId>
        <version>${version.hystrix}</version>
      </dependency>
      <dependency>
        <groupId>com.netflix.hystrix</groupId>
        <artifactId>hystrix-metrics-event-stream</artifactId>
        <version>${version.hystrix}</version>
      </dependency>

      <dependency>
        <groupId>com.netflix.ribbon</groupId>
        <artifactId>ribbon-transport</artifactId>
        <version>${version.ribbon}</version>
      </dependency>
      <dependency>
        <groupId>com.netflix.ribbon</groupId>
        <artifactId>ribbon</artifactId>
        <version>${version.ribbon}</version>
      </dependency>
      <dependency>
        <groupId>com.netflix.ribbon</groupId>
        <artifactId>ribbon-core</artifactId>
        <version>${version.ribbon}</version>
      </dependency>
      <dependency>
        <groupId>com.netflix.ribbon</groupId>
        <artifactId>ribbon-loadbalancer</artifactId>
        <version>${version.ribbon}</version>
      </dependency>

      <dependency>
        <groupId>io.reactivex</groupId>
        <artifactId>rxjava</artifactId>
        <version>${version.rxjava}</version>
      </dependency>
      <dependency>
        <groupId>io.reactivex</groupId>
        <artifactId>rxnetty</artifactId>
        <version>${version.rxnetty}</version>
      </dependency>
      <dependency>
        <groupId>io.reactivex</groupId>
        <artifactId>rxnetty-contexts</artifactId>
        <version>${version.rxnetty}</version>
      </dependency>
      <dependency>
        <groupId>io.reactivex</groupId>
        <artifactId>rxnetty-servo</artifactId>
        <version>${version.rxnetty}</version>
      </dependency>
      <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty-buffer</artifactId>
        <version>${version.netty}</version>
      </dependency>
      <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty-all</artifactId>
        <version>${version.netty}</version>
      </dependency>

      <dependency>
        <groupId>com.netflix.servo</groupId>
        <artifactId>servo-core</artifactId>
        <version>${version.servo}</version>
      </dependency>
      <dependency>
        <groupId>com.netflix.servo</groupId>
        <artifactId>servo-internal</artifactId>
        <version>${version.servo}</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <modules>
    <module>hystrix</module>
    <module>archaius</module>
    <module>rxjava</module>
  </modules>

  <profiles>
    <profile>
      <id>unsupported</id>
      <activation>
        <property>
          <name>!swarm.product.build</name>
        </property>
      </activation>
      <modules>
        <module>ribbon</module>
        <module>ribbon-secured</module>
        <module>ribbon-secured-client</module>
        <module>rxnetty</module>
        <module>servo</module>
      </modules>

    </profile>
  </profiles>

</project>
