Index: dev-tools/maven/lucene/analysis/common/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/common/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/common/pom.xml.template (working copy) @@ -71,5 +71,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/analysis/icu/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/icu/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/icu/pom.xml.template (working copy) @@ -83,5 +83,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template (working copy) @@ -78,5 +78,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/analysis/morfologik/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/morfologik/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/morfologik/pom.xml.template (working copy) @@ -82,5 +82,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/analysis/phonetic/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/phonetic/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/phonetic/pom.xml.template (working copy) @@ -82,5 +82,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/analysis/smartcn/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/smartcn/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/smartcn/pom.xml.template (working copy) @@ -76,5 +76,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/analysis/stempel/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/stempel/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/stempel/pom.xml.template (working copy) @@ -76,5 +76,64 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + org/egothor/stemmer/Compile.class + org/egothor/stemmer/DiffIt.class + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/analysis/uima/pom.xml.template =================================================================== --- dev-tools/maven/lucene/analysis/uima/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/analysis/uima/pom.xml.template (working copy) @@ -89,5 +89,59 @@ ${module-path}/src/test-files + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/benchmark/pom.xml.template =================================================================== --- dev-tools/maven/lucene/benchmark/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/benchmark/pom.xml.template (working copy) @@ -120,5 +120,61 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/classification/pom.xml.template =================================================================== --- dev-tools/maven/lucene/classification/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/classification/pom.xml.template (working copy) @@ -77,5 +77,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/codecs/src/java/pom.xml.template =================================================================== --- dev-tools/maven/lucene/codecs/src/java/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/codecs/src/java/pom.xml.template (working copy) @@ -73,6 +73,44 @@ true + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-classes + + + true + ${project.build.outputDirectory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + Index: dev-tools/maven/lucene/codecs/src/test/pom.xml.template =================================================================== --- dev-tools/maven/lucene/codecs/src/test/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/codecs/src/test/pom.xml.template (working copy) @@ -69,6 +69,45 @@ true + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.testOutputDirectory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/lucene/core/src/java/pom.xml.template =================================================================== --- dev-tools/maven/lucene/core/src/java/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/core/src/java/pom.xml.template (working copy) @@ -64,6 +64,53 @@ true + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-classes + + + true + ${project.build.outputDirectory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + 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 + + + + forbiddenapis + + + + Index: dev-tools/maven/lucene/core/src/test/pom.xml.template =================================================================== --- dev-tools/maven/lucene/core/src/test/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/core/src/test/pom.xml.template (working copy) @@ -88,6 +88,45 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.testOutputDirectory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/lucene/demo/pom.xml.template =================================================================== --- dev-tools/maven/lucene/demo/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/demo/pom.xml.template (working copy) @@ -86,5 +86,63 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + org/apache/lucene/** + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/facet/pom.xml.template =================================================================== --- dev-tools/maven/lucene/facet/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/facet/pom.xml.template (working copy) @@ -73,5 +73,63 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + org/apache/lucene/facet/util/PrintTaxonomyStats.class + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/grouping/pom.xml.template =================================================================== --- dev-tools/maven/lucene/grouping/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/grouping/pom.xml.template (working copy) @@ -71,5 +71,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/highlighter/pom.xml.template =================================================================== --- dev-tools/maven/lucene/highlighter/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/highlighter/pom.xml.template (working copy) @@ -78,5 +78,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/join/pom.xml.template =================================================================== --- dev-tools/maven/lucene/join/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/join/pom.xml.template (working copy) @@ -71,5 +71,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/memory/pom.xml.template =================================================================== --- dev-tools/maven/lucene/memory/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/memory/pom.xml.template (working copy) @@ -74,5 +74,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/misc/pom.xml.template =================================================================== --- dev-tools/maven/lucene/misc/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/misc/pom.xml.template (working copy) @@ -66,5 +66,68 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + 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 + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/queries/pom.xml.template =================================================================== --- dev-tools/maven/lucene/queries/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/queries/pom.xml.template (working copy) @@ -66,5 +66,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/queryparser/pom.xml.template =================================================================== --- dev-tools/maven/lucene/queryparser/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/queryparser/pom.xml.template (working copy) @@ -81,5 +81,65 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + 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 + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/sandbox/pom.xml.template =================================================================== --- dev-tools/maven/lucene/sandbox/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/sandbox/pom.xml.template (working copy) @@ -70,5 +70,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/spatial/pom.xml.template =================================================================== --- dev-tools/maven/lucene/spatial/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/spatial/pom.xml.template (working copy) @@ -69,5 +69,59 @@ ${module-path}/src/test-files + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/suggest/pom.xml.template =================================================================== --- dev-tools/maven/lucene/suggest/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/suggest/pom.xml.template (working copy) @@ -71,5 +71,59 @@ + + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + check-system-out + process-classes + + ${project.build.outputDirectory} + + jdk-system-out + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + + Index: dev-tools/maven/lucene/test-framework/pom.xml.template =================================================================== --- dev-tools/maven/lucene/test-framework/pom.xml.template (revision 1445011) +++ dev-tools/maven/lucene/test-framework/pom.xml.template (working copy) @@ -82,6 +82,61 @@ true + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-classes + + + true + + ${project.build.outputDirectory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + + + + forbiddenapis + + + + + check-forbidden-test-apis + process-classes + + + ${project.build.outputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/pom.xml.template =================================================================== --- dev-tools/maven/pom.xml.template (revision 1445011) +++ dev-tools/maven/pom.xml.template (working copy) @@ -49,6 +49,7 @@ 1.6.4 1.2 4.1.3 + 2.1 1 @@ -178,7 +179,7 @@ commons-io commons-io - 2.1 + ${commons-io.version} org.apache.httpcomponents @@ -459,6 +460,20 @@ + de.thetaphi + forbiddenapis + 1.1 + + + false + ${java.compat.version} + + + org.apache.maven.plugins maven-antrun-plugin 1.7 Index: dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template (working copy) @@ -109,6 +109,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/contrib/clustering/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/clustering/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/clustering/pom.xml.template (working copy) @@ -150,6 +150,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template (working copy) @@ -114,6 +114,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template (working copy) @@ -112,6 +112,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/contrib/extraction/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/extraction/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/extraction/pom.xml.template (working copy) @@ -109,6 +109,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/contrib/langid/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/langid/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/langid/pom.xml.template (working copy) @@ -115,6 +115,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/contrib/uima/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/uima/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/uima/pom.xml.template (working copy) @@ -134,6 +134,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/contrib/velocity/pom.xml.template =================================================================== --- dev-tools/maven/solr/contrib/velocity/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/contrib/velocity/pom.xml.template (working copy) @@ -150,6 +150,46 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.directory} + + jdk-unsafe + jdk-deprecated + + + ${top-level}/lucene/tools/forbiddenApis/executors.txt + ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/core/src/java/pom.xml.template =================================================================== --- dev-tools/maven/solr/core/src/java/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/core/src/java/pom.xml.template (working copy) @@ -216,6 +216,33 @@ true + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-classes + + + true + ${project.build.outputDirectory} + + 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 + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/core/src/test/pom.xml.template =================================================================== --- dev-tools/maven/solr/core/src/test/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/core/src/test/pom.xml.template (working copy) @@ -123,6 +123,53 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.testOutputDirectory} + + 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 + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + org/apache/solr/search/DocSetPerf.class + + org/apache/solr/internal/**/*.class + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/solrj/src/java/pom.xml.template =================================================================== --- dev-tools/maven/solr/solrj/src/java/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/solrj/src/java/pom.xml.template (working copy) @@ -132,6 +132,33 @@ true + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-classes + + + true + ${project.build.outputDirectory} + + 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 + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/solrj/src/test/pom.xml.template =================================================================== --- dev-tools/maven/solr/solrj/src/test/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/solrj/src/test/pom.xml.template (working copy) @@ -112,6 +112,51 @@ + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-test-classes + + + true + + ${project.build.testOutputDirectory} + + 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 + + + + org/apache/solr/client/solrj/impl/BasicHttpSolrServerTest$DebugServlet.class + + + + forbiddenapis + + + + check-forbidden-test-apis + process-test-classes + + ${project.build.testOutputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + + Index: dev-tools/maven/solr/test-framework/pom.xml.template =================================================================== --- dev-tools/maven/solr/test-framework/pom.xml.template (revision 1445011) +++ dev-tools/maven/solr/test-framework/pom.xml.template (working copy) @@ -104,6 +104,48 @@ true + + de.thetaphi + forbiddenapis + + + check-forbidden-jdk-apis + process-classes + + + true + + ${project.build.outputDirectory} + + 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 + + + + forbiddenapis + + + + check-forbidden-test-apis + process-classes + + + ${project.build.outputDirectory} + + ${top-level}/lucene/tools/forbiddenApis/tests.txt + + + + forbiddenapis + + + +