blob: 620b4713521ec77e291e3c5d85561936be2af315 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-parent</artifactId>
<version>1.2-SNAPSHOT</version>
</parent>
<artifactId>commons-numbers-docs</artifactId>
<!-- do not set packaging to pom, because otherwise we will receive
"Not executing Javadoc as the project is not a Java classpath-capable package" -->
<name>Apache Commons Numbers Documentation</name>
<description>Aggregator module to genenerate Apache Commons Numbers documentation.</description>
<properties>
<moditect.skip>true</moditect.skip>
<checkstyle.skip>true</checkstyle.skip>
<animal.sniffer.skip>true</animal.sniffer.skip>
<!-- Workaround to avoid duplicating config files. -->
<numbers.parent.dir>${basedir}/..</numbers.parent.dir>
<!-- Skip the standard build plugins to avoid processing this 'jar' as an artifact. -->
<maven.resources.skip>true</maven.resources.skip>
<maven.source.skip>true</maven.source.skip>
<maven.main.skip>true</maven.main.skip>
<maven.test.skip>true</maven.test.skip>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>
<!-- Simple site -->
<pmd.skip>true</pmd.skip>
<cpd.skip>true</cpd.skip>
<spotbugs.skip>true</spotbugs.skip>
<checkstyle.skip>true</checkstyle.skip>
<changes.jira.skip>true</changes.jira.skip>
<skipSurefireReport>true</skipSurefireReport>
</properties>
<!-- Depend on all other modules -->
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-angle</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-arrays</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-combinatorics</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-complex</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-core</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-field</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-fraction</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-gamma</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-primes</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-quaternion</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-numbers-rootfinder</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<!-- This plugin has no skip property - use an invalid phase -->
<groupId>org.spdx</groupId>
<artifactId>spdx-maven-plugin</artifactId>
<executions>
<execution>
<id>build-spdx</id>
<goals>
<goal>createSPDX</goal>
</goals>
<phase>None</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<!-- Create aggregate javadoc jar using 'mvn javadoc:aggregate-jar' -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<reportOutputDirectory>${project.build.directory}/apidocs</reportOutputDirectory>
<includeDependencySources>true</includeDependencySources>
<doctitle>Apache Commons Numbers ${project.version}</doctitle>
<windowtitle>Apache Commons Numbers ${project.version}</windowtitle>
<use>true</use>
<version>false</version>
<!-- Do not configure groups as modules do not have sub-packages -->
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<!-- Create aggregate javadoc site report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<reportOutputDirectory>${project.build.directory}/apidocs</reportOutputDirectory>
<includeDependencySources>true</includeDependencySources>
<doctitle>Apache Commons Numbers ${project.version}</doctitle>
<windowtitle>Apache Commons Numbers ${project.version}</windowtitle>
<use>true</use>
<version>false</version>
<!-- Do not configure groups as modules do not have sub-packages -->
</configuration>
<reportSets>
<reportSet>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<!-- Create an aggregate report from the *parent* directory using:
mvn jacoco:report-aggregate
Requires that tests have already been run with the jacoco user agent.
If executed within this directory then jacoco does not collect the
executions from the module dependencies. -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${commons.jacoco.version}</version>
<configuration>
<title>Apache Commons Numbers</title>
<footer>Code Coverage Report for Apache Commons Numbers ${project.version}</footer>
<includes>
<!-- Analyze class files only to exclude shaded agent JAR from report -->
<include>**/*.class</include>
</includes>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>report-aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>