This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/opennlp-sandbox.git
The following commit(s) were added to refs/heads/master by this push:
new 2ea558f Update build dependency forbiddenapis to version 3.4
2ea558f is described below
commit 2ea558f6b8a8b9692ddcc993d4ccd77b77a93e91
Author: Martin Wiesner <[email protected]>
AuthorDate: Fri Mar 3 22:30:07 2023 +0100
Update build dependency forbiddenapis to version 3.4
- upgrades the Maven plugin to the lastest version which adds support for
checks on newer JDK versions
- adds extra forbiddenapis bundles/checks to the config to be more strict
(=> passes)
- removes incorrect excludes (patterns) in `maven-surefire-plugin` sandbox
config
---
pom.xml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 1bc5ea5..4d6728b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -278,8 +278,6 @@
<forkCount>${opennlp.forkCount}</forkCount>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
<excludes>
- <exclude>**/stemmer/*</exclude>
- <exclude>**/stemmer/snowball/*</exclude>
<exclude>**/*IT.java</exclude>
</excludes>
</configuration>
@@ -311,12 +309,15 @@
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
- <version>2.7</version>
+ <version>3.4</version>
<configuration>
<failOnUnsupportedJava>false</failOnUnsupportedJava>
<bundledSignatures>
<bundledSignature>jdk-deprecated</bundledSignature>
<bundledSignature>jdk-non-portable</bundledSignature>
+ <bundledSignature>jdk-internal</bundledSignature>
+ <!-- don't allow unsafe reflective access: -->
+ <bundledSignature>jdk-reflection</bundledSignature>
</bundledSignatures>
</configuration>
<executions>