Next version will be 4.5.0-M1
This commit is contained in:
parent
8992d2bbd9
commit
b040244630
681
pom.xml
681
pom.xml
|
@ -23,7 +23,7 @@
|
|||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>commons-collections4</artifactId>
|
||||
<version>4.5-SNAPSHOT</version>
|
||||
<version>4.5.0-M1-SNAPSHOT</version>
|
||||
<name>Apache Commons Collections</name>
|
||||
|
||||
<inceptionYear>2001</inceptionYear>
|
||||
|
@ -42,6 +42,346 @@
|
|||
<url>https://gitbox.apache.org/repos/asf?p=commons-collections.git</url>
|
||||
</scm>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest</artifactId>
|
||||
<version>2.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.easymock</groupId>
|
||||
<artifactId>easymock</artifactId>
|
||||
<version>5.2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.14.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.16.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>1.16.1</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava-testlib</artifactId>
|
||||
<version>33.1.0-jre</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.5.0-M1</commons.release.version>
|
||||
<commons.release.version>4.5.0</commons.release.version>
|
||||
<commons.release.desc>(Requires Java 8 or above)</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 above)</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 above)</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 above)</commons.release.4.desc>
|
||||
<!-- Override generated name -->
|
||||
<commons.release.4.name>commons-collections-${commons.release.4.version}</commons.release.4.name>
|
||||
<!-- Older release has sha256 only -->
|
||||
<commons.release.4.hash>sha256</commons.release.4.hash>
|
||||
<!-- This is needed until CP49 is released -->
|
||||
<commons.release.4.binary.suffix>-bin</commons.release.4.binary.suffix>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<!--Commons Release Plugin -->
|
||||
<commons.bc.version>4.4</commons.bc.version>
|
||||
<commons.release.isDistModule>true</commons.release.isDistModule>
|
||||
<project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean verify apache-rat:check pmd:check checkstyle:check japicmp:cmp javadoc:javadoc</defaultGoal>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>${commons.pmd.version}</version>
|
||||
<configuration>
|
||||
<targetJdk>${maven.compiler.target}</targetJdk>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<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>.asf.yaml</exclude>
|
||||
<exclude>site-content/**/*</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/collections4/data/test/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<configuration>
|
||||
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
|
||||
<headerLocation>${basedir}/src/conf/license-header.txt</headerLocation>
|
||||
<suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<resourceExcludes>NOTICE.txt,LICENSE.txt,**/pom.properties,**/test*.properties,**/resolver-status.properties</resourceExcludes>
|
||||
</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>
|
||||
<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.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>.asf.yaml</exclude>
|
||||
<exclude>site-content/**/*</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/collections4/data/test/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
</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>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prepare-checkout</id>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<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>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Matt Benson</name>
|
||||
|
@ -463,344 +803,5 @@
|
|||
</contributor>
|
||||
</contributors>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-api</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-params</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hamcrest</groupId>
|
||||
<artifactId>hamcrest</artifactId>
|
||||
<version>2.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.easymock</groupId>
|
||||
<artifactId>easymock</artifactId>
|
||||
<version>5.2.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>3.14.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>2.16.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>1.16.1</version>
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava-testlib</artifactId>
|
||||
<version>33.1.0-jre</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.5</commons.release.version>
|
||||
<commons.release.desc>(Requires Java 8 or above)</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 above)</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 above)</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 above)</commons.release.4.desc>
|
||||
<!-- Override generated name -->
|
||||
<commons.release.4.name>commons-collections-${commons.release.4.version}</commons.release.4.name>
|
||||
<!-- Older release has sha256 only -->
|
||||
<commons.release.4.hash>sha256</commons.release.4.hash>
|
||||
<!-- This is needed until CP49 is released -->
|
||||
<commons.release.4.binary.suffix>-bin</commons.release.4.binary.suffix>
|
||||
|
||||
<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>
|
||||
|
||||
<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>
|
||||
|
||||
<!--Commons Release Plugin -->
|
||||
<commons.bc.version>4.4</commons.bc.version>
|
||||
<commons.release.isDistModule>true</commons.release.isDistModule>
|
||||
<project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean verify apache-rat:check pmd:check checkstyle:check japicmp:cmp javadoc:javadoc</defaultGoal>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
<version>${commons.pmd.version}</version>
|
||||
<configuration>
|
||||
<targetJdk>${maven.compiler.target}</targetJdk>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<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>.asf.yaml</exclude>
|
||||
<exclude>site-content/**/*</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/collections4/data/test/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
<configuration>
|
||||
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
|
||||
<headerLocation>${basedir}/src/conf/license-header.txt</headerLocation>
|
||||
<suppressionsLocation>${basedir}/src/conf/checkstyle-suppressions.xml</suppressionsLocation>
|
||||
<enableRulesSummary>false</enableRulesSummary>
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<resourceExcludes>NOTICE.txt,LICENSE.txt,**/pom.properties,**/test*.properties,**/resolver-status.properties</resourceExcludes>
|
||||
</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>
|
||||
<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.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>.asf.yaml</exclude>
|
||||
<exclude>site-content/**/*</exclude>
|
||||
<exclude>src/test/resources/org/apache/commons/collections4/data/test/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.spotbugs</groupId>
|
||||
<artifactId>spotbugs-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-pmd-plugin</artifactId>
|
||||
</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>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prepare-checkout</id>
|
||||
<phase>pre-site</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<target>
|
||||
<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>
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<title>Apache Commons Collections Release Notes</title>
|
||||
</properties>
|
||||
<body>
|
||||
<release version="4.5" date="2020-MM-DD" description="Maintenance release.">
|
||||
<release version="4.5.0-M1" date="YYYY-MM-DD" description="Maintenance release.">
|
||||
<!-- FIX -->
|
||||
<action issue="COLLECTIONS-780" dev="kinow" type="fix" due-to="Arturo Bernal">
|
||||
Use assertThrows V2.
|
||||
|
|
Loading…
Reference in New Issue