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

<!--
 ~  Copyright 2017 Red Hat, Inc.
 ~
 ~  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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>io.smallrye</groupId>
    <artifactId>smallrye-parent</artifactId>
    <version>1</version>
  </parent>

  <artifactId>smallrye-metrics-parent</artifactId>
  <version>1.1.1</version>

  <packaging>pom</packaging>
  <name>SmallRye: MicroProfile Metrics Parent</name>

  <properties>
    <version.microprofile-config>1.3</version.microprofile-config>
    <version.microprofile-metrics>1.1</version.microprofile-metrics>

    <version.smallrye.config>1.3.1</version.smallrye.config>

    <version.annotation-api>1.2</version.annotation-api>
    <version.arquillian>1.4.0.Final</version.arquillian>
    <version.arquillian-weld-embedded>2.0.0.Final</version.arquillian-weld-embedded>
    <version.arquillian.wildfly>2.1.0.Final</version.arquillian.wildfly>
    <version.assertj>3.10.0</version.assertj>
    <version.cdi>1.2</version.cdi>
    <version.javax.json>1.1.2</version.javax.json>
    <version.glassfish.javax.json>1.1.2</version.glassfish.javax.json>

    <version.jboss.servlet>1.0.0.Final</version.jboss.servlet>
    <version.junit>4.12</version.junit>
    <version.org.jboss.logging.jboss-logging>3.3.1.Final</version.org.jboss.logging.jboss-logging>
    <version.org.jboss.weld.weld>2.4.3.Final</version.org.jboss.weld.weld>
    <version.weld>2.4.7.Final</version.weld>
    <!-- Used by smallrye-metrics-rest-tck to download WildFly Servlet distribution -->
    <version.wildfly>13.0.0.Final</version.wildfly>
  </properties>

  <scm>
    <connection>scm:git:git@github.com:smallrye/smallrye-metrics.git</connection>
    <developerConnection>scm:git:git@github.com:smallrye/smallrye-metrics.git</developerConnection>
    <url>https://github.com/smallrye/smallrye-metrics/</url>
    <tag>1.1.1</tag>
  </scm>

  <modules>
    <module>implementation</module>
    <module>testsuite</module>
  </modules>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.eclipse.microprofile.config</groupId>
        <artifactId>microprofile-config-api</artifactId>
        <version>${version.microprofile-config}</version>
      </dependency>
      <dependency>
        <groupId>org.eclipse.microprofile.metrics</groupId>
        <artifactId>microprofile-metrics-api</artifactId>
        <version>${version.microprofile-metrics}</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.logging</groupId>
        <artifactId>jboss-logging</artifactId>
        <version>${version.org.jboss.logging.jboss-logging}</version>
      </dependency>
      <dependency>
        <groupId>javax.annotation</groupId>
        <artifactId>javax.annotation-api</artifactId>
        <version>${version.annotation-api}</version>
      </dependency>
      <dependency>
        <groupId>javax.enterprise</groupId>
        <artifactId>cdi-api</artifactId>
        <version>${version.cdi}</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.spec.javax.servlet</groupId>
        <artifactId>jboss-servlet-api_3.1_spec</artifactId>
        <version>${version.jboss.servlet}</version>
      </dependency>
      <dependency>
        <groupId>javax.json</groupId>
        <artifactId>javax.json-api</artifactId>
        <version>${version.javax.json}</version>
      </dependency>

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${version.junit}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.assertj</groupId>
        <artifactId>assertj-core</artifactId>
        <version>${version.assertj}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>io.smallrye</groupId>
        <artifactId>smallrye-config</artifactId>
        <version>${version.smallrye.config}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.wildfly.arquillian</groupId>
        <artifactId>wildfly-arquillian-container-managed</artifactId>
        <version>${version.arquillian.wildfly}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jboss.weld.servlet</groupId>
        <artifactId>weld-servlet</artifactId>
        <version>${version.weld}</version>
        <scope>test</scope>
      </dependency>
      <dependency>
        <groupId>org.jboss.arquillian</groupId>
        <artifactId>arquillian-bom</artifactId>
        <version>${version.arquillian}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
      <dependency>
        <groupId>org.jboss.arquillian.container</groupId>
        <artifactId>arquillian-weld-embedded</artifactId>
        <scope>test</scope>
        <version>${version.arquillian-weld-embedded}</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.weld</groupId>
        <artifactId>weld-core-impl</artifactId>
        <version>${version.org.jboss.weld.weld}</version>
        <scope>test</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>

</project>
