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

    Copyright 2015-2016 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>46</version>
  </parent>

  <groupId>org.hawkular.agent</groupId>
  <artifactId>hawkular-wildfly-agent-parent</artifactId>
  <version>0.23.0.Final</version>
  <packaging>pom</packaging>

  <name>Hawkular Agent: Parent</name>
  <inceptionYear>2015</inceptionYear>

  <modules>
    <module>prometheus-scraper</module>
    <module>hawkular-dmr-client</module>
    <module>hawkular-wildfly-agent</module>
    <module>hawkular-wildfly-agent-download</module>
    <module>hawkular-wildfly-agent-feature-pack</module>
    <module>hawkular-wildfly-agent-wf-extension</module>
    <module>hawkular-wildfly-agent-itest-parent</module>
    <module>wildfly-module-installer</module>
    <module>hawkular-wildfly-agent-installer</module>
    <module>hawkular-wildfly-agent-installer-full</module>
    <module>hawkular-swarm-agents</module>
  </modules>

  <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.23.0.Final</tag>
  </scm>

  <properties>
    <version.commons.io>2.4</version.commons.io>
    <version.com.github.dblock>2.6.2</version.com.github.dblock>
    <version.com.samskivert.jmustache>1.11</version.com.samskivert.jmustache>
    <version.io.dropwizard.metrics>3.1.0</version.io.dropwizard.metrics>
    <version.io.prometheus.client>0.0.2</version.io.prometheus.client>
    <version.org.hamcrest>1.3</version.org.hamcrest>
    <version.org.hawkular.commons>0.7.10.Final</version.org.hawkular.commons>
    <version.org.hawkular.inventory>1.0.1.Final</version.org.hawkular.inventory>
    <version.org.hawkular.metrics>0.21.2.Final</version.org.hawkular.metrics>

    <version.org.jboss.aesh>0.66.7</version.org.jboss.aesh>
    <version.org.jgrapht>0.9.1</version.org.jgrapht>
    <version.org.jolokia>1.3.2</version.org.jolokia>
  </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.github.dblock</groupId>
        <artifactId>oshi-core</artifactId>
        <version>${version.com.github.dblock}</version>
      </dependency>

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

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

      <dependency>
        <groupId>io.prometheus.client</groupId>
        <artifactId>model</artifactId>
        <version>${version.io.prometheus.client}</version>
      </dependency>

      <dependency>
        <groupId>com.samskivert</groupId>
        <artifactId>jmustache</artifactId>
        <version>${version.com.samskivert.jmustache}</version>
        <scope>test</scope>
      </dependency>

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

      <dependency>
        <groupId>org.hawkular.commons</groupId>
        <artifactId>hawkular-nest-feature-pack</artifactId>
        <version>${version.org.hawkular.commons}</version>
        <type>zip</type>
      </dependency>

      <dependency>
        <groupId>org.hawkular.agent</groupId>
        <artifactId>hawkular-wildfly-agent-feature-pack</artifactId>
        <version>${project.version}</version>
        <type>zip</type>
      </dependency>

      <dependency>
        <groupId>org.hawkular.commons</groupId>
        <artifactId>hawkular-command-gateway-api</artifactId>
        <version>${version.org.hawkular.commons}</version>
      </dependency>

      <dependency>
        <groupId>org.hawkular.commons</groupId>
        <artifactId>hawkular-bus-common</artifactId>
        <version>${version.org.hawkular.commons}</version>
      </dependency>

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

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

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

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

      <dependency>
        <groupId>org.jboss.aesh</groupId>
        <artifactId>aesh</artifactId>
        <version>${version.org.jboss.aesh}</version>
      </dependency>

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

      <dependency>
        <groupId>org.jolokia</groupId>
        <artifactId>jolokia-client-java</artifactId>
        <version>${version.org.jolokia}</version>
      </dependency>

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

      <dependency>
        <groupId>org.wildfly.bom</groupId>
        <artifactId>wildfly-javaee7</artifactId>
        <version>${version.org.wildfly}</version>
        <type>pom</type>
        <scope>import</scope>
      </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.core</groupId>
        <artifactId>wildfly-host-controller</artifactId>
        <version>${version.org.wildfly.core}</version>
      </dependency>

      <dependency>
        <groupId>org.wildfly</groupId>
        <artifactId>wildfly-naming</artifactId>
        <version>${version.org.wildfly}</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>
