최초 세팅
This commit is contained in:
@@ -0,0 +1,763 @@
|
||||
<?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">
|
||||
<parent>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-parent</artifactId>
|
||||
<version>48</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>commons-collections4</artifactId>
|
||||
<version>4.4</version>
|
||||
<name>Apache Commons Collections</name>
|
||||
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
<description>The Apache Commons Collections package contains types that extend and augment the Java Collections Framework.</description>
|
||||
|
||||
<url>https://commons.apache.org/proper/commons-collections/</url>
|
||||
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>http://issues.apache.org/jira/browse/COLLECTIONS</url>
|
||||
</issueManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-collections.git</connection>
|
||||
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-collections.git</developerConnection>
|
||||
<url>https://git-wip-us.apache.org/repos/asf?p=commons-collections.git</url>
|
||||
</scm>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Matt Benson</name>
|
||||
<id>mbenson</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>James Carman</name>
|
||||
<id>jcarman</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Stephen Colebourne</name>
|
||||
<id>scolebourne</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Robert Burrell Donkin</name>
|
||||
<id>rdonkin</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Morgan Delagrange</name>
|
||||
<id>morgand</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Gary Gregory</name>
|
||||
<id>ggregory</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Matthew Hawthorne</name>
|
||||
<id>matth</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Dipanjan Laha</name>
|
||||
<id>dlaha</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Geir Magnusson</name>
|
||||
<id>geirm</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Luc Maisonobe</name>
|
||||
<id>luc</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Craig McClanahan</name>
|
||||
<id>craigmcc</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Thomas Neidhart</name>
|
||||
<id>tn</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Adrian Nistor</name>
|
||||
<id>adriannistor</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Arun M. Thomas</name>
|
||||
<id>amamment</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Rodney Waldhoff</name>
|
||||
<id>rwaldhoff</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Henri Yandell</name>
|
||||
<id>bayard</id>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Rob Tompkins</name>
|
||||
<id>chtompki</id>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Rafael U. C. Afonso</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Max Rydahl Andersen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Avalon</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Federico Barbieri</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jeffrey Barnes</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Nicola Ken Barozzi</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Arron Bates</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sebastian Bazley</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Benjamin Bentmann</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ola Berg</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sam Berlin</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christopher Berry</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Nathan Beyer</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Rune Peter Bjørnstad</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Janek Bogucki</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Maarten Brak</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Dave Bryson</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Chuck Burdick</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Julien Buret</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Josh Cain</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jonathan Carlson</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ram Chidambaram</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Steve Clark</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Benoit Corne</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Eric Crampton</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Dimiter Dimitrov</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Peter Donald</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Steve Downey</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Rich Dougherty</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Tom Dunham</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Stefano Fornari</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Andrew Freeman</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Gerhard Froehlich</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Goran Hacek</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>David Hay</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mario Ivankovits</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Paul Jack</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Eric Johnson</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Kent Johnson</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Marc Johnson</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Roger Kapsi</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Nissim Karpenstein</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Shinobu Kawai</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Stephen Kestle</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mohan Kishore</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Simon Kitching</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Thomas Knych</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Serge Knystautas</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Peter KoBek</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jordan Krey</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Olaf Krische</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Guilhem Lavaux</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Paul Legato</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>David Leppik</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Berin Loritsch</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Hendrik Maryns</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Stefano Mazzocchi</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Brian McCallister</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>David Meikle</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Steven Melzer</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Leon Messerschmidt</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mauricio S. Moura</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Kasper Nielsen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Stanislaw Osinski</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Alban Peignier</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mike Pettypiece</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Steve Phelps</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ilkka Priha</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jonas Van Poucke</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Will Pugh</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Herve Quiroz</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Daniel Rall</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Robert Ribnitz</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Huw Roberts</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Henning P. Schmiedehausen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Joerg Schmuecker</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Howard Lewis Ship</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Joe Raysa</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jeff Rodriguez</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ashwin S</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jordane Sarda</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Thomas Schapitz</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jon Schewe</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Andreas Schlosser</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christian Siefkes</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Michael Smith</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Stephen Smith</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jan Sorensen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jon S. Stevens</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>James Strachan</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Leo Sutic</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Radford Tam</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Chris Tilden</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Neil O'Toole</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jeff Turner</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Kazuya Ujihara</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Thomas Vahrst</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jeff Varszegi</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ralph Wagner</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Hollis Waite</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>David Weinrich</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Dieter Wimberger</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Serhiy Yevtushenko</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sai Zhang</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jason van Zyl</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Geoff Schoeman</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Goncalo Marques</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Vamsi Kavuri</name>
|
||||
</contributor>
|
||||
</contributors>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.12</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.easymock</groupId>
|
||||
<artifactId>easymock</artifactId>
|
||||
<version>4.0.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.9</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<name>Apache Commons Site</name>
|
||||
<url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/${commons.componentid}</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
||||
<!--
|
||||
This is also used to generate download_xxx file name.
|
||||
To override this when generating the download page:
|
||||
|
||||
mvn commons:download-page -Dcommons.componentid=collections
|
||||
|
||||
The above seems to change the download page name but not any other
|
||||
properties that depend on the componentid.
|
||||
-->
|
||||
<commons.componentid>collections</commons.componentid>
|
||||
<commons.module.name>org.apache.commons.collections4</commons.module.name>
|
||||
|
||||
<!-- Current 4.x release series -->
|
||||
<commons.release.version>4.4</commons.release.version>
|
||||
<commons.release.desc>(Requires Java 8 or later)</commons.release.desc>
|
||||
|
||||
<!-- Previous 4.2 release on Java 7 -->
|
||||
<commons.release.2.version>4.2</commons.release.2.version>
|
||||
<commons.release.2.desc>(Requires Java 7 or later)</commons.release.2.desc>
|
||||
<!-- Override generated name -->
|
||||
<commons.release.2.name>commons-collections4-${commons.release.2.version}</commons.release.2.name>
|
||||
|
||||
<!-- Previous 4.1 release on Java 6-->
|
||||
<commons.release.3.version>4.1</commons.release.3.version>
|
||||
<commons.release.3.desc>(Requires Java 6 or later)</commons.release.3.desc>
|
||||
<!-- Override generated name -->
|
||||
<commons.release.3.name>commons-collections4-${commons.release.3.version}</commons.release.3.name>
|
||||
|
||||
<!-- Previous 3.x release on Java 1.3 -->
|
||||
<commons.release.4.version>3.2.2</commons.release.4.version>
|
||||
<commons.release.4.desc>(Requires Java 1.3 or later)</commons.release.4.desc>
|
||||
<!-- Override generated name -->
|
||||
<commons.release.4.name>commons-collections-${commons.release.3.version}</commons.release.4.name>
|
||||
|
||||
<commons.jira.id>COLLECTIONS</commons.jira.id>
|
||||
<commons.jira.pid>12310465</commons.jira.pid>
|
||||
<!-- The RC version used in the staging repository URL. -->
|
||||
<commons.rc.version>RC1</commons.rc.version>
|
||||
<checkstyle.version>3.0.0</checkstyle.version>
|
||||
|
||||
<commons.site.path>collections</commons.site.path>
|
||||
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-collections</commons.scmPubUrl>
|
||||
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
|
||||
|
||||
<!-- Override clirr version to enable clirr on Java 8 -->
|
||||
<commons.clirr.version>2.8</commons.clirr.version>
|
||||
<commons.jacoco.version>0.8.4</commons.jacoco.version>
|
||||
|
||||
<!--Commons Release Plugin -->
|
||||
<commons.bc.version>4.3</commons.bc.version>
|
||||
<commons.release.isDistModule>true</commons.release.isDistModule>
|
||||
<commons.releaseManagerName>Gary Gregory</commons.releaseManagerName>
|
||||
<commons.releaseManagerKey>86fdc7e2a11262cb</commons.releaseManagerKey>
|
||||
|
||||
</properties>
|
||||
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean verify apache-rat:check clirr:check javadoc:javadoc</defaultGoal>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*Test.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*$*</exclude>
|
||||
<exclude>**/TestUtils.java</exclude>
|
||||
<exclude>**/Abstract*.java</exclude>
|
||||
<exclude>**/BulkTest.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/assembly/bin.xml</descriptor>
|
||||
<descriptor>src/assembly/src.xml</descriptor>
|
||||
</descriptors>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>site-content/**/*</exclude>
|
||||
<exclude>src/test/resources/data/test/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle.version}</version>
|
||||
<configuration>
|
||||
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
||||
<configuration>
|
||||
<ignorePathsToDelete>
|
||||
<ignorePathToDelete>javadocs</ignorePathToDelete>
|
||||
</ignorePathsToDelete>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>test-jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<!-- Temporary fix for COLLECTIONS-658, remove this after this has implemented in parent pom -->
|
||||
<configuration>
|
||||
<archive combine.children="append">
|
||||
<manifestEntries>
|
||||
<Automatic-Module-Name>org.apache.commons.collections4</Automatic-Module-Name>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>8</source>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-changes-plugin</artifactId>
|
||||
<version>${commons.changes.version}</version>
|
||||
<configuration>
|
||||
<issueLinkTemplatePerSystem>
|
||||
<default>%URL%/%ISSUE%</default>
|
||||
</issueLinkTemplatePerSystem>
|
||||
<!-- Add sample JIRA report - 'mvn changes:jira-report' or 'mvn site' -->
|
||||
<onlyCurrentVersion>false</onlyCurrentVersion>
|
||||
<columnNames>Fix Version,Key,Summary,Type,Resolution,Status</columnNames>
|
||||
<!-- Sort cols have to be reversed in JIRA 4 -->
|
||||
<sortColumnNames>Key DESC,Type,Fix Version DESC</sortColumnNames>
|
||||
<resolutionIds>Fixed</resolutionIds>
|
||||
<statusIds>Resolved,Closed</statusIds>
|
||||
<!-- Don't include sub-task -->
|
||||
<typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds>
|
||||
<fixVersionIds>${commons.release.version}</fixVersionIds>
|
||||
<maxEntries>500</maxEntries>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>changes-report</report>
|
||||
<report>jira-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${checkstyle.version}</version>
|
||||
<configuration>
|
||||
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>checkstyle</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
<version>${commons.clirr.version}</version>
|
||||
<configuration>
|
||||
<minSeverity>${minSeverity}</minSeverity>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>${commons.findbugs.version}</version>
|
||||
<configuration>
|
||||
<threshold>Normal</threshold>
|
||||
<effort>Default</effort>
|
||||
<excludeFilterFile>${basedir}/src/conf/findbugs-exclude-filter.xml</excludeFilterFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>3.12.0</version>
|
||||
<configuration>
|
||||
<targetJdk>${maven.compiler.target}</targetJdk>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>pmd</report>
|
||||
<report>cpd</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>setup-checkout</id>
|
||||
<activation>
|
||||
<file>
|
||||
<missing>site-content</missing>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prepare-checkout</id>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<exec executable="svn">
|
||||
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
|
||||
</exec>
|
||||
|
||||
<exec executable="svn">
|
||||
<arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
|
||||
</exec>
|
||||
|
||||
<pathconvert pathsep=" " property="dirs">
|
||||
<dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
|
||||
</pathconvert>
|
||||
<exec executable="svn">
|
||||
<arg line="update --set-depth infinity ${dirs}" />
|
||||
</exec>
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java9</id>
|
||||
<activation>
|
||||
<jdk>9</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<!-- versions below 3.0.0 do not work with java 9 -->
|
||||
<commons.javadoc.version>3.0.1</commons.javadoc.version>
|
||||
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
|
||||
<coveralls.skip>true</coveralls.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,638 @@
|
||||
<?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-parent</artifactId>
|
||||
<version>56</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>commons-compress</artifactId>
|
||||
<version>1.23.0</version>
|
||||
<name>Apache Commons Compress</name>
|
||||
<url>https://commons.apache.org/proper/commons-compress/</url>
|
||||
<inceptionYear>2002</inceptionYear> <!-- from NOTICE file -->
|
||||
<!-- The description is not indented to make it look better in the release notes -->
|
||||
<description>
|
||||
Apache Commons Compress software defines an API for working with
|
||||
compression and archive formats. These include: bzip2, gzip, pack200,
|
||||
lzma, xz, Snappy, traditional Unix Compress, DEFLATE, DEFLATE64, LZ4,
|
||||
Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
|
||||
</description>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
||||
<commons.componentid>compress</commons.componentid>
|
||||
<commons.module.name>org.apache.commons.compress</commons.module.name>
|
||||
<commons.jira.id>COMPRESS</commons.jira.id>
|
||||
<commons.jira.pid>12310904</commons.jira.pid>
|
||||
<!-- configuration bits for cutting a release candidate -->
|
||||
<commons.release.version>${project.version}</commons.release.version>
|
||||
<commons.rc.version>RC1</commons.rc.version>
|
||||
<!-- old version used by japicmp -->
|
||||
<commons.bc.version>1.22</commons.bc.version>
|
||||
<mockito.version>4.11.0</mockito.version>
|
||||
|
||||
<commons.release.isDistModule>true</commons.release.isDistModule>
|
||||
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
|
||||
<commons.releaseManagerName>Gary Gregory</commons.releaseManagerName>
|
||||
<commons.releaseManagerKey>86fdc7e2a11262cb</commons.releaseManagerKey>
|
||||
|
||||
<commons.manifestlocation>${project.build.outputDirectory}/META-INF</commons.manifestlocation>
|
||||
<commons.manifestfile>${commons.manifestlocation}/MANIFEST.MF</commons.manifestfile>
|
||||
<commons.osgi.import>
|
||||
org.tukaani.xz;resolution:=optional,
|
||||
org.brotli.dec;resolution:=optional,
|
||||
com.github.luben.zstd;resolution:=optional,
|
||||
org.objectweb.asm;resolution:=optional,
|
||||
javax.crypto.*;resolution:=optional,
|
||||
*
|
||||
</commons.osgi.import>
|
||||
|
||||
<!-- only show issues of the current version -->
|
||||
<commons.changes.onlyCurrentVersion>true</commons.changes.onlyCurrentVersion>
|
||||
|
||||
<!-- definition uses commons.componentId starting with parent 47,
|
||||
this doesn't work for us -->
|
||||
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${project.artifactId}</commons.scmPubUrl>
|
||||
<japicmp.skip>false</japicmp.skip>
|
||||
|
||||
<pax.exam.version>4.13.5</pax.exam.version>
|
||||
<slf4j.version>2.0.7</slf4j.version>
|
||||
<asm.version>9.4</asm.version>
|
||||
</properties>
|
||||
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>https://issues.apache.org/jira/browse/COMPRESS</url>
|
||||
</issueManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest</artifactId>
|
||||
<version>2.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.luben</groupId>
|
||||
<artifactId>zstd-jni</artifactId>
|
||||
<version>1.5.4-2</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.brotli</groupId>
|
||||
<artifactId>dec</artifactId>
|
||||
<version>0.1.2</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.tukaani</groupId>
|
||||
<artifactId>xz</artifactId>
|
||||
<version>1.9</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Pack200 -->
|
||||
<dependency>
|
||||
<groupId>org.ow2.asm</groupId>
|
||||
<artifactId>asm</artifactId>
|
||||
<version>${asm.version}</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Test -->
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<version>${mockito.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-junit-jupiter</artifactId>
|
||||
<version>${mockito.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.marschall</groupId>
|
||||
<artifactId>memoryfilesystem</artifactId>
|
||||
<version>2.5.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- integration test verifying OSGi bundle works -->
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-container-native</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-junit4</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-cm</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-link-mvn</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.apache.felix.framework</artifactId>
|
||||
<version>7.0.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
<version>1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>${slf4j.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.11.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.12.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
<artifactId>org.osgi.core</artifactId>
|
||||
<version>6.0.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Torsten Curdt</name>
|
||||
<id>tcurdt</id>
|
||||
<email>tcurdt at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Stefan Bodewig</name>
|
||||
<id>bodewig</id>
|
||||
<email>bodewig at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Sebastian Bazley</name>
|
||||
<id>sebb</id>
|
||||
<email>sebb at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Christian Grobmeier</name>
|
||||
<id>grobmeier</id>
|
||||
<email>grobmeier at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Julius Davies</name>
|
||||
<id>julius</id>
|
||||
<email>julius at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Damjan Jovanovic</name>
|
||||
<id>damjan</id>
|
||||
<email>damjan at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Emmanuel Bourg</name>
|
||||
<id>ebourg</id>
|
||||
<email>ebourg at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>ggregory</id>
|
||||
<name>Gary Gregory</name>
|
||||
<email>ggregory at apache.org</email>
|
||||
<url>https://www.garygregory.com</url>
|
||||
<organization>The Apache Software Foundation</organization>
|
||||
<organizationUrl>https://www.apache.org/</organizationUrl>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
<timezone>America/New_York</timezone>
|
||||
<properties>
|
||||
<picUrl>https://people.apache.org/~ggregory/img/garydgregory80.png</picUrl>
|
||||
</properties>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Rob Tompkins</name>
|
||||
<id>chtompki</id>
|
||||
<email>chtompki at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Peter Alfred Lee</name>
|
||||
<id>peterlee</id>
|
||||
<email>peterlee at apache.org</email>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Wolfgang Glas</name>
|
||||
<email>wolfgang.glas at ev-i.at</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christian Kohlschütte</name>
|
||||
<email>ck@newsclub.de</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Bear Giles</name>
|
||||
<email>bgiles@coyotesong.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Michael Kuss</name>
|
||||
<email>mail at michael minus kuss.de</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Lasse Collin</name>
|
||||
<email>lasse.collin@tukaani.org</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>John Kodis</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>BELUGA BEHR</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Simon Spero</name>
|
||||
<email>sesuncedu@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Michael Hausegger</name>
|
||||
<email>hausegger.michael@googlemail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Arturo Bernal</name>
|
||||
<email>arturobernalg@yahoo.com</email>
|
||||
</contributor>
|
||||
</contributors>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-compress.git</connection>
|
||||
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-compress.git</developerConnection>
|
||||
<url>https://gitbox.apache.org/repos/asf?p=commons-compress.git</url>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc</defaultGoal>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!-- Override Javadoc config in parent pom to add JCIP tags -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>${commons.javadoc.version}</version>
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<quiet>true</quiet>
|
||||
<encoding>${commons.encoding}</encoding>
|
||||
<docencoding>${commons.docEncoding}</docencoding>
|
||||
<linksource>true</linksource>
|
||||
<links>
|
||||
<link>${commons.javadoc8.java.link}</link>
|
||||
<link>${commons.javadoc.javaee.link}</link>
|
||||
</links>
|
||||
<tags>
|
||||
<tag>
|
||||
<name>Immutable</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is immutable</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>NotThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is not thread-safe</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>ThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is thread-safe</head>
|
||||
</tag>
|
||||
</tags>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<version>${commons.rat.version}</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<!-- files used during tests -->
|
||||
<exclude>src/test/resources/**</exclude>
|
||||
<exclude>.pmd</exclude>
|
||||
<exclude>.projectile</exclude>
|
||||
<exclude>.mvn/**</exclude>
|
||||
<exclude>.gitattributes</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.eluder.coveralls</groupId>
|
||||
<artifactId>coveralls-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<failOnServiceError>false</failOnServiceError>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<version>${commons.felix.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<parameter>
|
||||
<excludes>
|
||||
<!-- Compress 1.21 -> 1.22 updates ASM from 3.2 to 9.2 for pack200 implementation. -->
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.Segment</exclude>
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.SegmentMethodVisitor</exclude>
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.SegmentAnnotationVisitor</exclude>
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.SegmentFieldVisitor</exclude>
|
||||
</excludes>
|
||||
</parameter>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<!-- create the source and binary assemblies -->
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/assembly/bin.xml</descriptor>
|
||||
<descriptor>src/assembly/src.xml</descriptor>
|
||||
</descriptors>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
|
||||
<Extension-Name>org.apache.commons.compress</Extension-Name>
|
||||
<Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<configuration>
|
||||
<manifestLocation>${commons.manifestlocation}</manifestLocation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
||||
<configuration>
|
||||
<ignorePathsToDelete>
|
||||
<ignorePathToDelete>javadocs</ignorePathToDelete>
|
||||
</ignorePathsToDelete>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<configuration>
|
||||
<minimumTokens>200</minimumTokens>
|
||||
<targetJdk>${maven.compiler.source}</targetJdk>
|
||||
<rulesets>
|
||||
<ruleset>${basedir}/src/conf/pmd-ruleset.xml</ruleset>
|
||||
</rulesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<threshold>Normal</threshold>
|
||||
<effort>Default</effort>
|
||||
<excludeFilterFile>${basedir}/src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-test-resources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<untar src="${basedir}/src/test/resources/zstd-tests.tar" dest="${project.build.testOutputDirectory}" />
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<systemPropertyVariables>
|
||||
<pax.exam.karaf.version>${karaf.version}</pax.exam.karaf.version>
|
||||
<commons-compress.version>${project.version}</commons-compress.version>
|
||||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<!-- generate the PMD reports -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<configuration>
|
||||
<minimumTokens>200</minimumTokens>
|
||||
<targetJdk>${maven.compiler.source}</targetJdk>
|
||||
<rulesets>
|
||||
<ruleset>${basedir}/src/conf/pmd-ruleset.xml</ruleset>
|
||||
</rulesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Override Javadoc config in parent pom to add JCIP tags -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<quiet>true</quiet>
|
||||
<encoding>${commons.encoding}</encoding>
|
||||
<docencoding>${commons.docEncoding}</docencoding>
|
||||
<linksource>true</linksource>
|
||||
<links>
|
||||
<link>${commons.javadoc8.java.link}</link>
|
||||
<link>${commons.javadoc.javaee.link}</link>
|
||||
</links>
|
||||
<tags>
|
||||
<tag>
|
||||
<name>Immutable</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is immutable</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>NotThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is not thread-safe</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>ThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is thread-safe</head>
|
||||
</tag>
|
||||
</tags>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<threshold>Normal</threshold>
|
||||
<effort>Default</effort>
|
||||
<excludeFilterFile>${basedir}/src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<!-- Add long running tests as **/*IT.java -->
|
||||
<profile>
|
||||
<id>run-zipit</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-test-resources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<untar src="${basedir}/src/test/resources/zip64support.tar.bz2" dest="${project.build.testOutputDirectory}" compression="bzip2" />
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/zip/*IT.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>run-tarit</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/tar/*IT.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java11+</id>
|
||||
<activation>
|
||||
<jdk>[11,)</jdk>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>8</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java9+</id>
|
||||
<activation>
|
||||
<jdk>[9,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<maven.compiler.release>8</maven.compiler.release>
|
||||
<animal.sniffer.skip>true</animal.sniffer.skip>
|
||||
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
|
||||
<coveralls.skip>true</coveralls.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,635 @@
|
||||
<?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-parent</artifactId>
|
||||
<version>64</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>commons-compress</artifactId>
|
||||
<version>1.25.0</version>
|
||||
<name>Apache Commons Compress</name>
|
||||
<url>https://commons.apache.org/proper/commons-compress/</url>
|
||||
<inceptionYear>2002</inceptionYear> <!-- from NOTICE file -->
|
||||
<!-- The description is not indented to make it look better in the release notes -->
|
||||
<description>
|
||||
Apache Commons Compress defines an API for working with
|
||||
compression and archive formats. These include: bzip2, gzip, pack200,
|
||||
LZMA, XZ, Snappy, traditional Unix Compress, DEFLATE, DEFLATE64, LZ4,
|
||||
Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
|
||||
</description>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
||||
<commons.componentid>compress</commons.componentid>
|
||||
<commons.module.name>org.apache.commons.compress</commons.module.name>
|
||||
<commons.jira.id>COMPRESS</commons.jira.id>
|
||||
<commons.jira.pid>12310904</commons.jira.pid>
|
||||
<!-- configuration bits for cutting a release candidate -->
|
||||
<commons.release.version>1.25.0</commons.release.version>
|
||||
<commons.release.next>1.25.1</commons.release.next>
|
||||
<commons.bc.version>1.24.0</commons.bc.version>
|
||||
<commons.rc.version>RC1</commons.rc.version>
|
||||
<mockito.version>4.11.0</mockito.version>
|
||||
|
||||
<commons.release.isDistModule>true</commons.release.isDistModule>
|
||||
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl>
|
||||
<commons.manifestlocation>${project.build.outputDirectory}/META-INF</commons.manifestlocation>
|
||||
<commons.manifestfile>${commons.manifestlocation}/MANIFEST.MF</commons.manifestfile>
|
||||
<commons.osgi.import>
|
||||
org.tukaani.xz;resolution:=optional,
|
||||
org.brotli.dec;resolution:=optional,
|
||||
com.github.luben.zstd;resolution:=optional,
|
||||
org.objectweb.asm;resolution:=optional,
|
||||
javax.crypto.*;resolution:=optional,
|
||||
*
|
||||
</commons.osgi.import>
|
||||
|
||||
<!-- only show issues of the current version -->
|
||||
<commons.changes.onlyCurrentVersion>true</commons.changes.onlyCurrentVersion>
|
||||
|
||||
<!-- definition uses commons.componentId starting with parent 47,
|
||||
this doesn't work for us -->
|
||||
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${project.artifactId}</commons.scmPubUrl>
|
||||
<japicmp.skip>false</japicmp.skip>
|
||||
|
||||
<pax.exam.version>4.13.5</pax.exam.version>
|
||||
<slf4j.version>2.0.9</slf4j.version>
|
||||
<asm.version>9.6</asm.version>
|
||||
</properties>
|
||||
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>https://issues.apache.org/jira/browse/COMPRESS</url>
|
||||
</issueManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.vintage</groupId>
|
||||
<artifactId>junit-vintage-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest</artifactId>
|
||||
<version>2.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.luben</groupId>
|
||||
<artifactId>zstd-jni</artifactId>
|
||||
<version>1.5.5-10</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.brotli</groupId>
|
||||
<artifactId>dec</artifactId>
|
||||
<version>0.1.2</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.tukaani</groupId>
|
||||
<artifactId>xz</artifactId>
|
||||
<version>1.9</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Pack200 -->
|
||||
<dependency>
|
||||
<groupId>org.ow2.asm</groupId>
|
||||
<artifactId>asm</artifactId>
|
||||
<version>${asm.version}</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<!-- Test -->
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-core</artifactId>
|
||||
<version>${mockito.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mockito</groupId>
|
||||
<artifactId>mockito-junit-jupiter</artifactId>
|
||||
<version>${mockito.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.marschall</groupId>
|
||||
<artifactId>memoryfilesystem</artifactId>
|
||||
<version>2.6.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- integration test verifying OSGi bundle works -->
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-container-native</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-junit4</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-cm</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.ops4j.pax.exam</groupId>
|
||||
<artifactId>pax-exam-link-mvn</artifactId>
|
||||
<version>${pax.exam.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>org.apache.felix.framework</artifactId>
|
||||
<version>7.0.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
<version>1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>${slf4j.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.15.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.13.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.osgi</groupId>
|
||||
<artifactId>org.osgi.core</artifactId>
|
||||
<version>6.0.0</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Torsten Curdt</name>
|
||||
<id>tcurdt</id>
|
||||
<email>tcurdt at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Stefan Bodewig</name>
|
||||
<id>bodewig</id>
|
||||
<email>bodewig at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Sebastian Bazley</name>
|
||||
<id>sebb</id>
|
||||
<email>sebb at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Christian Grobmeier</name>
|
||||
<id>grobmeier</id>
|
||||
<email>grobmeier at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Julius Davies</name>
|
||||
<id>julius</id>
|
||||
<email>julius at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Damjan Jovanovic</name>
|
||||
<id>damjan</id>
|
||||
<email>damjan at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Emmanuel Bourg</name>
|
||||
<id>ebourg</id>
|
||||
<email>ebourg at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<id>ggregory</id>
|
||||
<name>Gary Gregory</name>
|
||||
<email>ggregory at apache.org</email>
|
||||
<url>https://www.garygregory.com</url>
|
||||
<organization>The Apache Software Foundation</organization>
|
||||
<organizationUrl>https://www.apache.org/</organizationUrl>
|
||||
<roles>
|
||||
<role>PMC Member</role>
|
||||
</roles>
|
||||
<timezone>America/New_York</timezone>
|
||||
<properties>
|
||||
<picUrl>https://people.apache.org/~ggregory/img/garydgregory80.png</picUrl>
|
||||
</properties>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Rob Tompkins</name>
|
||||
<id>chtompki</id>
|
||||
<email>chtompki at apache.org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Peter Alfred Lee</name>
|
||||
<id>peterlee</id>
|
||||
<email>peterlee at apache.org</email>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Wolfgang Glas</name>
|
||||
<email>wolfgang.glas at ev-i.at</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christian Kohlschütte</name>
|
||||
<email>ck@newsclub.de</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Bear Giles</name>
|
||||
<email>bgiles@coyotesong.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Michael Kuss</name>
|
||||
<email>mail at michael minus kuss.de</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Lasse Collin</name>
|
||||
<email>lasse.collin@tukaani.org</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>John Kodis</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>BELUGA BEHR</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Simon Spero</name>
|
||||
<email>sesuncedu@gmail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Michael Hausegger</name>
|
||||
<email>hausegger.michael@googlemail.com</email>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Arturo Bernal</name>
|
||||
<email>arturobernalg@yahoo.com</email>
|
||||
</contributor>
|
||||
</contributors>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:https://gitbox.apache.org/repos/asf/commons-compress.git</connection>
|
||||
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-compress.git</developerConnection>
|
||||
<url>https://gitbox.apache.org/repos/asf?p=commons-compress.git</url>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean verify apache-rat:check japicmp:cmp javadoc:javadoc</defaultGoal>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!-- Override Javadoc config in parent pom to add JCIP tags -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>${commons.javadoc.version}</version>
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<quiet>true</quiet>
|
||||
<encoding>${commons.encoding}</encoding>
|
||||
<docencoding>${commons.docEncoding}</docencoding>
|
||||
<linksource>true</linksource>
|
||||
<links>
|
||||
<link>${commons.javadoc8.java.link}</link>
|
||||
<link>${commons.javadoc.javaee.link}</link>
|
||||
</links>
|
||||
<tags>
|
||||
<tag>
|
||||
<name>Immutable</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is immutable</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>NotThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is not thread-safe</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>ThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is thread-safe</head>
|
||||
</tag>
|
||||
</tags>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<version>${commons.rat.version}</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<!-- files used during tests -->
|
||||
<exclude>src/test/resources/**</exclude>
|
||||
<exclude>.pmd</exclude>
|
||||
<exclude>.projectile</exclude>
|
||||
<exclude>.mvn/**</exclude>
|
||||
<exclude>.gitattributes</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.eluder.coveralls</groupId>
|
||||
<artifactId>coveralls-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<failOnServiceError>false</failOnServiceError>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<version>${commons.felix.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<parameter>
|
||||
<excludes>
|
||||
<!-- Compress 1.21 -> 1.22 updates ASM from 3.2 to 9.2 for pack200 implementation. -->
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.Segment</exclude>
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.SegmentMethodVisitor</exclude>
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.SegmentAnnotationVisitor</exclude>
|
||||
<exclude>org.apache.commons.compress.harmony.pack200.SegmentFieldVisitor</exclude>
|
||||
</excludes>
|
||||
</parameter>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<!-- create the source and binary assemblies -->
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/assembly/bin.xml</descriptor>
|
||||
<descriptor>src/assembly/src.xml</descriptor>
|
||||
</descriptors>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Main-Class>org.apache.commons.compress.archivers.Lister</Main-Class>
|
||||
<Extension-Name>org.apache.commons.compress</Extension-Name>
|
||||
<Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<configuration>
|
||||
<manifestLocation>${commons.manifestlocation}</manifestLocation>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
||||
<configuration>
|
||||
<ignorePathsToDelete>
|
||||
<ignorePathToDelete>javadocs</ignorePathToDelete>
|
||||
</ignorePathsToDelete>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<configuration>
|
||||
<minimumTokens>200</minimumTokens>
|
||||
<targetJdk>${maven.compiler.source}</targetJdk>
|
||||
<rulesets>
|
||||
<ruleset>${basedir}/src/conf/pmd-ruleset.xml</ruleset>
|
||||
</rulesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<threshold>Normal</threshold>
|
||||
<effort>Default</effort>
|
||||
<excludeFilterFile>${basedir}/src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-test-resources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<untar src="${basedir}/src/test/resources/zstd-tests.tar" dest="${project.build.testOutputDirectory}" />
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<systemPropertyVariables>
|
||||
<pax.exam.karaf.version>${karaf.version}</pax.exam.karaf.version>
|
||||
<commons-compress.version>${project.version}</commons-compress.version>
|
||||
</systemPropertyVariables>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<!-- generate the PMD reports -->
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<configuration>
|
||||
<minimumTokens>200</minimumTokens>
|
||||
<targetJdk>${maven.compiler.source}</targetJdk>
|
||||
<rulesets>
|
||||
<ruleset>${basedir}/src/conf/pmd-ruleset.xml</ruleset>
|
||||
</rulesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Override Javadoc config in parent pom to add JCIP tags -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<quiet>true</quiet>
|
||||
<encoding>${commons.encoding}</encoding>
|
||||
<docencoding>${commons.docEncoding}</docencoding>
|
||||
<linksource>true</linksource>
|
||||
<links>
|
||||
<link>${commons.javadoc8.java.link}</link>
|
||||
<link>${commons.javadoc.javaee.link}</link>
|
||||
</links>
|
||||
<tags>
|
||||
<tag>
|
||||
<name>Immutable</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is immutable</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>NotThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is not thread-safe</head>
|
||||
</tag>
|
||||
<tag>
|
||||
<name>ThreadSafe</name>
|
||||
<placement>a</placement>
|
||||
<head>This class is thread-safe</head>
|
||||
</tag>
|
||||
</tags>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<threshold>Normal</threshold>
|
||||
<effort>Default</effort>
|
||||
<excludeFilterFile>${basedir}/src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<!-- Add long running tests as **/*IT.java -->
|
||||
<profile>
|
||||
<id>run-zipit</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-test-resources</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<untar src="${basedir}/src/test/resources/zip64support.tar.bz2" dest="${project.build.testOutputDirectory}" compression="bzip2" />
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/zip/*IT.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>run-tarit</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/tar/*IT.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java11+</id>
|
||||
<activation>
|
||||
<jdk>[11,)</jdk>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<release>8</release>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>java9+</id>
|
||||
<activation>
|
||||
<jdk>[9,)</jdk>
|
||||
</activation>
|
||||
<properties>
|
||||
<maven.compiler.release>8</maven.compiler.release>
|
||||
<animal.sniffer.skip>true</animal.sniffer.skip>
|
||||
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
|
||||
<coveralls.skip>true</coveralls.skip>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,806 @@
|
||||
<?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/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-parent</artifactId>
|
||||
<version>39</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-math3</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<name>Apache Commons Math</name>
|
||||
|
||||
<inceptionYear>2003</inceptionYear>
|
||||
<description>The Apache Commons Math project is a library of lightweight, self-contained mathematics and statistics components addressing the most common practical problems not immediately available in the Java programming language or commons-lang.</description>
|
||||
|
||||
<url>http://commons.apache.org/proper/commons-math/</url>
|
||||
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>http://issues.apache.org/jira/browse/MATH</url>
|
||||
</issueManagement>
|
||||
|
||||
<scm>
|
||||
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-math.git</connection>
|
||||
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-math.git</developerConnection>
|
||||
<url>https://git-wip-us.apache.org/repos/asf?p=commons-math.git</url>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>apache.website</id>
|
||||
<name>Apache Commons Site</name>
|
||||
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-math/</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Mikkel Meyer Andersen</name>
|
||||
<id>mikl</id>
|
||||
<email>mikl at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Bill Barker</name>
|
||||
<id>billbarker</id>
|
||||
<email>billbarker at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Sébastien Brisard</name>
|
||||
<id>celestin</id>
|
||||
<email>celestin at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Albert Davidson Chou</name>
|
||||
<id>achou</id>
|
||||
<email>achou at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Mark Diggory</name>
|
||||
<id>mdiggory</id>
|
||||
<email>mdiggory at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Robert Burrell Donkin</name>
|
||||
<id>rdonkin</id>
|
||||
<email>rdonkin at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Otmar Ertl</name>
|
||||
<id>oertl</id>
|
||||
<email>oertl at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Luc Maisonobe</name>
|
||||
<id>luc</id>
|
||||
<email>luc at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Tim O'Brien</name>
|
||||
<id>tobrien</id>
|
||||
<email>tobrien at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>J. Pietschmann</name>
|
||||
<id>pietsch</id>
|
||||
<email>j3322ptm at yahoo dot de</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Dimitri Pourbaix</name>
|
||||
<id>dimpbx</id>
|
||||
<email>dimpbx at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Gilles Sadowski</name>
|
||||
<id>erans</id>
|
||||
<email>erans at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Greg Sterijevski</name>
|
||||
<id>gregs</id>
|
||||
<email>gregs at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Brent Worden</name>
|
||||
<id>brentworden</id>
|
||||
<email>brentworden at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Thomas Neidhart</name>
|
||||
<id>tn</id>
|
||||
<email>tn at apache dot org</email>
|
||||
</developer>
|
||||
<developer>
|
||||
<name>Evan Ward</name>
|
||||
<id>evanward</id>
|
||||
<email>evanward at apache dot org</email>
|
||||
</developer>
|
||||
</developers>
|
||||
<contributors>
|
||||
<contributor>
|
||||
<name>Eldar Agalarov</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Tim Allison</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>C. Scott Ananian</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mark Anderson</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Peter Andrews</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Rémi Arntzen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Matt Adereth</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jared Becksfort</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Michael Bjorkegren</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Brian Bloniarz</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>John Bollinger</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Cyril Briquet</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Dave Brosius</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Dan Checkoway</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Anders Conbere</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Charles Cooper</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Paul Cowan</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Benjamin Croizet</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Larry Diamond</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Aleksei Dievskii</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Rodrigo di Lorenzo Lopes</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Hasan Diwan</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ted Dunning</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ole Ersoy</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ajo Fod</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>John Gant</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ken Geis</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Hank Grabowski</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Bernhard Grünewaldt</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Elliotte Rusty Harold</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Dennis Hendriks</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Reid Hochstedler</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Matthias Hummel</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Curtis Jensen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Bruce A Johnson</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Ismael Juma</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Eugene Kirpichov</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Oleksandr Kornieiev</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Piotr Kochanski</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sergei Lebedev</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Bob MacCallum</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jake Mannix</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Benjamin McCann</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Patrick Meyer</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>J. Lewis Muir</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Venkatesha Murthy</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christopher Nix</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Fredrik Norin</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sean Owen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sujit Pal</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Todd C. Parnell</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Andreas Rieger</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Sébastien Riou</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Bill Rossi</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Matthew Rowles</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Pavel Ryzhov</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Joni Salonen</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Michael Saunders</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Thorsten Schaefer</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christopher Schuck</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christian Semrau</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>David Stefka</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Mauro Talevi</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Radoslav Tsvetkov</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Kim van der Linde</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Alexey Volkov</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Andrew Waterman</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Jörg Weimar</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Christian Winter</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Piotr Wydrych</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Xiaogang Zhang</name>
|
||||
</contributor>
|
||||
<contributor>
|
||||
<name>Chris Popp</name>
|
||||
</contributor>
|
||||
</contributors>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.11</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<!-- Do not change: "math" is the name of the component even if the
|
||||
name of the base package evolves with major release numbers
|
||||
(see "commons.osgi.symbolicName", below). -->
|
||||
<commons.componentid>math</commons.componentid>
|
||||
<!-- This value must reflect the current name of the base package. -->
|
||||
<commons.osgi.symbolicName>org.apache.commons.math3</commons.osgi.symbolicName>
|
||||
<!-- do not use snapshot suffix here -->
|
||||
<commons.release.version>3.6.1</commons.release.version>
|
||||
<commons.release.desc>(requires Java 1.5+)</commons.release.desc>
|
||||
<commons.rc.version>RC1</commons.rc.version>
|
||||
<commons.binary.suffix>-bin</commons.binary.suffix>
|
||||
|
||||
<commons.release.2.version>2.2</commons.release.2.version>
|
||||
<!-- override parent name, because 2.2 uses different artifactId -->
|
||||
<commons.release.2.name>commons-math-${commons.release.2.version}</commons.release.2.name>
|
||||
<commons.release.2.desc>(requires Java 1.5+)</commons.release.2.desc>
|
||||
<commons.release.2.binary.suffix></commons.release.2.binary.suffix>
|
||||
|
||||
<commons.jira.id>MATH</commons.jira.id>
|
||||
<commons.jira.pid>12310485</commons.jira.pid>
|
||||
<commons.encoding>UTF-8</commons.encoding>
|
||||
<maven.compiler.source>1.5</maven.compiler.source>
|
||||
<maven.compiler.target>1.5</maven.compiler.target>
|
||||
<math.pmd.version>3.5</math.pmd.version>
|
||||
<math.findbugs.version>3.0.2</math.findbugs.version>
|
||||
<math.checkstyle.version>2.17</math.checkstyle.version>
|
||||
<math.clirr.version>2.6.1</math.clirr.version>
|
||||
|
||||
<!-- Temporary fix to support Java 8 -->
|
||||
<commons.jacoco.version>0.7.5.201505241946</commons.jacoco.version>
|
||||
<commons.jacoco.classRatio>0.96</commons.jacoco.classRatio>
|
||||
<commons.jacoco.instructionRatio>0.8</commons.jacoco.instructionRatio>
|
||||
<commons.jacoco.methodRatio>0.8</commons.jacoco.methodRatio>
|
||||
<commons.jacoco.branchRatio>0.8</commons.jacoco.branchRatio>
|
||||
<commons.jacoco.complexityRatio>0.8</commons.jacoco.complexityRatio>
|
||||
<commons.jacoco.lineRatio>0.85</commons.jacoco.lineRatio>
|
||||
<commons.jacoco.haltOnFailure>false</commons.jacoco.haltOnFailure>
|
||||
|
||||
<commons.site.path>math</commons.site.path>
|
||||
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-math</commons.scmPubUrl>
|
||||
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
|
||||
|
||||
<!-- Temporary fix to replace svn-based build number with git-based build number -->
|
||||
<buildnumber.skip>true</buildnumber.skip>
|
||||
<math.jgit.buildnumber.version>1.2.10</math.jgit.buildnumber.version>
|
||||
<implementation.build>${git.revision}; ${maven.build.timestamp}</implementation.build>
|
||||
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*Test.java</include>
|
||||
<include>**/*TestBinary.java</include>
|
||||
<include>**/*TestPermutations.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*AbstractTest.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/src.xml</descriptor>
|
||||
<descriptor>src/main/assembly/bin.xml</descriptor>
|
||||
</descriptors>
|
||||
<!-- There are a lot of long file names. Suppress the warnings. -->
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
<version>${math.clirr.version}</version>
|
||||
<configuration>
|
||||
<minSeverity>${minSeverity}</minSeverity>
|
||||
<ignoredDifferencesFile>${basedir}/clirr-ignored.xml</ignoredDifferencesFile>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>${math.pmd.version}</version>
|
||||
<configuration>
|
||||
<targetJdk>${maven.compiler.target}</targetJdk>
|
||||
<skipEmptyReport>false</skipEmptyReport>
|
||||
<rulesets>
|
||||
<ruleset>${basedir}/pmd-ruleset.xml</ruleset>
|
||||
</rulesets>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
||||
<configuration>
|
||||
<ignorePathsToDelete>
|
||||
<ignorePathToDelete>javadocs</ignorePathToDelete>
|
||||
</ignorePathsToDelete>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<target>
|
||||
<jar destfile="${project.build.directory}/${project.artifactId}-${project.version}-tools.jar">
|
||||
<metainf dir="${basedir}" includes="NOTICE.txt,LICENSE.txt" />
|
||||
<manifest>
|
||||
<attribute name="Specification-Title" value="${project.name} Tools" />
|
||||
<attribute name="Implementation-Title" value="${project.name} Tools" />
|
||||
<attribute name="Implementation-Vendor" value="${project.organization.name}" />
|
||||
<attribute name="Implementation-Version" value="${project.version}" />
|
||||
<attribute name="Implementation-Vendor-Id" value="org.apache" />
|
||||
<attribute name="Implementation-Build" value="${implementation.build}"/>
|
||||
<attribute name="X-Compile-Source-JDK" value="${maven.compiler.source}" />
|
||||
<attribute name="X-Compile-Target-JDK" value="${maven.compiler.target}" />
|
||||
</manifest>
|
||||
<fileset dir="${project.build.directory}/test-classes"
|
||||
includes="org/apache/commons/math3/PerfTestUtils*" />
|
||||
</jar>
|
||||
</target>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Attaches the commons-math3 tools JAR to the Maven lifecycle
|
||||
to ensure they will be signed and deployed as normal -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-artifacts</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<file>${project.build.directory}/${project.artifactId}-${project.version}-tools.jar</file>
|
||||
<type>jar</type>
|
||||
<classifier>tools</classifier>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- MathJax -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalparam>-header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-changes-plugin</artifactId>
|
||||
<version>${commons.changes.version}</version>
|
||||
<configuration>
|
||||
<issueLinkTemplatePerSystem>
|
||||
<default>%URL%/%ISSUE%</default>
|
||||
</issueLinkTemplatePerSystem>
|
||||
<!-- Add sample JIRA report - 'mvn changes:jira-report' or 'mvn site' -->
|
||||
<onlyCurrentVersion>false</onlyCurrentVersion>
|
||||
<columnNames>Fix Version,Key,Summary,Type,Resolution,Status</columnNames>
|
||||
<!-- Sort cols have to be reversed in JIRA 4 -->
|
||||
<sortColumnNames>Key DESC,Type,Fix Version DESC</sortColumnNames>
|
||||
<resolutionIds>Fixed</resolutionIds>
|
||||
<statusIds>Resolved,Closed</statusIds>
|
||||
<!-- Don't include sub-task -->
|
||||
<typeIds>Bug,New Feature,Task,Improvement,Wish,Test</typeIds>
|
||||
<fixVersionIds>${commons.release.version}</fixVersionIds>
|
||||
<!-- The default is 100 -->
|
||||
<maxEntries>100</maxEntries>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>changes-report</report>
|
||||
<report>jira-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<version>${commons.rat.version}</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
|
||||
<!-- MANIFEST files cannot have any comments, so we can't put license header -->
|
||||
<exclude>src/test/maxima/special/RealFunctionValidation/MANIFEST.txt</exclude>
|
||||
|
||||
<!-- the following are test data files with specific syntax that cannot include
|
||||
Apache header (and the contained data is public, it is not owned by Apache) -->
|
||||
<exclude>src/test/resources/org/apache/commons/math3/random/testData.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/random/emptyFile.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/PiDigits.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc3.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Lew.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc2.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc1.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Lottery.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/NumAcc4.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Michelso.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/stat/data/Mavro.txt</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/geometry/euclidean/threed/issue-1211.bsp</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/geometry/euclidean/threed/pentomino-N-bad-orientation.ply</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/geometry/euclidean/threed/pentomino-N-hole.ply</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/geometry/euclidean/threed/pentomino-N-out-of-plane.ply</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/geometry/euclidean/threed/pentomino-N-too-close.ply</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/math3/geometry/euclidean/threed/pentomino-N.ply</exclude>
|
||||
|
||||
<!-- direction numbers for Sobol generation from Frances Y. Kuo and Stephen Joe,
|
||||
available under a BSD-style license (see LICENSE.txt) -->
|
||||
<exclude>src/main/resources/assets/org/apache/commons/math3/random/new-joe-kuo-6.1000</exclude>
|
||||
|
||||
<!-- text file explaining reference to a public domain image -->
|
||||
<exclude>src/userguide/resources/references.txt</exclude>
|
||||
|
||||
<!-- version 0.8 of apache-rat-plugin does not exclude properly
|
||||
some default development tools files (see RAT-126) -->
|
||||
<exclude>bin/**</exclude>
|
||||
<exclude>.gitignore</exclude>
|
||||
<exclude>.git/**</exclude>
|
||||
<exclude>.checkstyle</exclude>
|
||||
<exclude>.ekstazi/**</exclude>
|
||||
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
<version>${math.findbugs.version}</version>
|
||||
<configuration>
|
||||
<threshold>Normal</threshold>
|
||||
<effort>Default</effort>
|
||||
<excludeFilterFile>${basedir}/findbugs-exclude-filter.xml</excludeFilterFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<version>${math.checkstyle.version}</version>
|
||||
<configuration>
|
||||
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<includeResources>false</includeResources>
|
||||
<headerLocation>${basedir}/license-header.txt</headerLocation>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>checkstyle</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
<version>${math.clirr.version}</version>
|
||||
<configuration>
|
||||
<minSeverity>${minSeverity}</minSeverity>
|
||||
<ignoredDifferencesFile>${basedir}/clirr-ignored.xml</ignoredDifferencesFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>${math.pmd.version}</version>
|
||||
<configuration>
|
||||
<targetJdk>${maven.compiler.target}</targetJdk>
|
||||
<skipEmptyReport>false</skipEmptyReport>
|
||||
<rulesets>
|
||||
<ruleset>${basedir}/pmd-ruleset.xml</ruleset>
|
||||
</rulesets>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>pmd</report>
|
||||
<!-- As of 3.x series, the cpd report sees (correctly) numerous duplications -->
|
||||
<!-- This is due to packages being renamed, and the old name still needs to be -->
|
||||
<!-- available for compatibility. They will be removed in 4.0 -->
|
||||
<!-- So we temporarily disable the CPD report -->
|
||||
<!-- <report>cpd</report> -->
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<!-- MathJax -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<additionalparam>-header '<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>'</additionalparam>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jgit-buildnumber</id>
|
||||
<activation>
|
||||
<file>
|
||||
<exists>.git</exists>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>ru.concerteza.buildnumber</groupId>
|
||||
<artifactId>maven-jgit-buildnumber-plugin</artifactId>
|
||||
<version>${math.jgit.buildnumber.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>extract-buildnumber</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>setup-checkout</id>
|
||||
<activation>
|
||||
<file>
|
||||
<missing>site-content</missing>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prepare-checkout</id>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<exec executable="svn">
|
||||
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
|
||||
</exec>
|
||||
|
||||
<exec executable="svn">
|
||||
<arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
|
||||
</exec>
|
||||
|
||||
<pathconvert pathsep=" " property="dirs">
|
||||
<dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
|
||||
</pathconvert>
|
||||
<exec executable="svn">
|
||||
<arg line="update --set-depth infinity ${dirs}" />
|
||||
</exec>
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<!-- Ekstazi (www.ekstazi.org) profile to optimize regression testing -->
|
||||
<profile>
|
||||
<id>ekstazi</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>ekstazi</name>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.ekstazi</groupId>
|
||||
<artifactId>ekstazi-maven-plugin</artifactId>
|
||||
<version>4.4.0</version>
|
||||
<configuration>
|
||||
<forcefailing>true</forcefailing>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ekstazi</id>
|
||||
<goals>
|
||||
<goal>select</goal>
|
||||
<goal>restore</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludesFile>${java.io.tmpdir}/${user.name}EkstaziExcludes</excludesFile>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user