blob: 6319fb58bc8d638c9f627cd43b4a6e22c0355e5c [file] [log] [blame]
<?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 http://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.0-SNAPSHOT</version>
</parent>
<artifactId>commons-statistics-examples</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Commons Statistics Examples</name>
<description>Examples of use of the "Commons Statistics" library.
Codes in this module and its sub-modules are not part of the library.
They provide checking, benchmarking tools to enhance the documentation
and to help ensure correctness of the implementations.</description>
<properties>
<!-- OSGi -->
<commons.osgi.symbolicName>org.apache.commons.statistics.examples</commons.osgi.symbolicName>
<commons.osgi.export>org.apache.commons.statistics.examples</commons.osgi.export>
<!-- Java 9+ -->
<commons.automatic.module.name>org.apache.commons.statistics.examples</commons.automatic.module.name>
<!-- Workaround to avoid duplicating config files. -->
<statistics.parent.dir>${basedir}/..</statistics.parent.dir>
<statistics.picocli.version>4.6.1</statistics.picocli.version>
<statistics.exec.version>3.0.0</statistics.exec.version>
<statistics.shade.version>3.2.4</statistics.shade.version>
<!-- Disable JApiCmp failures (but keep the report). The examples API is allowed to change. -->
<commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
<commons.japicmp.breakBuildOnSourceIncompatibleModifications>false</commons.japicmp.breakBuildOnSourceIncompatibleModifications>
<statistics.jira.component>examples</statistics.jira.component>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-statistics-distribution</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>${statistics.picocli.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${statistics.exec.version}</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
<failOnViolation>false</failOnViolation>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<module>examples-distribution</module>
<module>examples-jmh</module>
</modules>
</project>