You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2020/04/27 09:55:11 UTC

[lucene-solr] branch master updated: LUCENE-9347: Add support for forbiddenapis 3.0 (#1459)

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 64eed9a  LUCENE-9347: Add support for forbiddenapis 3.0 (#1459)
64eed9a is described below

commit 64eed9a1a62223a23d6b3b5c78b0335b06e5d6fc
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Mon Apr 27 11:54:59 2020 +0200

    LUCENE-9347: Add support for forbiddenapis 3.0 (#1459)
    
    LUCENE-9347: Add support for forbiddenapis 3.0
---
 build.gradle            | 2 +-
 lucene/CHANGES.txt      | 4 ++++
 lucene/common-build.xml | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index 8ff971a..754a2f6 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 '2.7' apply false
+  id 'de.thetaphi.forbiddenapis' version '3.0' apply false
   id "org.owasp.dependencycheck" version "5.3.0"
   id "de.undercouch.download" version "4.0.2" apply false
 }
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 9754bbe..0df2c3d 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -238,6 +238,10 @@ Other
 * LUCENE-9338: Refactors SimpleBindings to improve type safety and cycle detection (Alan Woodward,
   Adrien Grand)
 
+Build
+
+* Upgrade forbiddenapis to version 3.0.  (Uwe Schindler)
+
 ======================= Lucene 8.5.1 =======================
 
 Bug Fixes
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 01c3b18..e7fc417 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="2.7"
+    <ivy:cachepath organisation="de.thetaphi" module="forbiddenapis" revision="3.0"
       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"/>