<?xml version="1.0"?>
<!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-statistics-parent</artifactId>
        <version>1.3</version>
    </parent>

    <artifactId>commons-statistics-descriptive</artifactId>
    <name>Apache Commons Statistics Descriptive</name>

    <description>Descriptive statistics.</description>

    <properties>
        <!-- OSGi -->
        <commons.osgi.symbolicName>org.apache.commons.statistics.descriptive</commons.osgi.symbolicName>
        <commons.osgi.export>org.apache.commons.statistics.descriptive</commons.osgi.export>
        <!-- Java 9+ -->
        <commons.module.name>org.apache.commons.statistics.descriptive</commons.module.name>
        <!-- Workaround to avoid duplicating config files. -->
        <statistics.parent.dir>${basedir}/..</statistics.parent.dir>
        <!-- Reproducible builds -->
        <project.build.outputTimestamp>${statistics.build.outputTimestamp}</project.build.outputTimestamp>
        <statistics.jira.component>descriptive</statistics.jira.component>

        <!-- Change from commons-parent of 1.0 as some illegal state cases cannot be reached -->
        <commons.jacoco.instructionRatio>0.99</commons.jacoco.instructionRatio>
        <commons.jacoco.branchRatio>0.98</commons.jacoco.branchRatio>
        <commons.jacoco.lineRatio>0.99</commons.jacoco.lineRatio>
        <commons.jacoco.complexityRatio>0.99</commons.jacoco.complexityRatio>
    </properties>

    <dependencies>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-numbers-core</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-numbers-arrays</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-rng-simple</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-rng-sampling</artifactId>
            <scope>test</scope>
        </dependency>

        <!-- Required for DoubleEquivalence -->
        <dependency>
          <groupId>org.apache.commons</groupId>
          <artifactId>commons-statistics-distribution</artifactId>
          <version>1.3</version>
          <type>test-jar</type>
          <scope>test</scope>
        </dependency>

    </dependencies>

</project>
