This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch forbidden-apis in repository https://gitbox.apache.org/repos/asf/incubator-stormcrawler.git
commit 72a08a9a9fae47b3fc257da656c86ce93e560296 Author: tallison <[email protected]> AuthorDate: Fri May 3 08:01:28 2024 -0400 Add forbidden-apis, first step WIP -- DO NOT COMMIT --- pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pom.xml b/pom.xml index b9732d17..039950ba 100644 --- a/pom.xml +++ b/pom.xml @@ -163,6 +163,34 @@ </formatterOptions> </configuration> </plugin> + <plugin> + <groupId>de.thetaphi</groupId> + <artifactId>forbiddenapis</artifactId> + <version>3.7</version> + <configuration> + <targetVersion>11</targetVersion> + <ignoreSignaturesOfMissingClasses>true</ignoreSignaturesOfMissingClasses> + <failOnUnsupportedJava>false</failOnUnsupportedJava> + <excludes>test-documents/*.class</excludes> + <bundledSignatures> + <bundledSignature>jdk-unsafe</bundledSignature> + <bundledSignature>jdk-deprecated</bundledSignature> + <bundledSignature>jdk-non-portable</bundledSignature> + <bundledSignature>jdk-internal</bundledSignature> + <!-- replace with ${commons.io.version} when available --> + <bundledSignature>commons-io-unsafe-2.11.0</bundledSignature> + </bundledSignatures> + </configuration> + <executions> + <execution> + <goals> + <goal>check</goal> + <goal>testCheck</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId>
