Apache Lucene open-source search software
LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
Uwe Schindlerf4207755d903
diff --git a/lucene/test-framework/build.xml b/lucene/test-framework/build.xmlindex 8cc4a07d23b..94d99054049 100644--- a/lucene/test-framework/build.xml+++ b/lucene/test-framework/build.xml@@ -46,12 +46,11 @@<!-- redefine the forbidden apis for tests, as we check ourselves - no sysout testing --><target name="-check-forbidden-tests" depends="-init-forbidden-apis,compile-core">- <forbidden-apis signaturesFile="${common.dir}/tools/forbiddenApis/tests.txt" classpathref="forbidden-apis.allclasses.classpath">+ <forbidden-apis suppressAnnotation="**.SuppressForbidden" signaturesFile="${common.dir}/tools/forbiddenApis/tests.txt" classpathref="forbidden-apis.allclasses.classpath"><fileset dir="${build.dir}/classes/java"/></forbidden-apis></target><target name="-check-forbidden-sysout"/>- <target name="-check-forbidden-rue"/><target name="javadocs-core" depends="javadocs"/><target name="javadocs" depends="init,javadocs-lucene-core,javadocs-lucene-codecs,check-javadocs-uptodate"diff --git a/solr/test-framework/build.xml b/solr/test-framework/build.xmlindex a8e7911a6ee..cab380ccf84 100644--- a/solr/test-framework/build.xml+++ b/solr/test-framework/build.xml@@ -51,7 +51,7 @@<!-- redefine the forbidden apis for tests, as we check ourselves --><target name="-check-forbidden-tests" depends="-init-forbidden-apis,compile-core">- <forbidden-apis signaturesFile="${common.dir}/tools/forbiddenApis/tests.txt" classpathref="forbidden-apis.allclasses.classpath">+ <forbidden-apis suppressAnnotation="**.SuppressForbidden" signaturesFile="${common.dir}/tools/forbiddenApis/tests.txt" classpathref="forbidden-apis.allclasses.classpath"><fileset dir="${build.dir}/classes/java"/></forbidden-apis></target>