<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2015 Red Hat, Inc. and/or its affiliates
    and other contributors as indicated by the @author tags.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.hawkular</groupId>
    <artifactId>hawkular-parent</artifactId>
    <version>17</version>
  </parent>

  <groupId>org.hawkular.agent</groupId>
  <artifactId>hawkular-agent-parent</artifactId>
  <version>0.2.2</version>
  <packaging>pom</packaging>
  <name>Hawkular Agent Parent</name>
  <inceptionYear>2015</inceptionYear>

  <scm>
    <connection>scm:git:git@github.com:hawkular/hawkular-agent.git</connection>
    <developerConnection>scm:git:git@github.com:hawkular/hawkular-agent.git</developerConnection>
    <url>https://github.com/hawkular/hawkular-agent</url>
    <tag>0.2.2</tag>
  </scm>

  <modules>
    <module>hawkular-dmr-client</module>
    <module>hawkular-wildfly-monitor</module>
  </modules>

  <properties>
    <version.io.dropwizard.metrics>3.1.0</version.io.dropwizard.metrics>
    <version.org.apache.httpcomponents>4.4.1</version.org.apache.httpcomponents>
    <version.org.hawkular.bus>0.1.1</version.org.hawkular.bus>
    <version.org.hawkular.inventory>0.1.0.Alpha2</version.org.hawkular.inventory>
    <version.org.hawkular.metrics>0.4.0.Final</version.org.hawkular.metrics>
    <!-- START DELETE WHEN WE MOVE TO PARENT POM 18+ -->
    <version.org.jboss.msc>1.2.6.Final</version.org.jboss.msc>
    <version.org.jboss.jboss-dmr>1.3.0.Final</version.org.jboss.jboss-dmr>
    <!-- END DELETE WHEN WE MOVE TO PARENT POM 18+ -->
    <version.org.jgrapht>0.9.1</version.org.jgrapht>
  </properties>

  <dependencyManagement>
    <dependencies>
      <!-- CONVENTIONS: -->
      <!-- - Dependencies must be SORTED ALPHABETICALLY on groupId -->
      <!-- - Do not declare <scope> (exception: import) or <optional>: a child module will declare scope/optional itself. -->
      <!-- - Always extract the version as a property. -->
      <!-- - A element's inner order is <groupId>, <artifactId>, [<type>,] [<classifier>,] <version> -->

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

      <dependency>
        <groupId>io.dropwizard.metrics</groupId>
        <artifactId>metrics-core</artifactId>
        <version>${version.io.dropwizard.metrics}</version>
      </dependency>

      <dependency>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
        <version>${version.org.apache.httpcomponents}</version>
      </dependency>

      <dependency>
        <groupId>org.hawkular.bus</groupId>
        <artifactId>hawkular-bus-rest-client</artifactId>
        <version>${version.org.hawkular.bus}</version>
      </dependency>

      <dependency>
        <groupId>org.hawkular.inventory</groupId>
        <artifactId>inventory-api</artifactId>
        <version>${version.org.hawkular.inventory}</version>
      </dependency>

      <dependency>
        <groupId>org.hawkular.metrics</groupId>
        <artifactId>clients-common</artifactId>
        <version>${version.org.hawkular.metrics}</version>
      </dependency>

      <!-- START DELETE WHEN WE MOVE TO PARENT POM 18+ -->
      <dependency>
        <groupId>org.jboss.msc</groupId>
        <artifactId>jboss-msc</artifactId>
        <version>${version.org.jboss.msc}</version>
      </dependency>

      <dependency>
        <groupId>org.jboss</groupId>
        <artifactId>jboss-dmr</artifactId>
        <version>${version.org.jboss.jboss-dmr}</version>
      </dependency>
      <!-- END DELETE WHEN WE MOVE TO PARENT POM 18+ -->

      <dependency>
        <groupId>org.jgrapht</groupId>
        <artifactId>jgrapht-core</artifactId>
        <version>${version.org.jgrapht}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly.core</groupId>
        <artifactId>wildfly-controller</artifactId>
        <version>${version.org.wildfly.core}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly.core</groupId>
        <artifactId>wildfly-controller-client</artifactId>
        <version>${version.org.wildfly.core}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-dist</artifactId>
        <version>${version.org.wildfly}</version>
        <type>zip</type>
      </dependency>

      <dependency>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-naming</artifactId>
        <version>${version.org.wildfly}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly.core</groupId>
        <artifactId>wildfly-server</artifactId>
        <version>${version.org.wildfly.core}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly.core</groupId>
        <artifactId>wildfly-subsystem-test</artifactId>
        <version>${version.org.wildfly.core}</version>
        <type>pom</type>
      </dependency>

      <dependency>
        <groupId>org.wildfly.core</groupId>
        <artifactId>wildfly-subsystem-test-framework</artifactId>
        <version>${version.org.wildfly.core}</version>
      </dependency>

    </dependencies>
  </dependencyManagement>

</project>

