This is an automated email from the ASF dual-hosted git repository. pkarwasz pushed a commit to branch commons_parent_92 in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 5d6cb6580213ab0819c531edbbf0ff1dec90f2ae Author: Piotr P. Karwasz <[email protected]> AuthorDate: Sat Nov 8 09:30:45 2025 +0100 Bump `commons-parent` to version 92 This update resolves a build failure on `main` caused by a bug in **PMD 7.17.0** (pmd/pmd#4904). The issue prevents PMD from including the name of the containing class in the fully qualified class name (FQCN) of nested classes. As a result, the exclusion rule: ```text org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION = AvoidUsingOctalValues ``` is not applied correctly. There are two possible solutions 1. Update the exclusion to match PMD’s incorrect FQCN: ```text org.apache.commons.compress.archivers.dump.PERMISSION = AvoidUsingOctalValues ``` 2. Upgrade PMD to **7.18.0**, which fixes this issue. This PR takes the second approach by bumping the parent to version **92**, which includes PMD **7.18.0**. --- pom.xml | 18 +++++++++++++++++- src/changes/changes.xml | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 5caa3c274..8734a27b6 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ <parent> <groupId>org.apache.commons</groupId> <artifactId>commons-parent</artifactId> - <version>91</version> + <version>92</version> </parent> <artifactId>commons-compress</artifactId> <version>1.29.0-SNAPSHOT</version> @@ -90,6 +90,22 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. <checkstyle.suppress.file>${basedir}/src/conf/checkstyle/checkstyle-suppressions.xml</checkstyle.suppress.file> <checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes> </properties> + <repositories> + <!-- Central before Apache releases to prevent too many 404 errors on the latter --> + <repository> + <id>central</id> + <url>https://repo.maven.apache.org/maven2/</url> + </repository> + <!-- TEMP for branch commons-parent... --> + <repository> + <id>apache.staging</id> + <name>Apache Staging Repository</name> + <url>https://repository.apache.org/content/repositories/orgapachecommons-1872/</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + </repository> + </repositories> <issueManagement> <system>jira</system> <url>https://issues.apache.org/jira/browse/COMPRESS</url> diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 20c0c855b..466bbc7ad 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -137,7 +137,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="add" dev="pkarwasz" due-to="Piotr P. Karwasz">Introduce an ArchiveFile abstraction to unify the APIs of SevenZFile, TarFile, and ZipFile.</action> <action type="add" dev="pkarwasz" due-to="Piotr P. Karwasz">Add a configurable maxEntryNameLength option to all archivers.</action> <!-- UPDATE --> - <action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 85 to 89 #707.</action> + <action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 85 to 92 #707.</action> <action type="update" dev="ggregory" due-to="Gary Gregory">Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0.</action> <action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump com.github.luben:zstd-jni from 1.5.7-4 to 1.5.7-6 #717, #740.</action> <action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">Bump com.github.marschall:memoryfilesystem from 2.8.1 to 2.8.2 #727.</action>
