mirror of https://github.com/apache/lucene.git
LUCENE-6420: Add missing suppressAnnotation declaration on forbiddenapis ANT task in test-frameworks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674939 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b4fe002ba
commit
f4207755d9
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue