From 2c8524866cc5bb00f35b4c21a5a86c2a19645176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Sotuyo=20Dodero?= Date: Tue, 19 Jul 2022 23:17:39 -0300 Subject: [PATCH] [core] Allow building PMD under Java 18+ - Tests would fail due to the internal usage of SecurityManager without this flag --- pom.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c035edbedc..a0e42d3294 100644 --- a/pom.xml +++ b/pom.xml @@ -103,7 +103,8 @@ UTF-8 https://pmd.github.io/pmd - -Xmx512m -Dfile.encoding=${project.build.sourceEncoding} + -Xmx512m -Dfile.encoding=${project.build.sourceEncoding} ${extraArgLine} + 18 @@ -1008,6 +1009,17 @@ + + Java 18+ + + [18,) + + + + -Djava.security.manager=allow + + + pmd-release