Skip to content

Apache Lucene open-source search software

Upgrade forbiddenapis to hotfix release 3.0.1 (allows upgrade to commons-io 2.7 in Solr)

Uwe Schindler08a13ce58942
diff --git a/build.gradle b/build.gradle
index 3a08ec4427f..5fc36093668 100644
--- a/build.gradle
+++ b/build.gradle
@@ -21,7 +21,7 @@ import java.time.format.DateTimeFormatter
plugins {
id "base"
id "com.palantir.consistent-versions" version "1.14.0"
- id 'de.thetaphi.forbiddenapis' version '3.0' apply false
+ id 'de.thetaphi.forbiddenapis' version '3.0.1' apply false
id "org.owasp.dependencycheck" version "5.3.0"
id "de.undercouch.download" version "4.0.2" apply false
}
diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.template
index b5bd2df1144..b5e98b190ec 100644
--- a/dev-tools/maven/pom.xml.template
+++ b/dev-tools/maven/pom.xml.template
@@ -159,7 +159,7 @@
<plugin>
<groupId>de.thetaphi</groupId>
<artifactId>forbiddenapis</artifactId>
- <version>2.7</version>
+ <version>3.0.1</version>
<configuration>
<!--
This is the default setting, we don't support too new Java versions.
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index b56a1ccc3f4..db0ff6cca9b 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -289,7 +289,7 @@ Other
Build
-* Upgrade forbiddenapis to version 3.0. (Uwe Schindler)
+* Upgrade forbiddenapis to version 3.0.1. (Uwe Schindler)
* LUCENE-9376: Fix or suppress 20 resource leak precommit warnings in lucene/search
(Andras Salamon via Erick Erickson)
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index e7fc4174de8..7bb6e55081e 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -2342,7 +2342,7 @@ ${ant.project.name}.test.dependencies=${test.classpath.list}
<property name="forbidden-sysout-excludes" value=""/>
<target name="-install-forbidden-apis" unless="forbidden-apis.loaded" depends="ivy-availability-check,ivy-configure">
- <ivy:cachepath organisation="de.thetaphi" module="forbiddenapis" revision="3.0"
+ <ivy:cachepath organisation="de.thetaphi" module="forbiddenapis" revision="3.0.1"
inline="true" conf="default" transitive="true" pathid="forbidden-apis.classpath"/>
<taskdef name="forbidden-apis" classname="de.thetaphi.forbiddenapis.ant.AntTask" classpathref="forbidden-apis.classpath"/>
<property name="forbidden-apis.loaded" value="true"/>