This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push: new 169b03dcc Fix tests on Java 17 and up 169b03dcc is described below commit 169b03dccc3a659713ba493d66f11f506554f56e Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Feb 17 17:51:25 2024 -0500 Fix tests on Java 17 and up --- pom.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cc6f1b89b..dd23df35b 100644 --- a/pom.xml +++ b/pom.xml @@ -514,7 +514,25 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj. <coveralls.skip>true</coveralls.skip> </properties> </profile> - + <profile> + <id>java17</id> + <activation> + <jdk>[17,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <argLine> + --add-opens java.base/java.io=ALL-UNNAMED + </argLine> + </configuration> + </plugin> + </plugins> + </build> + </profile> </profiles> <developers>