Index: dev-tools/maven/lucene/analysis/common/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/common/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/common/pom.xml.template (working copy)
@@ -71,5 +71,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/analysis/icu/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/icu/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/icu/pom.xml.template (working copy)
@@ -83,5 +83,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template (working copy)
@@ -78,5 +78,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/analysis/morfologik/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/morfologik/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/morfologik/pom.xml.template (working copy)
@@ -82,5 +82,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/analysis/phonetic/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/phonetic/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/phonetic/pom.xml.template (working copy)
@@ -82,5 +82,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/analysis/smartcn/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/smartcn/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/smartcn/pom.xml.template (working copy)
@@ -76,5 +76,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/analysis/stempel/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/stempel/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/stempel/pom.xml.template (working copy)
@@ -76,5 +76,61 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ check-system-out
+
+
+ jdk-system-out
+
+
+
+ org/egothor/stemmer/Compile.class
+ org/egothor/stemmer/DiffIt.class
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/analysis/uima/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/analysis/uima/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/analysis/uima/pom.xml.template (working copy)
@@ -89,5 +89,46 @@
${module-path}/src/test-files
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/benchmark/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/benchmark/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/benchmark/pom.xml.template (working copy)
@@ -120,5 +120,47 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/classification/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/classification/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/classification/pom.xml.template (working copy)
@@ -77,5 +77,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/codecs/src/java/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/codecs/src/java/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/codecs/src/java/pom.xml.template (working copy)
@@ -73,6 +73,30 @@
true
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+
Index: dev-tools/maven/lucene/codecs/src/test/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/codecs/src/test/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/codecs/src/test/pom.xml.template (working copy)
@@ -69,6 +69,27 @@
true
+
+ de.thetaphi
+ forbiddenapis
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/lucene/core/src/java/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/core/src/java/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/core/src/java/pom.xml.template (working copy)
@@ -64,6 +64,49 @@
true
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ check-system-out
+
+
+ jdk-system-out
+
+
+
+ org/apache/lucene/index/CheckIndex.class
+ org/apache/lucene/index/IndexUpgrader.class
+ org/apache/lucene/store/LockVerifyServer.class
+ org/apache/lucene/store/LockStressTest.class
+
+ org/apache/lucene/util/PrintStreamInfoStream.class
+
+
+
+ check
+
+
+
+
Index: dev-tools/maven/lucene/core/src/test/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/core/src/test/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/core/src/test/pom.xml.template (working copy)
@@ -88,6 +88,27 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/lucene/demo/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/demo/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/demo/pom.xml.template (working copy)
@@ -91,5 +91,47 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/facet/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/facet/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/facet/pom.xml.template (working copy)
@@ -78,5 +78,60 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ check-system-out
+
+
+ jdk-system-out
+
+
+
+ org/apache/lucene/facet/util/PrintTaxonomyStats.class
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/grouping/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/grouping/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/grouping/pom.xml.template (working copy)
@@ -71,5 +71,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/highlighter/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/highlighter/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/highlighter/pom.xml.template (working copy)
@@ -78,5 +78,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/join/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/join/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/join/pom.xml.template (working copy)
@@ -71,5 +71,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/memory/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/memory/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/memory/pom.xml.template (working copy)
@@ -74,5 +74,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/misc/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/misc/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/misc/pom.xml.template (working copy)
@@ -66,5 +66,65 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ check-system-out
+
+
+ jdk-system-out
+
+
+
+ org/apache/lucene/index/CompoundFileExtractor.class
+ org/apache/lucene/index/IndexSplitter.class
+ org/apache/lucene/index/MultiPassIndexSplitter.class
+ org/apache/lucene/misc/GetTermInfo.class
+ org/apache/lucene/misc/HighFreqTerms.class
+ org/apache/lucene/misc/IndexMergeTool.class
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/queries/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/queries/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/queries/pom.xml.template (working copy)
@@ -66,5 +66,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/queryparser/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/queryparser/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/queryparser/pom.xml.template (working copy)
@@ -81,5 +81,62 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ check-system-out
+
+
+ jdk-system-out
+
+
+
+ org/apache/lucene/queryparser/classic/QueryParserTokenManager.class
+ org/apache/lucene/queryparser/flexible/standard/parser/StandardSyntaxParserTokenManager.class
+ org/apache/lucene/queryparser/surround/parser/QueryParserTokenManager.class
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/sandbox/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/sandbox/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/sandbox/pom.xml.template (working copy)
@@ -70,5 +70,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/spatial/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/spatial/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/spatial/pom.xml.template (working copy)
@@ -69,5 +69,46 @@
${module-path}/src/test-files
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/suggest/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/suggest/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/suggest/pom.xml.template (working copy)
@@ -71,5 +71,46 @@
+
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-deprecated-and-system-out
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ jdk-system-out
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
+
Index: dev-tools/maven/lucene/test-framework/pom.xml.template
===================================================================
--- dev-tools/maven/lucene/test-framework/pom.xml.template (revision 1445446)
+++ dev-tools/maven/lucene/test-framework/pom.xml.template (working copy)
@@ -82,6 +82,27 @@
true
+
+ de.thetaphi
+ forbiddenapis
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ check
+
+
+
+
Index: dev-tools/maven/pom.xml.template
===================================================================
--- dev-tools/maven/pom.xml.template (revision 1445446)
+++ dev-tools/maven/pom.xml.template (working copy)
@@ -49,6 +49,7 @@
1.6.4
1.2
4.1.3
+ 2.1
1
@@ -137,6 +138,22 @@
+
+
+
+ false
+
+
+ true
+ never
+ fail
+
+ sonatype-oss-snapshots
+ Sonatype OSS Snapshots
+ https://oss.sonatype.org/content/repositories/snapshots
+ default
+
+
@@ -178,7 +195,7 @@
commons-io
commons-io
- 2.1
+ ${commons-io.version}
org.apache.httpcomponents
@@ -459,6 +476,20 @@
+ de.thetaphi
+ forbiddenapis
+ 1.2-SNAPSHOT
+
+
+ false
+ ${java.compat.version}
+
+
+
org.apache.maven.plugins
maven-antrun-plugin
1.7
@@ -708,7 +739,6 @@
bundle-manifest
- process-classes
manifest
Index: dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template (working copy)
@@ -109,6 +109,46 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/contrib/clustering/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/clustering/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/clustering/pom.xml.template (working copy)
@@ -150,6 +150,46 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template (working copy)
@@ -114,6 +114,46 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template (working copy)
@@ -112,6 +112,46 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/contrib/extraction/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/extraction/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/extraction/pom.xml.template (working copy)
@@ -109,6 +109,47 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-servlet-api-and-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/contrib/langid/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/langid/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/langid/pom.xml.template (working copy)
@@ -115,6 +115,47 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-servlet-api-and-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/contrib/uima/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/uima/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/uima/pom.xml.template (working copy)
@@ -134,6 +134,47 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-servlet-api-and-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/contrib/velocity/pom.xml.template
===================================================================
--- dev-tools/maven/solr/contrib/velocity/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/contrib/velocity/pom.xml.template (working copy)
@@ -150,6 +150,47 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+ test-check-forbidden-servlet-api-and-test-apis-and-jdk-unsafe-and-deprecated
+
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/core/src/java/pom.xml.template
===================================================================
--- dev-tools/maven/solr/core/src/java/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/core/src/java/pom.xml.template (working copy)
@@ -216,6 +216,31 @@
true
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-servlet-api-and-jdk-unsafe-and-deprecated-and-commons-io-unsafe
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ commons-io-unsafe-${commons-io.version}
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+
+
+
+ check
+
+
+
+
Index: dev-tools/maven/solr/core/src/test/pom.xml.template
===================================================================
--- dev-tools/maven/solr/core/src/test/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/core/src/test/pom.xml.template (working copy)
@@ -123,6 +123,47 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ test-check-forbidden-servlet-api-and-jdk-unsafe-and-deprecated-and-commons-io-unsafe
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ commons-io-unsafe-${commons-io.version}
+
+
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+
+
+
+ testCheck
+
+
+
+ test-check-forbidden-test-apis
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ org/apache/solr/search/DocSetPerf.class
+
+ org/apache/solr/internal/**/*.class
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/solrj/src/java/pom.xml.template
===================================================================
--- dev-tools/maven/solr/solrj/src/java/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/solrj/src/java/pom.xml.template (working copy)
@@ -132,6 +132,32 @@
true
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-executors-and-jdk-unsafe-and-deprecated-and-commons-io-unsafe
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ commons-io-unsafe-${commons-io.version}
+
+
+ ${top-level}/lucene/tools/forbiddenApis/executors.txt
+
+
+
+
+
+ check
+
+
+
+
Index: dev-tools/maven/solr/solrj/src/test/pom.xml.template
===================================================================
--- dev-tools/maven/solr/solrj/src/test/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/solrj/src/test/pom.xml.template (working copy)
@@ -112,6 +112,45 @@
+
+ de.thetaphi
+ forbiddenapis
+
+
+ test-check-forbidden-servlet-api
+
+
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+
+
+
+ org/apache/solr/client/solrj/impl/BasicHttpSolrServerTest$DebugServlet.class
+
+
+
+ testCheck
+
+
+
+ test-check-forbidden-test-apis-and-jdk-unsafe-and-deprecated-and-commons-io-unsafe
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+ commons-io-unsafe-${commons-io.version}
+
+
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ testCheck
+
+
+
+
Index: dev-tools/maven/solr/test-framework/pom.xml.template
===================================================================
--- dev-tools/maven/solr/test-framework/pom.xml.template (revision 1445446)
+++ dev-tools/maven/solr/test-framework/pom.xml.template (working copy)
@@ -104,6 +104,30 @@
true
+
+ de.thetaphi
+ forbiddenapis
+
+
+ check-forbidden-test-apis-and-servlet-api-and-jdk-unsafe-and-deprecated
+
+
+ true
+
+ jdk-unsafe
+ jdk-deprecated
+
+
+ ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt
+ ${top-level}/lucene/tools/forbiddenApis/tests.txt
+
+
+
+ check
+
+
+
+