You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2020/09/14 16:38:34 UTC

[lucene-solr] 16/39: LUCENE-9433: Remove Ant support from trunk

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

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

commit cc5b672e5080e70de55af263a15472c614f4d424
Author: Erick Erickson <Er...@gmail.com>
AuthorDate: Fri Aug 28 09:31:16 2020 -0400

    LUCENE-9433: Remove Ant support from trunk
---
 .github/PULL_REQUEST_TEMPLATE.md                   |   2 +-
 README.md                                          |  72 +-
 build.xml                                          | 697 ------------------
 dev-tools/idea/.idea/ant.xml                       |  57 --
 dev-tools/idea/.idea/libraries/Ivy.xml             |   9 -
 dev-tools/maven/README.maven                       | 159 ----
 .../maven/lucene/analysis/common/pom.xml.template  |  86 ---
 .../maven/lucene/analysis/icu/pom.xml.template     |  76 --
 .../lucene/analysis/kuromoji/pom.xml.template      |  75 --
 .../lucene/analysis/morfologik/pom.xml.template    |  78 --
 .../maven/lucene/analysis/nori/pom.xml.template    |  75 --
 .../maven/lucene/analysis/opennlp/pom.xml.template |  78 --
 .../lucene/analysis/phonetic/pom.xml.template      |  75 --
 dev-tools/maven/lucene/analysis/pom.xml.template   |  55 --
 .../maven/lucene/analysis/smartcn/pom.xml.template |  73 --
 .../maven/lucene/analysis/stempel/pom.xml.template |  73 --
 .../maven/lucene/backward-codecs/pom.xml.template  |  88 ---
 dev-tools/maven/lucene/benchmark/pom.xml.template  |  86 ---
 .../maven/lucene/classification/pom.xml.template   |  68 --
 dev-tools/maven/lucene/codecs/pom.xml.template     |  48 --
 .../maven/lucene/codecs/src/java/pom.xml.template  |  85 ---
 .../maven/lucene/codecs/src/test/pom.xml.template  |  84 ---
 dev-tools/maven/lucene/core/pom.xml.template       |  48 --
 .../maven/lucene/core/src/java/pom.xml.template    |  79 --
 .../maven/lucene/core/src/test/pom.xml.template    |  84 ---
 dev-tools/maven/lucene/demo/pom.xml.template       |  85 ---
 .../maven/lucene/expressions/pom.xml.template      |  62 --
 dev-tools/maven/lucene/facet/pom.xml.template      |  75 --
 dev-tools/maven/lucene/grouping/pom.xml.template   |  68 --
 .../maven/lucene/highlighter/pom.xml.template      |  70 --
 dev-tools/maven/lucene/join/pom.xml.template       |  68 --
 dev-tools/maven/lucene/memory/pom.xml.template     |  70 --
 dev-tools/maven/lucene/misc/pom.xml.template       |  68 --
 dev-tools/maven/lucene/monitor/pom.xml.template    |  70 --
 dev-tools/maven/lucene/pom.xml.template            | 127 ----
 dev-tools/maven/lucene/queries/pom.xml.template    |  68 --
 .../maven/lucene/queryparser/pom.xml.template      |  86 ---
 dev-tools/maven/lucene/replicator/pom.xml.template |  74 --
 dev-tools/maven/lucene/sandbox/pom.xml.template    |  73 --
 .../maven/lucene/spatial-extras/pom.xml.template   |  69 --
 dev-tools/maven/lucene/spatial3d/pom.xml.template  |  70 --
 dev-tools/maven/lucene/suggest/pom.xml.template    |  73 --
 .../maven/lucene/test-framework/pom.xml.template   | 109 ---
 .../solr/contrib/analysis-extras/pom.xml.template  |  85 ---
 .../maven/solr/contrib/analytics/pom.xml.template  |  80 --
 .../maven/solr/contrib/clustering/pom.xml.template |  78 --
 .../dataimporthandler-extras/pom.xml.template      |  85 ---
 .../contrib/dataimporthandler/pom.xml.template     |  91 ---
 .../maven/solr/contrib/extraction/pom.xml.template |  81 --
 .../jaegertracer-configurator/pom.xml.template     |  80 --
 .../maven/solr/contrib/langid/pom.xml.template     |  87 ---
 dev-tools/maven/solr/contrib/ltr/pom.xml.template  |  80 --
 dev-tools/maven/solr/contrib/pom.xml.template      |  57 --
 .../contrib/prometheus-exporter/pom.xml.template   |  80 --
 .../maven/solr/contrib/velocity/pom.xml.template   |  89 ---
 dev-tools/maven/solr/core/pom.xml.template         |  48 --
 .../maven/solr/core/src/java/pom.xml.template      |  84 ---
 .../maven/solr/core/src/test/pom.xml.template      | 155 ----
 dev-tools/maven/solr/maven.testlogging.properties  |   2 -
 dev-tools/maven/solr/pom.xml.template              | 186 -----
 dev-tools/maven/solr/solrj/pom.xml.template        |  48 --
 .../maven/solr/solrj/src/java/pom.xml.template     |  78 --
 .../maven/solr/solrj/src/test/pom.xml.template     | 122 ----
 .../maven/solr/test-framework/pom.xml.template     |  95 ---
 lucene/BUILD.md                                    |  81 +-
 lucene/CHANGES.txt                                 |   5 -
 lucene/analysis/analysis-module-build.xml          |  44 --
 lucene/analysis/build.xml                          | 172 -----
 lucene/analysis/common/build.xml                   | 125 ----
 lucene/analysis/common/ivy.xml                     |  21 -
 lucene/analysis/icu/build.xml                      | 118 ---
 lucene/analysis/icu/ivy.xml                        |  28 -
 lucene/analysis/kuromoji/build.xml                 |  98 ---
 lucene/analysis/kuromoji/ivy.xml                   |  37 -
 lucene/analysis/morfologik/build.xml               |  40 -
 lucene/analysis/morfologik/ivy.xml                 |  31 -
 lucene/analysis/nori/build.xml                     |  84 ---
 lucene/analysis/nori/ivy.xml                       |  33 -
 lucene/analysis/opennlp/build.xml                  | 118 ---
 lucene/analysis/opennlp/ivy.xml                    |  28 -
 lucene/analysis/phonetic/build.xml                 |  35 -
 lucene/analysis/phonetic/ivy.xml                   |  28 -
 lucene/analysis/smartcn/build.xml                  |  34 -
 lucene/analysis/smartcn/ivy.xml                    |  21 -
 lucene/analysis/stempel/build.xml                  |  34 -
 lucene/analysis/stempel/ivy.xml                    |  21 -
 lucene/backward-codecs/build.xml                   |  26 -
 lucene/backward-codecs/ivy.xml                     |  21 -
 lucene/benchmark/build.xml                         | 289 --------
 lucene/benchmark/ivy.xml                           |  32 -
 lucene/build.xml                                   | 586 ---------------
 lucene/classification/build.xml                    |  55 --
 lucene/classification/ivy.xml                      |  21 -
 lucene/codecs/build.xml                            |  28 -
 lucene/codecs/ivy.xml                              |  21 -
 lucene/core/build.xml                              | 235 ------
 lucene/core/ivy.xml                                |  21 -
 lucene/default-nested-ivy-settings.xml             |  56 --
 lucene/demo/build.xml                              |  61 --
 lucene/demo/ivy.xml                                |  21 -
 lucene/expressions/build.xml                       | 120 ---
 lucene/expressions/ivy.xml                         |  30 -
 lucene/facet/build.xml                             |  47 --
 lucene/facet/ivy.xml                               |  27 -
 lucene/grouping/build.xml                          |  49 --
 lucene/grouping/ivy.xml                            |  21 -
 lucene/highlighter/ivy.xml                         |  21 -
 lucene/ivy-ignore-conflicts.properties             |  14 -
 lucene/join/build.xml                              |  27 -
 lucene/join/ivy.xml                                |  21 -
 lucene/licenses/ant-1.8.2.jar.sha1                 |   1 -
 lucene/licenses/ant-LICENSE-ASL.txt                | 272 -------
 lucene/licenses/ant-NOTICE.txt                     |  26 -
 lucene/licenses/ivy-2.4.0.jar.sha1                 |   1 -
 lucene/licenses/ivy-LICENSE-ASL.txt                | 258 -------
 lucene/licenses/ivy-NOTICE.txt                     |  16 -
 lucene/luke/build.xml                              |  82 ---
 lucene/luke/ivy.xml                                |  34 -
 lucene/memory/build.xml                            |  34 -
 lucene/memory/ivy.xml                              |  21 -
 lucene/misc/build.xml                              |  52 --
 lucene/misc/ivy.xml                                |  21 -
 lucene/module-build.xml                            | 721 ------------------
 lucene/monitor/build.xml                           |  53 --
 lucene/monitor/ivy.xml                             |  21 -
 lucene/queries/build.xml                           |  32 -
 lucene/queries/ivy.xml                             |  21 -
 lucene/queryparser/build.xml                       | 178 -----
 lucene/queryparser/ivy.xml                         |  21 -
 lucene/queryparser/xmldtddocbuild.xml              |  53 --
 lucene/replicator/build.xml                        |  53 --
 lucene/replicator/ivy.xml                          |  47 --
 lucene/sandbox/build.xml                           |  26 -
 lucene/sandbox/ivy.xml                             |  21 -
 lucene/spatial-extras/build.xml                    |  62 --
 lucene/spatial-extras/ivy.xml                      |  40 -
 lucene/spatial3d/build.xml                         |  30 -
 lucene/spatial3d/ivy.xml                           |  21 -
 lucene/suggest/build.xml                           |  47 --
 lucene/suggest/ivy.xml                             |  21 -
 lucene/test-framework/build.xml                    |  82 ---
 lucene/top-level-ivy-settings.xml                  |  24 -
 solr/CHANGES.txt                                   | 301 +++++++-
 solr/README.md                                     |  28 +-
 solr/build.xml                                     | 813 ---------------------
 solr/common-build.xml                              | 551 --------------
 solr/contrib/analysis-extras/build.xml             |  92 ---
 solr/contrib/analysis-extras/ivy.xml               |  41 --
 solr/contrib/analytics/build.xml                   |  28 -
 solr/contrib/analytics/ivy.xml                     |  29 -
 solr/contrib/clustering/build.xml                  |  28 -
 solr/contrib/clustering/ivy.xml                    |  41 --
 solr/contrib/contrib-build.xml                     |  57 --
 solr/contrib/dataimporthandler-extras/build.xml    |  96 ---
 solr/contrib/dataimporthandler-extras/ivy.xml      |  40 -
 solr/contrib/dataimporthandler/build.xml           |  32 -
 solr/contrib/extraction/build.xml                  |  28 -
 solr/contrib/extraction/ivy.xml                    |  80 --
 solr/contrib/jaegertracer-configurator/build.xml   |  34 -
 solr/contrib/jaegertracer-configurator/ivy.xml     |  32 -
 solr/contrib/langid/build.xml                      | 102 ---
 solr/contrib/langid/ivy.xml                        |  32 -
 solr/contrib/ltr/build.xml                         |  35 -
 solr/contrib/ltr/ivy.xml                           |  33 -
 solr/contrib/prometheus-exporter/build.xml         |  64 --
 solr/contrib/prometheus-exporter/ivy.xml           |  41 --
 solr/contrib/velocity/build.xml                    |  28 -
 solr/contrib/velocity/ivy.xml                      |  36 -
 solr/core/build.xml                                | 131 ----
 solr/example/example-DIH/build.xml                 |  42 --
 solr/example/example-DIH/ivy.xml                   |  29 -
 solr/licenses/ant-1.8.2.jar.sha1                   |   1 -
 solr/licenses/ant-LICENSE-ASL.txt                  | 272 -------
 solr/licenses/ant-NOTICE.txt                       |  26 -
 solr/licenses/asciidoctor-ant-1.6.2.jar.sha1       |   1 -
 solr/licenses/asciidoctor-ant-LICENSE-ASL.txt      | 202 -----
 solr/licenses/asciidoctor-ant-NOTICE.txt           |   5 -
 solr/licenses/junit4-ant-2.7.6.jar.sha1            |   1 -
 solr/licenses/junit4-ant-LICENSE-ASL.txt           | 202 -----
 solr/licenses/junit4-ant-NOTICE.txt                |  12 -
 solr/server/build.xml                              |  54 --
 solr/server/ivy.xml                                |  74 --
 solr/solr-ref-guide/README.adoc                    |  20 +-
 solr/solr-ref-guide/build.gradle                   |   2 -
 solr/solr-ref-guide/build.xml                      | 305 --------
 solr/solr-ref-guide/ivy.xml                        |  35 -
 .../src/meta-docs/asciidoc-syntax.adoc             |   2 +-
 solr/solr-ref-guide/src/meta-docs/jekyll.adoc      |   6 +-
 solr/solr-ref-guide/src/meta-docs/publish.adoc     |   4 +-
 .../tools/CustomizedAsciidoctorAntTask.java        |  34 -
 solr/solr-ref-guide/tools/asciidoctor-antlib.xml   |  22 -
 solr/solrj/build.xml                               |  88 ---
 solr/test-framework/build.xml                      | 121 ---
 193 files changed, 373 insertions(+), 15104 deletions(-)

diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 9f2f786..b08a1d8 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -38,6 +38,6 @@ Please review the following and check all that apply:
 - [ ] I have created a Jira issue and added the issue ID to my pull request title.
 - [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended)
 - [ ] I have developed this patch against the `master` branch.
-- [ ] I have run `ant precommit` and the appropriate test suite.
+- [ ] I have run `./gradlew check`.
 - [ ] I have added tests for my changes.
 - [ ] I have added documentation for the [Ref Guide](https://github.com/apache/lucene-solr/tree/master/solr/solr-ref-guide) (for Solr changes only).
diff --git a/README.md b/README.md
index 5fd3581..544992b 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
 Apache Lucene is a high-performance, full featured text search engine library
 written in Java.
 
-Apache Solr is an enterprise search platform written using Apache Lucene.
+Apache Solr is an enterprise search platform written in Java and using Apache Lucene.
 Major features include full-text search, index replication and sharding, and
 result faceting and highlighting.
 
@@ -40,48 +40,30 @@ comprehensive documentation, visit:
 
 (You do not need to do this if you downloaded a pre-built package)
 
-### Building with Ant
-
-Lucene and Solr are built using [Apache Ant](http://ant.apache.org/).  To build
-Lucene and Solr, run:
-
-`ant compile`
-
-If you see an error about Ivy missing while invoking Ant (e.g., `.ant/lib does
-not exist`), run `ant ivy-bootstrap` and retry.
-
-Sometimes you may face issues with Ivy (e.g., an incompletely downloaded artifact).
-Cleaning up the Ivy cache and retrying is a workaround for most of such issues: 
-
-`rm -rf ~/.ivy2/cache`
-
-The Solr server can then be packaged and prepared for startup by running the
-following command from the `solr/` directory:
-
-`ant server`
 
 ### Building with Gradle
 
-There is ongoing work (see [LUCENE-9077](https://issues.apache.org/jira/browse/LUCENE-9077))
-to switch the legacy ant-based build system to [gradle](https://gradle.org/).
-Please give it a try!
-
-At the moment of writing, the gradle build requires precisely Java 11 
-(it may or may not work with newer Java versions).
+As of 9.0, Lucene/Solr uses [Gradle](https://gradle.org/) as the build
+system. Ant build support has been removed.
 
 To build Lucene and Solr, run (`./` can be omitted on Windows):
 
 `./gradlew assemble`
 
-The command above also packages a full distribution of Solr server; the 
+
+The command above packages a full distribution of Solr server; the 
 package can be located at:
 
 `solr/packaging/build/solr-*`
 
 Note that the gradle build does not create or copy binaries throughout the
-source repository (like ant build does) so you need to switch to the
-packaging output folder above; the rest of the instructions below remain
-identical.  
+source repository so you need to switch to the packaging output folder above;
+the rest of the instructions below remain identical. The packaging directory 
+is rewritten on each build. 
+
+For development, especially when you have created test indexes etc, use
+the `./gradlew dev` task which will copy binaries to `./solr/packaging/build/dev`
+but _only_ overwrite the binaries which will preserve your test setup.
 
 ## Running Solr
 
@@ -104,16 +86,6 @@ Common options are described in some detail in solr/README.txt.  For an
 exhaustive treatment of options, run `bin/solr start -h` from the `solr/`
 directory.
 
-## Development/IDEs
-
-Ant can be used to generate project files compatible with most common IDEs.
-Run the ant command corresponding to your IDE of choice before attempting to
-import Lucene/Solr.
-
-- *Eclipse* - `ant eclipse` (See [this](https://cwiki.apache.org/confluence/display/solr/HowToConfigureEclipse) for details)
-- *IntelliJ* - `ant idea` (See [this](https://cwiki.apache.org/confluence/display/lucene/HowtoConfigureIntelliJ) for details)
-- *Netbeans* - `ant netbeans` (See [this](https://cwiki.apache.org/confluence/display/lucene/HowtoConfigureNetbeans) for details)
-
 ### Gradle build and IDE support
 
 - *IntelliJ* - IntelliJ idea can import the project out of the box. 
@@ -121,23 +93,17 @@ import Lucene/Solr.
 - *Eclipse*  - Not tested.
 - *Netbeans* - Not tested.
 
-## Running Tests
-
-The standard test suite can be run with the command:
-
-`ant test`
-
-Like Solr itself, the test-running can be customized or tailored in a number or
-ways.  For an exhaustive discussion of the options available, run:
-
-`ant test-help`
 
 ### Gradle build and tests
 
-Run the following command to display an extensive help for running
-tests with gradle:
+`./gradlew assemble` will build a runnable Solr as noted above.
+
+`./gradlew check` will assemble Lucene/Solr and run all validation
+  tasks unit tests.
 
-`./gradlew helpTests`
+`./gradlew help` will print a list of help commands for high-level tasks. One
+  of these is `helpAnt` that shows the gradle tasks corresponding to ant
+  targets you may be familiar with.
 
 ## Contributing
 
diff --git a/build.xml b/build.xml
deleted file mode 100755
index a1e8ccb..0000000
--- a/build.xml
+++ /dev/null
@@ -1,697 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="lucene-solr" default="-projecthelp" basedir=".">
-  <import file="lucene/common-build.xml"/>
-
-  <property name="jgit-version" value="5.3.0.201903130848-r"/>
-  
-  <property name="tests.heap-dump-dir" location="heapdumps"/>
-  
-  <property name="maven-build-dir" value="maven-build"/>
-  <property name="maven-version" value="3.5.0"/>
-  <property name="maven.dependencies.filters.file" location="lucene/build/maven.dependencies.filters.properties"/>
-
-  <property name="smokeTestRelease.dir" location="lucene/build/smokeTestRelease/dist"/>
-  <property name="smokeTestRelease.tmp" location="lucene/build/smokeTestRelease/tmp"/>
-  <property name="smokeTestRelease.testArgs" value=""/>
-
-  <target name="-projecthelp">
-    <java fork="false" classname="org.apache.tools.ant.Main" taskname="-">
-      <arg value="-projecthelp"/>
-      <arg value="-f"/>
-      <arg value="${ant.file}"/>
-    </java>
-  </target>
-
-  <target name="test-help" description="Test runner help">
-    <subant buildpath="lucene" target="test-help" inheritall="false" failonerror="true"/>
-  </target>
-
-  <target name="precommit" description="Run basic checks before committing"
-          depends="check-working-copy,validate,documentation-lint"/>
-
-  <target name="test" description="Test both Lucene and Solr" depends="resolve-groovy">
-    <mkdir dir="lucene/build" />
-    <tempfile property="tests.totals.tmpfile"
-          destdir="lucene/build"
-          prefix=".test-totals-"
-          suffix=".tmp"
-          deleteonexit="true"
-          createfile="true" />
-
-    <subant target="test" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset>
-        <propertyset refid="uptodate.and.compiled.properties"/>
-        <propertyref name="tests.totals.tmpfile" />
-      </propertyset>      
-    </subant>
-
-    <property name="tests.totals.toplevel" value="true" />
-    <antcall target="-check-totals" />
-  </target>
-
-  <target name="jacoco" depends="resolve-groovy" description="Generates JaCoCo code coverage reports">
-    <subant target="jacoco" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="pitest" depends="resolve-groovy" description="Run PITest on both Lucene and Solr">
-    <subant target="pitest" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="beast">
-    <fail message="The Beast only works inside of individual modules"/>
-  </target>
-
-  <target name="documentation" depends="resolve-markdown" description="Generate Lucene and Solr Documentation">
-    <subant target="documentation" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="documentation-lint" depends="resolve-markdown,-ecj-javadoc-lint-unsupported,-ecj-resolve" description="Validates the generated documentation (HTML errors, broken links,...)">
-    <subant target="documentation-lint" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="check-forbidden-apis" depends="-install-forbidden-apis" description="Check forbidden API calls in compiled class files.">
-    <subant target="check-forbidden-apis" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="validate" description="Validate dependencies, licenses, etc." depends="validate-source-patterns,resolve-groovy,rat-sources-typedef,-install-forbidden-apis">
-    <subant target="validate" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-    <subant buildpath="lucene" target="check-lib-versions" inheritall="false" failonerror="true">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-  
-  <target name="validate-source-patterns" description="Validate source code (invalid code patterns,...)" unless="disable.source-patterns" depends="resolve-groovy,rat-sources-typedef">
-    <groovy taskname="source-patterns" classpathref="rat.classpath" src="${common.dir}/tools/src/groovy/check-source-patterns.groovy"/>
-  </target>
-  
-  <target name="rat-sources" description="Runs rat across all sources and tests" depends="common.rat-sources">
-    <subant target="rat-sources" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="resolve" description="Resolves all dependencies">
-    <subant target="resolve" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <!-- lucene/test-framework and solr/test-framework are excluded from compilation -->
-  <target name="compile" description="Compile Lucene and Solr">
-    <subant target="compile" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="compile-core" description="Compile Lucene Core">
-    <subant target="compile-core" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="compile-test" description="Compile Lucene and Solr tests and test-frameworks">
-    <subant target="compile-test" inheritAll="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="jar" description="Build Lucene and Solr Jar files">
-    <subant target="jar" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml"/>
-      <fileset dir="solr" includes="build.xml"/>
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="jar-src" description="Build Lucene and Solr Source Jar files">
-    <subant target="jar-src" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml"/>
-      <fileset dir="solr" includes="build.xml"/>
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="get-maven-poms" depends="resolve" 
-          description="Copy Maven POMs from dev-tools/maven/ to maven-build/">
-    <ant dir="lucene" target="-get-maven-poms" inheritall="false"/>
-  </target>
-
-  <target name="clean-maven-build"
-          description="Clean up Maven POMs in working copy">
-    <delete failonerror="true" dir="${maven-build-dir}/"/>
-  </target>
-
-  <target name="generate-maven-artifacts" depends="resolve,resolve-groovy,resolve-markdown,install-maven-tasks"
-          description="Generate Maven Artifacts for Lucene and Solr">
-    <property name="maven.dist.dir"  location="dist/maven" />
-    <mkdir dir="${maven.dist.dir}" />
-    <ant dir="lucene" inheritall="false">
-      <target name="-unpack-lucene-tgz"/>
-      <target name="-filter-pom-templates"/>
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-    <ant dir="solr" target="-unpack-solr-tgz" inheritall="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-    <subant target="-dist-maven" inheritall="false" failonerror="true">
-      <property name="maven.dist.dir"  location="${maven.dist.dir}" />
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="-install-maven-artifacts" depends="resolve,resolve-groovy,resolve-markdown,install-maven-tasks">
-    <ant dir="lucene" inheritall="false">
-      <target name="-unpack-lucene-tgz"/>
-      <target name="-filter-pom-templates"/>
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-    <ant dir="solr" target="-unpack-solr-tgz" inheritall="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-    <subant target="-install-to-maven-local-repo" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="validate-maven-dependencies" depends="-install-maven-artifacts"
-          description="Validates maven dependencies, licenses, etc.">
-    <subant target="-validate-maven-dependencies" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml"/>
-      <fileset dir="solr" includes="build.xml"/>
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-  
-  <target name="run-maven-build" depends="get-maven-poms,install-maven-tasks,resolve-groovy" description="Runs the Maven build using automatically generated POMs">
-    <groovy src="${common.dir}/tools/src/groovy/run-maven-build.groovy"/>
-  </target>
-  
-  <target name="remove-maven-artifacts" description="Removes all Lucene/Solr Maven artifacts from the local repository">
-    <echo message="Removing all Lucene/Solr Maven artifacts from '${user.home}/.m2/repository'..."/>
-    <delete includeemptydirs="true">
-      <fileset dir="${user.home}/.m2/repository" erroronmissingdir="false">
-        <include name="org/apache/lucene/**"/>
-        <include name="org/apache/solr/**"/>
-      </fileset>
-    </delete>
-  </target>
-
-  <target name="netbeans" depends="resolve" description="Setup Netbeans configuration">
-    <pathconvert property="netbeans.fileset.sourcefolders" pathsep="|" dirsep="/">
-      <dirset dir="${basedir}/lucene" includes="**/src/java, **/src/examples, **/src/test, **/src/resources" 
-              excludes="tools/**, build/**" />
-      <dirset dir="${basedir}/solr" includes="**/src/java, **/src/examples, **/src/test, **/src/resources" 
-              excludes="build/**" />
-      <map from="${basedir}/" to=""/>
-    </pathconvert>
-    <!-- TODO: find a better way to exclude duplicate JAR files & fix the servlet-api mess! -->
-    <pathconvert property="netbeans.path.libs" pathsep=":" dirsep="/">
-      <fileset dir="${basedir}/lucene" includes="**/lib/*.jar" 
-               excludes="**/*servlet-api*.jar, tools/**, build/**"/>
-      <fileset dir="${basedir}/solr" includes="**/test-lib/*.jar,**/lib/*.jar" 
-               excludes="core/test-lib/*servlet-api*.jar, contrib/analysis-extras/**, test-framework/lib/junit*, test-framework/lib/ant*, test-framework/lib/randomizedtesting*, build/**, dist/**, package/**, server/solr-webapp/**" />
-      <map from="${basedir}/" to=""/>
-    </pathconvert>
-    <mkdir dir="nbproject"/>
-    <copy todir="nbproject" overwrite="true">
-      <fileset dir="dev-tools/netbeans/nbproject"/>
-    </copy>
-    <xslt in="${ant.file}" out="nbproject/project.xml" style="dev-tools/netbeans/nb-project.xsl" force="true">
-      <outputproperty name="indent" value="yes"/>
-      <param name="netbeans.fileset.sourcefolders" expression="${netbeans.fileset.sourcefolders}"/>
-      <param name="netbeans.path.libs" expression="${netbeans.path.libs}"/>
-      <param name="netbeans.source-level" expression="1.7"/>
-    </xslt>
-  </target>
-
-  <target name="clean-netbeans" description="Removes all Netbeans configuration files">
-    <delete dir="nbproject" failonerror="true"/>
-    <delete dir="nb-build" failonerror="true"/>
-  </target>
-
-  <target name="eclipse" depends="resolve" description="Setup Eclipse configuration">
-    <basename file="${basedir}" property="eclipseprojectname"/>
-    <copy file="dev-tools/eclipse/dot.project" tofile=".project" overwrite="false" encoding="UTF-8">
-      <filterset>
-        <filter token="ECLIPSEPROJECTNAME" value="${eclipseprojectname}"/>
-      </filterset>
-    </copy>
-    <copy overwrite="false" todir="eclipse-build" encoding="UTF-8">
-      <fileset dir="dev-tools/eclipse" includes="*.launch"/>
-      <filterset>
-        <filter token="ECLIPSEPROJECTNAME" value="${eclipseprojectname}"/>
-      </filterset>
-    </copy>
-    <mkdir dir=".settings"/>
-    <copy todir=".settings/" overwrite="true">
-      <fileset dir="dev-tools/eclipse/dot.settings" includes="*.prefs" />
-    </copy>
-
-    <pathconvert property="eclipse.fileset.sourcefolders" pathsep="|" dirsep="/">
-      <dirset dir="${basedir}/lucene" includes="**/src/java, **/src/resources, **/src/test, **/src/test-files, **/src/examples" excludes="tools/**, build/**" />
-      <dirset dir="${basedir}/solr" includes="**/src/java, **/src/resources, **/src/test, **/src/test-files, **/src/examples" excludes="build/**" />
-      <map from="${basedir}/" to=""/>
-    </pathconvert>
-    <!-- TODO: find a better way to exclude duplicate JAR files & fix the servlet-api mess! -->
-    <pathconvert property="eclipse.fileset.libs" pathsep="|" dirsep="/">
-      <fileset dir="${basedir}/lucene" includes="**/lib/*.jar" excludes="**/*servlet-api*.jar, tools/**, build/**"/>
-      <fileset dir="${basedir}/solr" includes="**/test-lib/*.jar,**/lib/*.jar" excludes="core/test-lib/*servlet-api*.jar, contrib/analysis-extras/**, test-framework/lib/junit*, test-framework/lib/ant*, test-framework/lib/randomizedtesting*, build/**, dist/**, package/**" />
-      <map from="${basedir}/" to=""/>
-    </pathconvert>
-    <pathconvert property="eclipse.fileset.webfolders" pathsep="|" dirsep="/">
-      <dirset dir="${basedir}/solr/server/contexts" excludes="**/*" />
-      <dirset dir="${basedir}/solr/server/etc" excludes="**/*" />
-      <dirset dir="${basedir}/solr/server/modules" excludes="**/*" />
-      <dirset dir="${basedir}/solr/server/solr" excludes="**/*" />
-      <dirset dir="${basedir}/solr/webapp/web" excludes="**/*" />
-      <map from="${basedir}/" to=""/>
-    </pathconvert>
-    <xslt in="${ant.file}" out=".classpath" style="dev-tools/eclipse/dot.classpath.xsl" force="true">
-      <outputproperty name="indent" value="yes"/>
-      <param name="eclipse.fileset.libs" expression="${eclipse.fileset.libs}"/>
-      <param name="eclipse.fileset.sourcefolders" expression="${eclipse.fileset.sourcefolders}"/>
-      <param name="eclipse.fileset.webfolders" expression="${eclipse.fileset.webfolders}"/>
-    </xslt>
-
-    <echo>
-      SUCCESS: You must right-click your project and choose Refresh.
-               Your project must use a Java 11 JRE.
-    </echo>
-  </target>
-
-  <target name="clean-eclipse" description="Removes all Eclipse configuration files">
-    <delete dir=".settings" failonerror="true"/>
-    <delete failonerror="true">
-      <fileset dir="." includes=".classpath,.project"/>
-    </delete>
-    <delete dir="eclipse-build" failonerror="true"/>
-  </target>
-
-  <target name="idea" depends="resolve" description="Setup IntelliJ IDEA configuration">
-    <condition property="idea.jdk.is.set">
-      <isset property="idea.jdk"/>
-    </condition>
-    <!-- Define ${idea.jdk} if it's not yet defined - otherwise literal "${idea.jdk}" is substituted -->
-    <property name="idea.jdk" value=""/>
-    <!-- delete those files first, so they are regenerated by the filtering below
-      (add more files with dynamic properties like versions here): -->
-    <delete dir=".idea" includes="misc.xml workspace.xml"/>
-    <!-- Copy files with filtering: -->
-    <copy todir="." overwrite="false" encoding="UTF-8">
-      <fileset dir="dev-tools/idea"/>
-      <filterset begintoken="subst.=&quot;" endtoken="&quot;">
-        <filter token="idea.jdk" value="${idea.jdk}"/>
-      </filterset>
-      <filterset>
-        <filter token="version" value="${version}"/>
-        <filter token="version.base" value="${version.base}"/>
-      </filterset>
-    </copy>
-    <antcall target="-post-idea-instructions"/>
-  </target>
-  
-  <target name="-post-idea-instructions" unless="idea.jdk.is.set">
-    <echo>
-To complete IntelliJ IDEA setup, you must manually configure
-File | Project Structure | Project | Project SDK.
-      
-You won't have to do this in the future if you define property
-$${idea.jdk}, e.g. in ~/lucene.build.properties, ~/build.properties
-or lucene/build.properties, with a value consisting of the
-following two XML attributes/values (adjust values according to
-JDKs you have defined locally - see 
-File | Project Structure | Platform Settings | SDKs):
-
-    idea.jdk = project-jdk-name="11" project-jdk-type="JavaSDK"
-    </echo>
-  </target>
-
-  <target name="clean-idea"
-          description="Removes all IntelliJ IDEA configuration files">
-    <delete dir=".idea" failonerror="true"/>
-    <delete failonerror="true">
-      <fileset dir="." includes="*.iml,*.ipr,*.iws"/>
-      <fileset dir="solr" includes="**/*.iml"/>
-      <fileset dir="lucene" includes="**/*.iml"/>
-    </delete>
-    <delete dir="idea-build" failonerror="true"/>
-  </target>
-
-  <target name="clean" description="Clean Lucene and Solr build dirs">
-    <delete dir="dist" />
-    <delete dir="${tests.heap-dump-dir}" />
-    <subant target="clean" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="clean-jars" description="Remove all JAR files from lib folders in the checkout">
-    <delete failonerror="true">
-      <fileset dir=".">
-        <include name="**/*.jar"/>
-        <exclude name="*/build/**"/>
-        <exclude name="*/dist/**"/>
-        <exclude name="*/package/**"/>
-        <exclude name="*/example/exampledocs/**"/>
-        <exclude name="gradle/**" />
-      </fileset>
-    </delete>
-  </target>
-
-  <target name="jar-checksums" description="Recompute SHA1 checksums for all JAR files.">
-    <subant target="jar-checksums" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <target name="-nightly-smoke-java12params" if="smokeTestRelease.java12">
-    <!-- convert path to UNIX style, so windows backslashes don't hurt escaping: -->
-    <pathconvert targetos="unix" property="-smokeTestRelease.java12params">
-      <regexpmapper from="^(.*)$" to="--test-java12 '\1'"/>
-      <path location="${smokeTestRelease.java12}"/>
-    </pathconvert>
-  </target>
-  
-  <target name="nightly-smoke" description="Builds an unsigned release and smoke tests it  (pass '-DsmokeTestRelease.java12=/path/to/jdk-12' to additionally test with Java 12 or later)"
-    depends="clean,resolve-groovy,resolve-markdown,install-maven-tasks,-nightly-smoke-java12params">
-    <fail message="To run nightly smoke, the JDK must be exactly Java 11, was: ${java.specification.version}">
-      <condition>
-        <not><equals arg1="${java.specification.version}" arg2="11"/></not>
-      </condition>
-    </fail>
-    <property name="-smokeTestRelease.java12params" value=""/><!-- (if not yet defined) -->
-    <exec executable="${python3.exe}" failonerror="true" taskname="python3">
-      <arg value="-V"/>
-    </exec>
-    <subant target="prepare-release-no-sign" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <!-- pass ${version.base} here to emulate a real release, without appendix like "-SNAPSHOT": -->
-      <property name="version" value="${version.base}" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-   </subant>
-    <mkdir dir="${smokeTestRelease.dir}"/>
-    <copy todir="${smokeTestRelease.dir}/lucene">
-      <fileset dir="lucene/dist"/>
-    </copy>
-    <copy todir="${smokeTestRelease.dir}/solr">
-      <fileset dir="solr/package"/>
-    </copy>
-    <local name="url"/>
-    <makeurl file="${smokeTestRelease.dir}" validate="false" property="url"/>
-    <exec executable="${python3.exe}" failonerror="true" taskname="smoker">
-      <arg value="-u"/>
-      <!-- Tell Python not to write any bytecode cache into the filesystem: -->
-      <arg value="-B"/>
-      <arg file="dev-tools/scripts/smokeTestRelease.py"/>
-      <arg line="${-smokeTestRelease.java12params}"/>
-      <arg value="--revision"/>
-      <arg value="skip"/>
-      <!-- pass ${version.base} here to emulate a real release, without appendix like "-SNAPSHOT": -->
-      <arg value="--version"/>
-      <arg value="${version.base}"/>
-      <arg value="--tmp-dir"/>
-      <arg file="${smokeTestRelease.tmp}"/>
-      <arg value="--not-signed"/>
-      <arg value="${url}"/>
-      <arg value="${smokeTestRelease.testArgs}"/>
-    </exec>
-    <delete dir="${smokeTestRelease.dir}"/>
-    <delete dir="${smokeTestRelease.tmp}"/>
-  </target>
-  
-  <macrodef xmlns:ivy="antlib:org.apache.ivy.ant" name="wc-checker">
-    <attribute name="failonmodifications"/><!-- fail if modifications were found, otherwise it only fails on unversioned files -->
-    <sequential>
-      <local name="wc.unversioned.files"/>
-      <local name="wc.modified.files"/>
-      <ivy:cachepath xmlns:ivy="antlib:org.apache.ivy.ant" transitive="true" resolveId="jgit" pathid="jgit.classpath">
-        <ivy:dependency org="org.eclipse.jgit" name="org.eclipse.jgit" rev="${jgit-version}" conf="default" />
-        <ivy:dependency org="org.slf4j" name="slf4j-nop" rev="1.7.2" conf="default" />
-      </ivy:cachepath>
-      <groovy taskname="wc-checker" classpathref="jgit.classpath" src="${common.dir}/tools/src/groovy/check-working-copy.groovy"/>
-      <fail if="wc.unversioned.files"
-        message="Source checkout is dirty (unversioned/missing files) after running tests!!! Offending files:${line.separator}${wc.unversioned.files}"/>
-      <fail message="Source checkout is modified!!! Offending files:${line.separator}${wc.modified.files}">
-        <condition>
-          <and>
-             <istrue value="@{failonmodifications}"/>
-             <isset property="wc.modified.files"/>
-          </and>
-        </condition>
-      </fail>
-    </sequential>
-  </macrodef>
-  
-  <target name="check-working-copy" description="Checks working copy for unversioned changes" depends="resolve-groovy">
-    <wc-checker failonmodifications="${is.jenkins.build}"/>
-  </target>
-
-  <target name="run-clover" description="Runs all tests to measure coverage and generates report (pass &quot;ANT_OPTS=-Xmx2G&quot; as environment)" depends="clean">
-    <antcall inheritAll="false">
-      <param name="run.clover" value="true"/>
-      <!-- must be 1, as clover does not like parallel test runs: -->
-      <param name="tests.jvms.override" value="1"/>
-      <!-- Also override some other props to be fast: -->
-      <param name="tests.multiplier" value="1"/>
-      <param name="tests.nightly" value="false"/>
-      <param name="tests.weekly" value="false"/>
-      <param name="tests.badapples" value="true"/>
-      <!-- The idea behind Clover is to determine test coverage, so be immune to failing tests: -->
-      <param name="tests.haltonfailure" value="false"/>
-      
-      <target name="clover"/>
-      <target name="test"/>
-      <target name="-generate-clover-reports"/>
-      
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </antcall>
-  </target>
-
-  <!--
-   Run after Junit tests.
-   
-   This target is in a separate file, as it needs to include common-build.xml,
-   but must run from top-level!
-   -->
-  <target name="-generate-clover-reports" depends="clover">
-    <fail unless="run.clover">Clover not enabled!</fail>
-    <mkdir dir="${clover.report.dir}"/>
-    <fileset dir="." id="clover.test.result.files">
-      <include name="*/build/**/test/TEST-*.xml"/>
-    </fileset>
-    <fileset dir="." id="clover.test.src.files">
-      <include name="**/src/test/**/*.java"/>
-      <!-- test framework source files are all test code: -->
-      <include name="*/test-framework/src/**/*.java"/>
-    </fileset>
-    <clover-report projectName="Apache Lucene/Solr">
-      <current outfile="${clover.report.dir}" title="Apache Lucene/Solr ${version}" numThreads="0">
-        <format type="html" filter="assert"/>
-        <testresults refid="clover.test.result.files"/>
-        <testsources refid="clover.test.src.files"/>
-      </current>
-      <current outfile="${clover.report.dir}/clover.xml" title="Apache Lucene/Solr ${version}">
-        <format type="xml" filter="assert"/>
-        <testresults refid="clover.test.result.files"/>
-        <testsources refid="clover.test.src.files"/>
-      </current>
-    </clover-report>
-    <echo>You can find the merged Lucene/Solr Clover report in '${clover.report.dir}'.</echo>
-  </target>
-
-  <target name="test-with-heapdumps" depends="resolve-groovy,-test-with-heapdumps-enabled,-test-with-heapdumps-disabled" description="Runs tests with heap dumps on OOM enabled (if VM supports this)"/>
-  
-  <condition property="vm.supports.heapdumps">
-    <or>
-      <contains string="${java.vm.name}" substring="hotspot" casesensitive="false"/>
-      <contains string="${java.vm.name}" substring="openjdk" casesensitive="false"/>
-    </or>
-  </condition>
-
-  <target name="-test-with-heapdumps-enabled" if="vm.supports.heapdumps">
-    <echo level="info" message="${java.vm.name}: Enabling heap dumps on OutOfMemoryError to dir '${tests.heap-dump-dir}'."/>
-    <mkdir dir="${tests.heap-dump-dir}"/>
-    <delete includeEmptyDirs="true">
-      <fileset dir="${tests.heap-dump-dir}"  includes="**/*"/>
-    </delete>
-    <antcall inheritAll="false" target="test">
-      <param name="tests.heapdump.args" value="-XX:+HeapDumpOnOutOfMemoryError &quot;-XX:HeapDumpPath=${tests.heap-dump-dir}&quot;"/>
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </antcall>
-    <pathconvert property="heapdumps.list" setonempty="false" pathsep="${line.separator}">
-      <fileset dir="${tests.heap-dump-dir}"/>
-      <map from="${tests.heap-dump-dir}${file.separator}" to="* "/>
-    </pathconvert>
-    <fail if="heapdumps.list" message="Some of the tests produced a heap dump, but did not fail. Maybe a suppressed OutOfMemoryError? Dumps created:${line.separator}${heapdumps.list}"/>
-    <delete dir="${tests.heap-dump-dir}"/>
-  </target>
-
-  <target name="-test-with-heapdumps-disabled" unless="vm.supports.heapdumps">
-    <echo level="warning" message="WARN: The used JVM (${java.vm.name}) does not support HPROF heap dumps on OutOfMemoryError."/>
-    <antcall target="test">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </antcall>
-  </target>
-
-  <target name="regenerate" description="Runs all code regenerators">
-    <subant target="regenerate" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <!-- todo:
-      <fileset dir="solr" includes="build.xml" />-->
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-
-  <!-- should only be called by jenkins, not precommit! -->
-  <target name="-check-after-regeneration" depends="resolve-groovy">
-    <wc-checker failonmodifications="true"/>
-  </target>
-
-  <!-- TODO: remove me when jenkins works -->
-  <target name="regenerateAndCheck" depends="regenerate,-check-after-regeneration"/>
-  
-  <target name="-append-all-modules-dependencies-properties">
-    <delete file="lucene/build/module.dependencies.properties"/>
-    <subant target="-append-module-dependencies-properties" inheritall="false" failonerror="true">
-      <fileset dir="lucene" includes="build.xml" />
-      <fileset dir="solr" includes="build.xml" />
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </subant>
-  </target>
-  
-  <!-- Jenkins tasks -->
-  <target name="-jenkins-base" depends="-print-java-info,clean,test-with-heapdumps,validate,documentation-lint,jar-checksums,check-working-copy"/>
-  
-  <target name="-print-java-info">
-    <echo level="info" taskname="java-info">java version &quot;${java.version}&quot;
-${java.runtime.name} (${java.runtime.version}, ${java.vendor})
-${java.vm.name} (${java.vm.version}, ${java.vm.vendor})
-Test args: [${args}]</echo>
-  </target>
-  
-  <target name="jenkins-hourly">
-    <antcall>
-      <param name="is.jenkins.build" value="true"/>
-      <param name="tests.haltonfailure" value="false"/>
-      <param name="tests.badapples" value="false"/>
-      <target name="-jenkins-base"/>
-    </antcall>
-  </target>
-  
-  <target name="jenkins-badapples">
-    <antcall>
-      <param name="is.jenkins.build" value="true"/>
-      <param name="tests.haltonfailure" value="false"/>
-      <param name="tests.badapples" value="true"/>
-      <target name="-jenkins-base"/>
-    </antcall>
-  </target>
-  
-  <target name="jenkins-nightly">
-    <antcall>
-      <param name="is.jenkins.build" value="true"/>
-      <param name="tests.haltonfailure" value="false"/>
-      <param name="tests.nightly" value="true"/>
-      <param name="tests.badapples" value="false"/>
-      <target name="-jenkins-base"/>
-    </antcall>
-  </target>
-
-  <target name="jenkins-nightly-badapples">
-    <antcall>
-      <param name="is.jenkins.build" value="true"/>
-      <param name="tests.haltonfailure" value="false"/>
-      <param name="tests.nightly" value="true"/>
-      <param name="tests.badapples" value="true"/>
-      <target name="-jenkins-base"/>
-    </antcall>
-  </target>
-
-  <target name="jenkins-maven-nightly" depends="-print-java-info,clean,clean-maven-build,resolve-groovy,resolve-markdown,install-maven-tasks">
-    <!-- step 1: build, install, validate and publish ANT-generated maven artifacts: -->
-    <antcall>
-      <param name="is.jenkins.build" value="true"/>
-      <target name="remove-maven-artifacts"/>
-      <target name="validate-maven-dependencies"/>
-      <target name="generate-maven-artifacts"/>
-    </antcall>
-    <!-- step 2: run the maven build to check that the pom templates also work to drive "mvn": -->
-    <antcall>
-      <param name="is.jenkins.build" value="true"/>
-      <target name="remove-maven-artifacts"/>
-      <target name="run-maven-build"/>
-    </antcall>
-  </target>
-  
-  <target name="jenkins-clover" depends="-print-java-info">
-    <antcall>
-      <param name="is.jenkins.build" value="true"/>
-      <target name="run-clover"/>
-    </antcall>
-  </target>
-
-  <!-- useless targets (override common-build.xml): -->
-  <target name="generate-test-reports"/>
-</project>
diff --git a/dev-tools/idea/.idea/ant.xml b/dev-tools/idea/.idea/ant.xml
deleted file mode 100644
index c270538..0000000
--- a/dev-tools/idea/.idea/ant.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="AntConfiguration">
-    <buildFile url="file://$PROJECT_DIR$/build.xml" />
-
-    <buildFile url="file://$PROJECT_DIR$/lucene/build.xml" />
-
-    <buildFile url="file://$PROJECT_DIR$/lucene/core/build.xml" />
-
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/common/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/icu/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/kuromoji/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/morfologik/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/opennlp/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/phonetic/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/smartcn/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/analysis/stempel/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/benchmark/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/classification/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/codecs/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/demo/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/expressions/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/facet/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/grouping/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/highlighter/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/join/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/luke/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/luwak/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/memory/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/misc/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/queries/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/queryparser/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/replicator/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/sandbox/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/spatial/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/spatial-extras/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/suggest/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/test-framework/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/lucene/tools/build.xml" />
-
-    <buildFile url="file://$PROJECT_DIR$/solr/build.xml" />
-
-    <buildFile url="file://$PROJECT_DIR$/solr/core/build.xml" />
-
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/analysis-extras/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/clustering/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/dataimporthandler-extras/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/dataimporthandler/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/extraction/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/langid/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/prometheus-exporter/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/contrib/velocity/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/solrj/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/test-framework/build.xml" />
-    <buildFile url="file://$PROJECT_DIR$/solr/webapp/build.xml" />
-  </component>
-</project>
diff --git a/dev-tools/idea/.idea/libraries/Ivy.xml b/dev-tools/idea/.idea/libraries/Ivy.xml
deleted file mode 100644
index 798dc0f..0000000
--- a/dev-tools/idea/.idea/libraries/Ivy.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<component name="libraryTable">
-  <library name="Ivy">
-    <CLASSES>
-      <root url="jar://$PROJECT_DIR$/lucene/tools/lib/ivy-2.3.0.jar!/" />
-    </CLASSES>
-    <JAVADOC />
-    <SOURCES />
-  </library>
-</component>
diff --git a/dev-tools/maven/README.maven b/dev-tools/maven/README.maven
deleted file mode 100644
index 0d9c7b7..0000000
--- a/dev-tools/maven/README.maven
+++ /dev/null
@@ -1,159 +0,0 @@
-====================================
-Lucene/Solr Maven build instructions
-====================================
-
-Contents:
-
-A. How to use nightly Jenkins-built Lucene/Solr Maven artifacts
-B. How to generate Maven artifacts
-C. How to deploy Maven artifacts to a repository
-D. How to use Maven to build Lucene/Solr
-
------
-
-A. How to use nightly Jenkins-built Lucene/Solr Maven artifacts
-
-   The most recently produced nightly Jenkins-built Lucene and Solr Maven
-   snapshot artifacts are available in the Apache Snapshot repository here:
-
-      https://repository.apache.org/snapshots
-
-   An example POM snippet:
-
-     <project ...>
-       ...
-       <repositories>
-         ...
-         <repository>
-           <id>apache.snapshots</id>
-           <name>Apache Snapshot Repository</name>
-           <url>https://repository.apache.org/snapshots</url>
-           <releases>
-             <enabled>false</enabled>
-           </releases>
-         </repository>
-
-
-B. How to generate Lucene/Solr Maven artifacts
-
-   Prerequisites: OpenJDK 11+ and Ant 1.8.2+
-
-   Run 'ant generate-maven-artifacts' to create an internal Maven
-   repository, including POMs, binary .jars, source .jars, and javadoc
-   .jars.
-
-   You can run the above command in three possible places: the top-level
-   directory; under lucene/; or under solr/.  From the top-level directory
-   or from lucene/, the internal repository will be located at dist/maven/.
-   From solr/, the internal repository will be located at package/maven/.
-
-
-C. How to deploy Maven artifacts to a repository
-
-   Prerequisites: OpenJDK 11+ and Ant 1.8.2+
-
-   You can deploy targets for all of Lucene/Solr, only Lucene, or only Solr,
-   as in B. above.  To deploy to a Maven repository, the command is the same
-   as in B. above, with the addition of two system properties:
-
-      ant -Dm2.repository.id=my-repo-id \
-          -Dm2.repository.url=https://example.org/my/repo \
-          generate-maven-artifacts
-
-   The repository ID given in the above command corresponds to a <server>
-   entry in either your ~/.m2/settings.xml or ~/.ant/settings.xml.  See
-   <https://maven.apache.org/settings.html#Servers> for more information.
-   (Note that as of version 2.1.3, Maven Ant Tasks cannot handle encrypted
-   passwords.)
-
-
-D. How to use Maven to build Lucene/Solr
-
-   In summary, to enable Maven builds, perform the following:
-
-         ant get-maven-poms
-         cd maven-build
-
-   The details, followed by some example Maven commands:
-
-   1. Prerequisites: OpenJDK 11+ and Maven 2.2.1 or 3.X
-
-   2. Make sure your sources are up to date.
-
-   3. Copy the Maven POM templates from under dev-tools/maven/ to the
-      maven-build/ directory using the following command from the top-level
-      directory:
-
-         ant get-maven-poms
-
-      Note that you will need to do this whenever changes to the POM
-      templates are committed.  For this reason, it's a good idea run
-      "ant get-maven-poms" after you update from origin.
-
-      The above command copies all of the POM templates from dev-tools/maven/,
-      filling in the project version with the default "X.X-SNAPSHOT".  If you
-      want the POMs and the Maven-built artifacts to have a version other than
-      the default, you can supply an alternate version on the command line
-      with the above command, e.g. "my-special-version":
-
-         ant -Dversion=my-special-version get-maven-poms
-
-      or to append "my-special-version" to the current base version, e.g. 5.0,
-      resulting in version "5.0-my-special-version":
-
-         ant -Ddev.version.suffix=my-special-version get-maven-poms
-
-      Note: if you change the version in the POMs, there is one test method
-      that will fail under maven-surefire-plugin:
-      o.a.l.index.TestCheckIndex#testLuceneConstantVersion().  It's safe to
-      @Ignore this test method, since it's just comparing the value of the
-      lucene.version system property (set in the maven-surefire-plugin
-      configuration in the lucene-core POM) against a hard-wired official
-      version (o.a.l.util.Constants.LUCENE_MAIN_VERSION).
-
-   4. To remove the maven-build/ directory and its contents, use the following
-      command from the top-level directory:
-
-         ant clean-maven-build
-
-   5. Please keep in mind that this is just a minimal Maven build. The resulting
-      artifacts are not the same as those created by the native Ant-based build.
-      It should be fine to enable Lucene builds in several Maven-based IDEs,
-      but should never be used for Lucene/Solr production usage, as they may lack
-      optimized class files (e.g., Java 9 MR-JAR support). To install Lucene/Solr
-      in your local repository, see instructions above.
-
-
-   Some example Maven commands you can use after you perform the above
-   preparatory steps:
-
-   - Compile, package, and install all binary artifacts to your local
-     repository:
-
-         mvn install
-
-     After compiling and packaging, but before installing each module's 
-     artifact, the above command will also run all the module's tests.
-     
-     The resulting artifacts are not the same as those created by the native
-     Ant-based build. They should never be used for Lucene/Solr production
-     usage, as they may lack optimized class files (e.g., Java 9 MR-JAR
-     support).
-
-   - Compile, package, and install all binary artifacts to your local
-     repository, without running any tests:
-
-         mvn -DskipTests install
-
-   - Compile, package, and install all binary and source artifacts to your
-     local repository, without running any tests:
-
-         mvn -DskipTests source:jar-no-fork install
-
-   - Run all tests:
-
-         mvn test
-
-   - Run all test methods defined in a test class:
-
-         mvn -Dtest=TestClassName test
diff --git a/dev-tools/maven/lucene/analysis/common/pom.xml.template b/dev-tools/maven/lucene/analysis/common/pom.xml.template
deleted file mode 100644
index 86d8202..0000000
--- a/dev-tools/maven/lucene/analysis/common/pom.xml.template
+++ /dev/null
@@ -1,86 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-common</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Common Analyzers</name>
-  <description>Additional Analyzers</description>
-  <properties>
-    <module-directory>lucene/analysis/common</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-common.internal.dependencies@
-@lucene-analyzers-common.external.dependencies@
-@lucene-analyzers-common.internal.test.dependencies@
-@lucene-analyzers-common.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/icu/pom.xml.template b/dev-tools/maven/lucene/analysis/icu/pom.xml.template
deleted file mode 100644
index 34c343e..0000000
--- a/dev-tools/maven/lucene/analysis/icu/pom.xml.template
+++ /dev/null
@@ -1,76 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-icu</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene ICU Analysis Components</name>
-  <description>    
-    Provides integration with ICU (International Components for Unicode) for
-    stronger Unicode and internationalization support.
-  </description>
-  <properties>
-    <module-directory>lucene/analysis/icu</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>${project.groupId}</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-icu.internal.dependencies@
-@lucene-analyzers-icu.external.dependencies@
-@lucene-analyzers-icu.internal.test.dependencies@
-@lucene-analyzers-icu.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template b/dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template
deleted file mode 100644
index 21d92f7..0000000
--- a/dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template
+++ /dev/null
@@ -1,75 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-kuromoji</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Kuromoji Japanese Morphological Analyzer</name>
-  <description>
-    Lucene Kuromoji Japanese Morphological Analyzer
-  </description>
-  <properties>
-    <module-directory>lucene/analysis/kuromoji</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-kuromoji.internal.dependencies@
-@lucene-analyzers-kuromoji.external.dependencies@
-@lucene-analyzers-kuromoji.internal.test.dependencies@
-@lucene-analyzers-kuromoji.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/morfologik/pom.xml.template b/dev-tools/maven/lucene/analysis/morfologik/pom.xml.template
deleted file mode 100644
index bd63d3a..0000000
--- a/dev-tools/maven/lucene/analysis/morfologik/pom.xml.template
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-morfologik</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Morfologik Polish Lemmatizer</name>
-  <description>
-    A dictionary-driven lemmatizer for Polish (includes morphosyntactic annotations)
-  </description>
-  <properties>
-    <module-directory>lucene/analysis/morfologik</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-morfologik.internal.dependencies@
-@lucene-analyzers-morfologik.external.dependencies@
-@lucene-analyzers-morfologik.internal.test.dependencies@
-@lucene-analyzers-morfologik.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/nori/pom.xml.template b/dev-tools/maven/lucene/analysis/nori/pom.xml.template
deleted file mode 100644
index ac37a08..0000000
--- a/dev-tools/maven/lucene/analysis/nori/pom.xml.template
+++ /dev/null
@@ -1,75 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-nori</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Nori Korean Morphological Analyzer</name>
-  <description>
-    Lucene Nori Korean Morphological Analyzer
-  </description>
-  <properties>
-    <module-directory>lucene/analysis/nori</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-nori.internal.dependencies@
-@lucene-analyzers-nori.external.dependencies@
-@lucene-analyzers-nori.internal.test.dependencies@
-@lucene-analyzers-nori.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/opennlp/pom.xml.template b/dev-tools/maven/lucene/analysis/opennlp/pom.xml.template
deleted file mode 100644
index 4109a0a..0000000
--- a/dev-tools/maven/lucene/analysis/opennlp/pom.xml.template
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-opennlp</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene OpenNLP integration</name>
-  <description>
-    Lucene OpenNLP integration
-  </description>
-  <properties>
-    <module-directory>lucene/analysis/opennlp</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    @lucene-analyzers-opennlp.internal.dependencies@
-    @lucene-analyzers-opennlp.external.dependencies@
-    @lucene-analyzers-opennlp.internal.test.dependencies@
-    @lucene-analyzers-opennlp.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/phonetic/pom.xml.template b/dev-tools/maven/lucene/analysis/phonetic/pom.xml.template
deleted file mode 100644
index a8e8e93..0000000
--- a/dev-tools/maven/lucene/analysis/phonetic/pom.xml.template
+++ /dev/null
@@ -1,75 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-phonetic</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Phonetic Filters</name>
-  <description>
-    Provides phonetic encoding via Commons Codec.
-  </description>
-  <properties>
-    <module-directory>lucene/analysis/phonetic</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-phonetic.internal.dependencies@
-@lucene-analyzers-phonetic.external.dependencies@
-@lucene-analyzers-phonetic.internal.test.dependencies@
-@lucene-analyzers-phonetic.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/pom.xml.template b/dev-tools/maven/lucene/analysis/pom.xml.template
deleted file mode 100644
index f41aa06..0000000
--- a/dev-tools/maven/lucene/analysis/pom.xml.template
+++ /dev/null
@@ -1,55 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analysis-modules-aggregator</artifactId>
-  <name>Lucene Analysis Modules aggregator POM</name>
-  <packaging>pom</packaging>
-  <modules>
-    <module>common</module>
-    <module>icu</module>
-    <module>kuromoji</module>
-    <module>morfologik</module>
-    <module>nori</module>
-    <module>opennlp</module>
-    <module>phonetic</module>
-    <module>smartcn</module>
-    <module>stempel</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/smartcn/pom.xml.template b/dev-tools/maven/lucene/analysis/smartcn/pom.xml.template
deleted file mode 100644
index a795b76..0000000
--- a/dev-tools/maven/lucene/analysis/smartcn/pom.xml.template
+++ /dev/null
@@ -1,73 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-smartcn</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Smart Chinese Analyzer</name>
-  <description>Smart Chinese Analyzer</description>
-  <properties>
-    <module-directory>lucene/analysis/smartcn</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-smartcn.internal.dependencies@
-@lucene-analyzers-smartcn.external.dependencies@
-@lucene-analyzers-smartcn.internal.test.dependencies@
-@lucene-analyzers-smartcn.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/analysis/stempel/pom.xml.template b/dev-tools/maven/lucene/analysis/stempel/pom.xml.template
deleted file mode 100644
index f32e067..0000000
--- a/dev-tools/maven/lucene/analysis/stempel/pom.xml.template
+++ /dev/null
@@ -1,73 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-analyzers-stempel</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Stempel Analyzer</name>
-  <description>Stempel Analyzer</description>
-  <properties>
-    <module-directory>lucene/analysis/stempel</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-analyzers-stempel.internal.dependencies@
-@lucene-analyzers-stempel.external.dependencies@
-@lucene-analyzers-stempel.internal.test.dependencies@
-@lucene-analyzers-stempel.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/backward-codecs/pom.xml.template b/dev-tools/maven/lucene/backward-codecs/pom.xml.template
deleted file mode 100644
index 271276d..0000000
--- a/dev-tools/maven/lucene/backward-codecs/pom.xml.template
+++ /dev/null
@@ -1,88 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-backward-codecs</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Memory</name>
-  <description>
-    Codecs for older versions of Lucene.
-  </description>
-  <properties>
-    <module-directory>lucene/backward-codecs</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-backward-codecs.internal.dependencies@
-@lucene-backward-codecs.external.dependencies@
-@lucene-backward-codecs.internal.test.dependencies@
-@lucene-backward-codecs.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/benchmark/pom.xml.template b/dev-tools/maven/lucene/benchmark/pom.xml.template
deleted file mode 100644
index 6c4a245..0000000
--- a/dev-tools/maven/lucene/benchmark/pom.xml.template
+++ /dev/null
@@ -1,86 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-benchmark</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Benchmark</name>
-  <description>Lucene Benchmarking Module</description>
-  <properties>
-    <module-directory>lucene/benchmark</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-benchmark.internal.dependencies@
-@lucene-benchmark.external.dependencies@
-@lucene-benchmark.internal.test.dependencies@
-@lucene-benchmark.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-      <testResource>
-        <directory>${module-path}</directory>
-        <includes>
-          <include>conf/**/*</include>
-        </includes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-check-sysout-forbidden-apis</id>
-            <phase>none</phase>  <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/classification/pom.xml.template b/dev-tools/maven/lucene/classification/pom.xml.template
deleted file mode 100644
index 397d07d..0000000
--- a/dev-tools/maven/lucene/classification/pom.xml.template
+++ /dev/null
@@ -1,68 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-classification</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Classification</name>
-  <description>Lucene Classification</description>
-  <properties>
-    <module-directory>lucene/classification</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-classification.internal.dependencies@
-@lucene-classification.external.dependencies@
-@lucene-classification.internal.test.dependencies@
-@lucene-classification.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/codecs/pom.xml.template b/dev-tools/maven/lucene/codecs/pom.xml.template
deleted file mode 100644
index 269c23c..0000000
--- a/dev-tools/maven/lucene/codecs/pom.xml.template
+++ /dev/null
@@ -1,48 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-codecs-aggregator</artifactId>
-  <packaging>pom</packaging>
-  <name>Lucene codecs aggregator POM</name>
-  <modules>
-    <module>src/java</module>
-    <module>src/test</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/codecs/src/java/pom.xml.template b/dev-tools/maven/lucene/codecs/src/java/pom.xml.template
deleted file mode 100644
index 4d2f027..0000000
--- a/dev-tools/maven/lucene/codecs/src/java/pom.xml.template
+++ /dev/null
@@ -1,85 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-codecs</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene codecs</name>
-  <description>
-    Codecs and postings formats for Apache Lucene.
-  </description>
-  <properties>
-    <module-directory>lucene/codecs</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/java</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-@lucene-codecs.internal.dependencies@
-@lucene-codecs.external.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/../resources</directory>
-      </resource>
-    </resources>
-    <testSourceDirectory/>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- Tests are run from lucene-codecs-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- This skips test compilation - tests are run from lucene-codecs-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-test-check-forbidden-apis</id>
-            <phase>none</phase>  <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/codecs/src/test/pom.xml.template b/dev-tools/maven/lucene/codecs/src/test/pom.xml.template
deleted file mode 100644
index d64f899..0000000
--- a/dev-tools/maven/lucene/codecs/src/test/pom.xml.template
+++ /dev/null
@@ -1,84 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-codecs-tests</artifactId>
-  <name>Lucene codecs tests</name>
-  <packaging>jar</packaging>
-  <properties>
-    <module-directory>lucene/codecs</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/test</module-path>
-  </properties>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-codecs</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-codecs.internal.test.dependencies@
-@lucene-codecs.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory/>
-    <testSourceDirectory>${module-path}</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/core/pom.xml.template b/dev-tools/maven/lucene/core/pom.xml.template
deleted file mode 100644
index f06e1e2..0000000
--- a/dev-tools/maven/lucene/core/pom.xml.template
+++ /dev/null
@@ -1,48 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-core-aggregator</artifactId>
-  <packaging>pom</packaging>
-  <name>Lucene Core aggregator POM</name>
-  <modules>
-    <module>src/java</module>
-    <module>src/test</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/core/src/java/pom.xml.template b/dev-tools/maven/lucene/core/src/java/pom.xml.template
deleted file mode 100644
index 89cdfe8..0000000
--- a/dev-tools/maven/lucene/core/src/java/pom.xml.template
+++ /dev/null
@@ -1,79 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-core</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Core</name>
-  <description>Apache Lucene Java Core</description>
-  <properties>
-    <module-directory>lucene/core</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/java</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <build>
-    <sourceDirectory>${module-path}</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/../resources</directory>
-      </resource>
-    </resources>
-    <testSourceDirectory/>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- Tests are run from lucene-codecs-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- This skips test compilation - tests are run from lucene-codecs-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-test-check-forbidden-apis</id>
-            <phase>none</phase>  <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/core/src/test/pom.xml.template b/dev-tools/maven/lucene/core/src/test/pom.xml.template
deleted file mode 100644
index d50e7e6..0000000
--- a/dev-tools/maven/lucene/core/src/test/pom.xml.template
+++ /dev/null
@@ -1,84 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-core-tests</artifactId>
-  <name>Lucene Core tests</name>
-  <packaging>jar</packaging>
-  <properties>
-    <module-directory>lucene/core</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/test</module-path>
-  </properties>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-core</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-core.internal.test.dependencies@
-@lucene-core.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory/>
-    <testSourceDirectory>${module-path}</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/demo/pom.xml.template b/dev-tools/maven/lucene/demo/pom.xml.template
deleted file mode 100644
index fc550ad..0000000
--- a/dev-tools/maven/lucene/demo/pom.xml.template
+++ /dev/null
@@ -1,85 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-demo</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Demo</name>
-  <description>This is the demo for Apache Lucene Java</description>
-  <properties>
-    <module-directory>lucene/demo</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-demo.internal.dependencies@
-@lucene-demo.external.dependencies@
-@lucene-demo.internal.test.dependencies@
-@lucene-demo.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-check-sysout-forbidden-apis</id>
-            <phase>none</phase>  <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/expressions/pom.xml.template b/dev-tools/maven/lucene/expressions/pom.xml.template
deleted file mode 100644
index 18ea18a..0000000
--- a/dev-tools/maven/lucene/expressions/pom.xml.template
+++ /dev/null
@@ -1,62 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-expressions</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Expressions</name>
-  <description>    
-     Dynamically computed values to sort/facet/search on based on a pluggable grammar.
-  </description>
-  <properties>
-    <module-directory>lucene/expressions</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-expressions.internal.dependencies@
-@lucene-expressions.external.dependencies@
-@lucene-expressions.internal.test.dependencies@
-@lucene-expressions.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/facet/pom.xml.template b/dev-tools/maven/lucene/facet/pom.xml.template
deleted file mode 100644
index 9d6d80d..0000000
--- a/dev-tools/maven/lucene/facet/pom.xml.template
+++ /dev/null
@@ -1,75 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-facet</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Facets</name>
-  <description>
-    Package for Faceted Indexing and Search
-  </description>
-  <properties>
-    <module-directory>lucene/facet</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-facet.internal.dependencies@
-@lucene-facet.external.dependencies@
-@lucene-facet.internal.test.dependencies@
-@lucene-facet.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/grouping/pom.xml.template b/dev-tools/maven/lucene/grouping/pom.xml.template
deleted file mode 100644
index 6314b72..0000000
--- a/dev-tools/maven/lucene/grouping/pom.xml.template
+++ /dev/null
@@ -1,68 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-grouping</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Grouping</name>
-  <description>Lucene Grouping Module</description>
-  <properties>
-    <module-directory>lucene/grouping</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-grouping.internal.dependencies@
-@lucene-grouping.external.dependencies@
-@lucene-grouping.internal.test.dependencies@
-@lucene-grouping.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/highlighter/pom.xml.template b/dev-tools/maven/lucene/highlighter/pom.xml.template
deleted file mode 100644
index ea31e63..0000000
--- a/dev-tools/maven/lucene/highlighter/pom.xml.template
+++ /dev/null
@@ -1,70 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-highlighter</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Highlighter</name>
-  <description>
-    This is the highlighter for apache lucene java
-  </description>
-  <properties>
-    <module-directory>lucene/highlighter</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-highlighter.internal.dependencies@
-@lucene-highlighter.external.dependencies@
-@lucene-highlighter.internal.test.dependencies@
-@lucene-highlighter.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/join/pom.xml.template b/dev-tools/maven/lucene/join/pom.xml.template
deleted file mode 100644
index 161e558..0000000
--- a/dev-tools/maven/lucene/join/pom.xml.template
+++ /dev/null
@@ -1,68 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-join</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Join</name>
-  <description>Lucene Join Module</description>
-  <properties>
-    <module-directory>lucene/join</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-join.internal.dependencies@
-@lucene-join.external.dependencies@
-@lucene-join.internal.test.dependencies@
-@lucene-join.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/memory/pom.xml.template b/dev-tools/maven/lucene/memory/pom.xml.template
deleted file mode 100644
index dcaeb12..0000000
--- a/dev-tools/maven/lucene/memory/pom.xml.template
+++ /dev/null
@@ -1,70 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-memory</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Memory</name>
-  <description>
-    High-performance single-document index to compare against Query
-  </description>
-  <properties>
-    <module-directory>lucene/memory</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-memory.internal.dependencies@
-@lucene-memory.external.dependencies@
-@lucene-memory.internal.test.dependencies@
-@lucene-memory.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/misc/pom.xml.template b/dev-tools/maven/lucene/misc/pom.xml.template
deleted file mode 100644
index a4bcac2..0000000
--- a/dev-tools/maven/lucene/misc/pom.xml.template
+++ /dev/null
@@ -1,68 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-misc</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Miscellaneous</name>
-  <description>Miscellaneous Lucene extensions</description>
-  <properties>
-    <module-directory>lucene/misc</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-     <scope>test</scope>
-    </dependency>
-@lucene-misc.internal.dependencies@
-@lucene-misc.external.dependencies@
-@lucene-misc.internal.test.dependencies@
-@lucene-misc.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/monitor/pom.xml.template b/dev-tools/maven/lucene/monitor/pom.xml.template
deleted file mode 100644
index 3d915e9..0000000
--- a/dev-tools/maven/lucene/monitor/pom.xml.template
+++ /dev/null
@@ -1,70 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-monitor</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Monitor</name>
-  <description>
-    High-performance single-document index to compare against Query
-  </description>
-  <properties>
-    <module-directory>lucene/monitor</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-monitor.internal.dependencies@
-@lucene-monitor.external.dependencies@
-@lucene-monitor.internal.test.dependencies@
-@lucene-monitor.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/pom.xml.template b/dev-tools/maven/lucene/pom.xml.template
deleted file mode 100644
index 1093bc4..0000000
--- a/dev-tools/maven/lucene/pom.xml.template
+++ /dev/null
@@ -1,127 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-solr-grandparent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-parent</artifactId>
-  <packaging>pom</packaging>
-  <name>Lucene parent POM</name>
-  <description>Lucene parent POM</description>
-  <properties>
-    <module-directory>lucene</module-directory>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <modules>
-    <module>core</module>
-    <module>backward-codecs</module>
-    <module>codecs</module>
-    <module>test-framework</module>
-    <module>analysis</module>
-    <module>benchmark</module>
-    <module>classification</module>
-    <module>demo</module>
-    <module>expressions</module>
-    <module>facet</module>
-    <module>grouping</module>
-    <module>highlighter</module>
-    <module>join</module>
-    <module>memory</module>
-    <module>misc</module>
-    <module>monitor</module>
-    <module>queries</module>
-    <module>queryparser</module>
-    <module>replicator</module>
-    <module>sandbox</module>
-    <module>spatial-extras</module>
-    <module>spatial3d</module>
-    <module>suggest</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-check-forbidden-apis</id>
-            <configuration>
-              <!-- disallow undocumented classes like sun.misc.Unsafe: -->
-              <bundledSignatures>
-                <bundledSignature>jdk-unsafe</bundledSignature>
-                <bundledSignature>jdk-deprecated</bundledSignature>
-                <bundledSignature>jdk-non-portable</bundledSignature>
-                <bundledSignature>jdk-reflection</bundledSignature>
-              </bundledSignatures>
-              <signaturesFiles>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/base.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/lucene.txt</signaturesFile>
-              </signaturesFiles>
-            </configuration>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>lucene-shared-check-sysout-forbidden-apis</id>
-            <configuration>
-              <bundledSignatures>
-                <bundledSignature>jdk-system-out</bundledSignature>
-              </bundledSignatures>
-            </configuration>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>lucene-shared-test-check-forbidden-apis</id>
-            <configuration>
-              <!-- disallow undocumented classes like sun.misc.Unsafe: -->
-              <bundledSignatures>
-                <bundledSignature>jdk-unsafe</bundledSignature>
-                <bundledSignature>jdk-deprecated</bundledSignature>
-                <bundledSignature>jdk-non-portable</bundledSignature>
-                <bundledSignature>jdk-reflection</bundledSignature>
-              </bundledSignatures>
-              <signaturesFiles>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/tests.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/base.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/lucene.txt</signaturesFile>
-              </signaturesFiles>
-            </configuration>
-            <goals>
-              <goal>testCheck</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/queries/pom.xml.template b/dev-tools/maven/lucene/queries/pom.xml.template
deleted file mode 100644
index 778d75c..0000000
--- a/dev-tools/maven/lucene/queries/pom.xml.template
+++ /dev/null
@@ -1,68 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-queries</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Queries</name>
-  <description>Lucene Queries Module</description>
-  <properties>
-    <module-directory>lucene/queries</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-queries.internal.dependencies@
-@lucene-queries.external.dependencies@
-@lucene-queries.internal.test.dependencies@
-@lucene-queries.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/queryparser/pom.xml.template b/dev-tools/maven/lucene/queryparser/pom.xml.template
deleted file mode 100644
index 3f42d23..0000000
--- a/dev-tools/maven/lucene/queryparser/pom.xml.template
+++ /dev/null
@@ -1,86 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-queryparser</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene QueryParsers</name>
-  <description>Lucene QueryParsers module</description>
-  <properties>
-    <module-directory>lucene/queryparser</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-queryparser.internal.dependencies@
-@lucene-queryparser.external.dependencies@
-@lucene-queryparser.internal.test.dependencies@
-@lucene-queryparser.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/replicator/pom.xml.template b/dev-tools/maven/lucene/replicator/pom.xml.template
deleted file mode 100644
index 3fbeb09..0000000
--- a/dev-tools/maven/lucene/replicator/pom.xml.template
+++ /dev/null
@@ -1,74 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-replicator</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Replicator</name>
-  <description>Lucene Replicator Module</description>
-  <properties>
-    <module-directory>lucene/replicator</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-replicator.internal.dependencies@
-@lucene-replicator.external.dependencies@
-@lucene-replicator.internal.test.dependencies@
-@lucene-replicator.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/sandbox/pom.xml.template b/dev-tools/maven/lucene/sandbox/pom.xml.template
deleted file mode 100644
index a59187b..0000000
--- a/dev-tools/maven/lucene/sandbox/pom.xml.template
+++ /dev/null
@@ -1,73 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-sandbox</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Sandbox</name>
-  <description>Lucene Sandbox</description>
-  <properties>
-    <module-directory>lucene/sandbox</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-sandbox.internal.dependencies@
-@lucene-sandbox.external.dependencies@
-@lucene-sandbox.internal.test.dependencies@
-@lucene-sandbox.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/spatial-extras/pom.xml.template b/dev-tools/maven/lucene/spatial-extras/pom.xml.template
deleted file mode 100644
index 9100ab4..0000000
--- a/dev-tools/maven/lucene/spatial-extras/pom.xml.template
+++ /dev/null
@@ -1,69 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-spatial-extras</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Spatial Extras</name>
-  <description>
-    Advanced Spatial Shape Strategies for Apache Lucene
-  </description>
-  <properties>
-    <module-directory>lucene/spatial-extras</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-spatial3d</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-@lucene-spatial-extras.internal.dependencies@
-@lucene-spatial-extras.external.dependencies@
-@lucene-spatial-extras.internal.test.dependencies@
-@lucene-spatial-extras.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/spatial3d/pom.xml.template b/dev-tools/maven/lucene/spatial3d/pom.xml.template
deleted file mode 100644
index 43b29a8..0000000
--- a/dev-tools/maven/lucene/spatial3d/pom.xml.template
+++ /dev/null
@@ -1,70 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-spatial3d</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Spatial 3D</name>
-  <description>
-    Lucene Spatial shapes implemented using 3D planar geometry
-  </description>
-  <properties>
-    <module-directory>lucene/spatial3d</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-spatial3d.internal.dependencies@
-@lucene-spatial3d.external.dependencies@
-@lucene-spatial3d.internal.test.dependencies@
-@lucene-spatial3d.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/suggest/pom.xml.template b/dev-tools/maven/lucene/suggest/pom.xml.template
deleted file mode 100644
index f48f264..0000000
--- a/dev-tools/maven/lucene/suggest/pom.xml.template
+++ /dev/null
@@ -1,73 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-suggest</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Suggest</name>
-  <description>Lucene Suggest Module</description>
-  <properties>
-    <module-directory>lucene/suggest</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency> 
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@lucene-suggest.internal.dependencies@
-@lucene-suggest.external.dependencies@
-@lucene-suggest.internal.test.dependencies@
-@lucene-suggest.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/lucene/test-framework/pom.xml.template b/dev-tools/maven/lucene/test-framework/pom.xml.template
deleted file mode 100644
index df8a7bd..0000000
--- a/dev-tools/maven/lucene/test-framework/pom.xml.template
+++ /dev/null
@@ -1,109 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.lucene</groupId>
-  <artifactId>lucene-test-framework</artifactId>
-  <packaging>jar</packaging>
-  <name>Lucene Test Framework</name>
-  <description>Apache Lucene Java Test Framework</description>
-  <properties>
-    <module-directory>lucene/test-framework</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-@lucene-test-framework.internal.dependencies@
-@lucene-test-framework.external.dependencies@
-@lucene-test-framework.internal.test.dependencies@
-@lucene-test-framework.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-      <resource>
-        <directory>${project.build.sourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </resource>
-    </resources>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>lucene-shared-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-          <execution>
-            <id>lucene-shared-test-check-forbidden-apis</id>
-            <goals>
-              <goal>check</goal>
-              <goal>testCheck</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>lucene-shared-check-sysout-forbidden-apis</id>
-            <phase>none</phase>  <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  <repositories>
-    <repository>
-      <id>sonatype.releases</id>
-      <name>Sonatype Releases Repository</name>
-      <url>https://oss.sonatype.org/content/repositories/releases</url>
-      <releases>
-        <enabled>true</enabled>
-      </releases>
-      <snapshots>
-        <updatePolicy>never</updatePolicy>
-      </snapshots>
-    </repository>
-  </repositories>
-</project>
diff --git a/dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template b/dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template
deleted file mode 100644
index a0b3702..0000000
--- a/dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template
+++ /dev/null
@@ -1,85 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-analysis-extras</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Analysis Extras</name>
-  <description>Apache Solr Analysis Extras</description>
-  <properties>
-    <module-directory>solr/contrib/analysis-extras</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-analyzers-common</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@solr-analysis-extras.internal.dependencies@
-@solr-analysis-extras.external.dependencies@
-@solr-analysis-extras.internal.test.dependencies@
-@solr-analysis-extras.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/analytics/pom.xml.template b/dev-tools/maven/solr/contrib/analytics/pom.xml.template
deleted file mode 100644
index afd53c1..0000000
--- a/dev-tools/maven/solr/contrib/analytics/pom.xml.template
+++ /dev/null
@@ -1,80 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-analytics</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Analytics Package</name>
-  <description>
-    Apache Solr Content Analytics Package
-  </description>
-  <properties>
-    <module-directory>solr/contrib/analytics</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    @solr-analytics.internal.dependencies@
-    @solr-analytics.external.dependencies@
-    @solr-analytics.internal.test.dependencies@
-    @solr-analytics.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/clustering/pom.xml.template b/dev-tools/maven/solr/contrib/clustering/pom.xml.template
deleted file mode 100644
index 831dede..0000000
--- a/dev-tools/maven/solr/contrib/clustering/pom.xml.template
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-clustering</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Clustering</name>
-  <description>Apache Solr Clustering</description>
-  <properties>
-    <module-directory>solr/contrib/clustering</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@solr-clustering.internal.dependencies@
-@solr-clustering.external.dependencies@
-@solr-clustering.internal.test.dependencies@
-@solr-clustering.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template b/dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template
deleted file mode 100644
index 21ccf5e..0000000
--- a/dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template
+++ /dev/null
@@ -1,85 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-dataimporthandler-extras</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr DataImportHandler Extras</name>
-  <description>Apache Solr DataImportHandler Extras</description>
-  <properties>
-    <module-directory>solr/contrib/dataimporthandler-extras</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-dataimporthandler</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-@solr-dataimporthandler-extras.internal.dependencies@
-@solr-dataimporthandler-extras.external.dependencies@
-@solr-dataimporthandler-extras.internal.test.dependencies@
-@solr-dataimporthandler-extras.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template b/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template
deleted file mode 100644
index 3992f9d..0000000
--- a/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template
+++ /dev/null
@@ -1,91 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-dataimporthandler</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr DataImportHandler</name>
-  <description>Apache Solr DataImportHandler</description>
-  <properties>
-    <module-directory>solr/contrib/dataimporthandler</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@solr-dataimporthandler.internal.dependencies@
-@solr-dataimporthandler.external.dependencies@
-@solr-dataimporthandler.internal.test.dependencies@
-@solr-dataimporthandler.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/extraction/pom.xml.template b/dev-tools/maven/solr/contrib/extraction/pom.xml.template
deleted file mode 100644
index 3ceaabe..0000000
--- a/dev-tools/maven/solr/contrib/extraction/pom.xml.template
+++ /dev/null
@@ -1,81 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-cell</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Content Extraction Library</name>
-  <description>
-    Apache Solr Content Extraction Library integrates Apache Tika 
-    content extraction framework into Solr
-  </description>
-  <properties>
-    <module-directory>solr/contrib/extraction</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@solr-cell.internal.dependencies@
-@solr-cell.external.dependencies@
-@solr-cell.internal.test.dependencies@
-@solr-cell.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/jaegertracer-configurator/pom.xml.template b/dev-tools/maven/solr/contrib/jaegertracer-configurator/pom.xml.template
deleted file mode 100644
index 7234185..0000000
--- a/dev-tools/maven/solr/contrib/jaegertracer-configurator/pom.xml.template
+++ /dev/null
@@ -1,80 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-jaegertracer-configurator</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Jaeger Tracer Configurator Package</name>
-  <description>
-    Apache Solr Jaeger Tracer Configurator Package
-  </description>
-  <properties>
-    <module-directory>solr/contrib/jaegertracer-configurator</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    @solr-jaegertracer-configurator.internal.dependencies@
-    @solr-jaegertracer-configurator.external.dependencies@
-    @solr-jaegertracer-configurator.internal.test.dependencies@
-    @solr-jaegertracer-configurator.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/langid/pom.xml.template b/dev-tools/maven/solr/contrib/langid/pom.xml.template
deleted file mode 100644
index 6543481..0000000
--- a/dev-tools/maven/solr/contrib/langid/pom.xml.template
+++ /dev/null
@@ -1,87 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-langid</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Language Identifier</name>
-  <description>
-    This module is intended to be used while indexing documents.
-    It is implemented as an UpdateProcessor to be placed in an UpdateChain.
-    Its purpose is to identify language from documents and tag the document with language code.
-  </description>
-  <properties>
-    <module-directory>solr/contrib/langid</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@solr-langid.internal.dependencies@
-@solr-langid.external.dependencies@
-@solr-langid.internal.test.dependencies@
-@solr-langid.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/ltr/pom.xml.template b/dev-tools/maven/solr/contrib/ltr/pom.xml.template
deleted file mode 100644
index 9506cb4..0000000
--- a/dev-tools/maven/solr/contrib/ltr/pom.xml.template
+++ /dev/null
@@ -1,80 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-ltr</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Learning to Rank Package</name>
-  <description>
-    Apache Solr Learning to Rank Package
-  </description>
-  <properties>
-    <module-directory>solr/contrib/ltr</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    @solr-ltr.internal.dependencies@
-    @solr-ltr.external.dependencies@
-    @solr-ltr.internal.test.dependencies@
-    @solr-ltr.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/pom.xml.template b/dev-tools/maven/solr/contrib/pom.xml.template
deleted file mode 100644
index d8280e4..0000000
--- a/dev-tools/maven/solr/contrib/pom.xml.template
+++ /dev/null
@@ -1,57 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-contrib-aggregator</artifactId>
-  <name>Apache Solr Contrib aggregator POM</name>
-  <packaging>pom</packaging>
-  <modules>
-    <module>analysis-extras</module>
-    <module>analytics</module>
-    <module>clustering</module>
-    <module>dataimporthandler</module>
-    <module>dataimporthandler-extras</module>
-    <module>extraction</module>
-    <module>jaegertracer-configurator</module>
-    <module>langid</module>
-    <module>ltr</module>
-    <module>prometheus-exporter</module>
-    <module>velocity</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/prometheus-exporter/pom.xml.template b/dev-tools/maven/solr/contrib/prometheus-exporter/pom.xml.template
deleted file mode 100644
index 1d2d508..0000000
--- a/dev-tools/maven/solr/contrib/prometheus-exporter/pom.xml.template
+++ /dev/null
@@ -1,80 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-prometheus-exporter</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Prometheus Exporter Package</name>
-  <description>
-    Apache Solr Prometheus Exporter Package
-  </description>
-  <properties>
-    <module-directory>solr/contrib/prometheus-exporter</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    @solr-prometheus-exporter.internal.dependencies@
-    @solr-prometheus-exporter.external.dependencies@
-    @solr-prometheus-exporter.internal.test.dependencies@
-    @solr-prometheus-exporter.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/contrib/velocity/pom.xml.template b/dev-tools/maven/solr/contrib/velocity/pom.xml.template
deleted file mode 100644
index 82f12ee..0000000
--- a/dev-tools/maven/solr/contrib/velocity/pom.xml.template
+++ /dev/null
@@ -1,89 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-velocity</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Velocity</name>
-  <description>Apache Solr Velocity</description>
-  <properties>
-    <module-directory>solr/contrib/velocity</module-directory>
-    <relative-top-level>../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-@solr-velocity.internal.dependencies@
-@solr-velocity.external.dependencies@
-@solr-velocity.internal.test.dependencies@
-@solr-velocity.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${module-path}/src/test</directory>
-        <includes>
-          <include>velocity/*.properties</include>
-        </includes>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/core/pom.xml.template b/dev-tools/maven/solr/core/pom.xml.template
deleted file mode 100644
index 7c4942a..0000000
--- a/dev-tools/maven/solr/core/pom.xml.template
+++ /dev/null
@@ -1,48 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-core-aggregator</artifactId>
-  <packaging>pom</packaging>
-  <name>Apache Solr Core aggregator POM</name>
-  <modules>
-    <module>src/java</module>
-    <module>src/test</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/core/src/java/pom.xml.template b/dev-tools/maven/solr/core/src/java/pom.xml.template
deleted file mode 100644
index 5c63aef..0000000
--- a/dev-tools/maven/solr/core/src/java/pom.xml.template
+++ /dev/null
@@ -1,84 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-core</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Core</name>
-  <description>Apache Solr Core</description>
-  <properties>
-    <module-directory>solr/core</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/java</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-@solr-core.internal.dependencies@
-@solr-core.external.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}</sourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/../resources</directory>
-      </resource>
-    </resources>
-    <testSourceDirectory/>
-    <testResources/>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- Tests are run from solr-core-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- This skips test compilation - tests are run from solr-core-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>solr-shared-test-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/core/src/test/pom.xml.template b/dev-tools/maven/solr/core/src/test/pom.xml.template
deleted file mode 100644
index 154f904..0000000
--- a/dev-tools/maven/solr/core/src/test/pom.xml.template
+++ /dev/null
@@ -1,155 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-core-tests</artifactId>
-  <name>Apache Solr Core tests</name>
-  <packaging>jar</packaging>
-  <properties>
-    <module-directory>solr/core</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/test</module-path>
-  </properties>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-core</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-queryparser</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-backward-codecs</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-@solr-core.internal.test.dependencies@
-@solr-core.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory/>
-    <!-- Instead of depending on solr-core module, use its output directory -->
-    <outputDirectory>../java/target/classes</outputDirectory>
-    <testSourceDirectory>${module-path}</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/../test-files</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-      <testResource>
-        <directory>${project.build.testSourceDirectory}</directory>
-        <excludes>
-          <exclude>**/*.java</exclude>
-        </excludes>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>default-jar</id>
-            <!-- Skipping by binding the default execution ID to a non-existent phase only works in Maven 3, not 2. -->
-            <phase>none</phase>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <version>2.5.3</version>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>solr-shared-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-          <execution>
-            <id>solr-shared-test-check-forbidden-apis</id>
-            <configuration>
-              <excludes>
-                <!-- TODO: remove this - imported code -->
-                <exclude>org/apache/solr/internal/**/*.class</exclude>
-                <exclude>org/apache/hadoop/**</exclude>
-              </excludes>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/maven.testlogging.properties b/dev-tools/maven/solr/maven.testlogging.properties
deleted file mode 100644
index 4a4df0ea..0000000
--- a/dev-tools/maven/solr/maven.testlogging.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-handlers=java.util.logging.ConsoleHandler
-.level=SEVERE
diff --git a/dev-tools/maven/solr/pom.xml.template b/dev-tools/maven/solr/pom.xml.template
deleted file mode 100644
index 827eb26..0000000
--- a/dev-tools/maven/solr/pom.xml.template
+++ /dev/null
@@ -1,186 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.lucene</groupId>
-    <artifactId>lucene-solr-grandparent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-parent</artifactId>
-  <packaging>pom</packaging>
-  <name>Apache Solr parent POM</name>
-  <description>Apache Solr parent POM</description>
-  <modules>
-    <module>core</module>
-    <module>solrj</module>
-    <module>test-framework</module>
-    <module>contrib</module>
-  </modules>
-  <properties>
-    <module-directory>solr</module-directory>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <issueManagement>
-    <system>JIRA</system>
-    <url>https://issues.apache.org/jira/browse/SOLR</url>
-  </issueManagement>
-  <mailingLists>
-    <mailingList>
-      <name>Solr User List</name>
-      <subscribe>solr-user-subscribe@lucene.apache.org</subscribe>
-      <unsubscribe>solr-user-unsubscribe@lucene.apache.org</unsubscribe>
-      <archive>
-        https://mail-archives.apache.org/mod_mbox/solr-user/
-      </archive>
-    </mailingList>
-    <mailingList>
-      <name>Java Developer List</name>
-      <subscribe>dev-subscribe@lucene.apache.org</subscribe>
-      <unsubscribe>dev-unsubscribe@lucene.apache.org</unsubscribe>
-      <archive>https://mail-archives.apache.org/mod_mbox/lucene-dev/</archive>
-    </mailingList>
-    <mailingList>
-      <name>Java Commits List</name>
-      <subscribe>commits-subscribe@lucene.apache.org</subscribe>
-      <unsubscribe>commits-unsubscribe@lucene.apache.org</unsubscribe>
-      <archive>
-        https://mail-archives.apache.org/mod_mbox/lucene-java-commits/
-      </archive>
-    </mailingList>
-  </mailingLists>
-  <inceptionYear>2006</inceptionYear>
-  <repositories>
-    <repository>
-      <id>maven-restlet</id>
-      <name>Public online Restlet repository</name>
-      <url>https://maven.restlet.com</url>
-    </repository>
-    <repository>
-      <id>releases.cloudera.com</id>
-      <name>Cloudera Releases</name>
-      <url>https://repository.cloudera.com/artifactory/libs-release-local/</url>
-    </repository>
-  </repositories>
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-javadoc-plugin</artifactId>
-          <configuration>
-            <overview/>
-            <windowtitle>${project.name} ${project.version} API (${now.version})</windowtitle>
-            <doctitle>${project.name} ${project.version} API (${now.version})</doctitle>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <configuration>
-            <systemPropertyVariables>
-              <tests.disableHdfs>${tests.disableHdfs}</tests.disableHdfs>
-            </systemPropertyVariables>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-    <plugins>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>solr-shared-check-forbidden-apis</id>
-            <configuration>
-              <!-- for simplicty with servlet-api and commons-io checks, disable this: -->
-              <failOnUnresolvableSignatures>false</failOnUnresolvableSignatures>
-              <bundledSignatures>
-                <bundledSignature>jdk-unsafe</bundledSignature>
-                <bundledSignature>jdk-deprecated</bundledSignature>
-                <bundledSignature>jdk-non-portable</bundledSignature>
-                <bundledSignature>jdk-reflection</bundledSignature>
-                <bundledSignature>commons-io-unsafe-@commons-io:commons-io.version@</bundledSignature>
-              </bundledSignatures>
-              <signaturesFiles>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/base.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/servlet-api.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/solr.txt</signaturesFile>
-              </signaturesFiles>
-            </configuration>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>solr-shared-test-check-forbidden-apis</id>
-            <configuration>
-              <!-- for simplicty with servlet-api and commons-io checks, disable this: -->
-              <failOnUnresolvableSignatures>false</failOnUnresolvableSignatures>
-              <bundledSignatures>
-                <bundledSignature>jdk-unsafe</bundledSignature>
-                <bundledSignature>jdk-deprecated</bundledSignature>
-                <bundledSignature>jdk-non-portable</bundledSignature>
-                <bundledSignature>jdk-reflection</bundledSignature>
-                <bundledSignature>commons-io-unsafe-@commons-io:commons-io.version@</bundledSignature>
-              </bundledSignatures>
-              <signaturesFiles>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/base.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/servlet-api.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/solr.txt</signaturesFile>
-                <signaturesFile>${top-level}/lucene/tools/forbiddenApis/tests.txt</signaturesFile>
-              </signaturesFiles>
-            </configuration>
-            <goals>
-              <goal>testCheck</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <java.util.logging.config.file>${top-level}/solr/testlogging.properties</java.util.logging.config.file>
-          </systemPropertyVariables>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-  <profiles>
-    <profile>
-      <id>windows-tests-disableHdfs</id>
-      <activation>
-        <os><family>windows</family></os>
-      </activation>
-      <properties>
-        <tests.disableHdfs>true</tests.disableHdfs>
-      </properties>
-    </profile>
-  </profiles>
-</project>
diff --git a/dev-tools/maven/solr/solrj/pom.xml.template b/dev-tools/maven/solr/solrj/pom.xml.template
deleted file mode 100644
index 8dbccd5..0000000
--- a/dev-tools/maven/solr/solrj/pom.xml.template
+++ /dev/null
@@ -1,48 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-solrj-aggregator</artifactId>
-  <packaging>pom</packaging>
-  <name>Apache Solr Solrj aggregator POM</name>
-  <modules>
-    <module>src/java</module>
-    <module>src/test</module>
-  </modules>
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/solrj/src/java/pom.xml.template b/dev-tools/maven/solr/solrj/src/java/pom.xml.template
deleted file mode 100644
index bb792c4..0000000
--- a/dev-tools/maven/solr/solrj/src/java/pom.xml.template
+++ /dev/null
@@ -1,78 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-solrj</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Solrj</name>
-  <description>Apache Solr Solrj</description>
-  <properties>
-    <module-directory>solr/solrj</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/java</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-@solr-solrj.internal.dependencies@
-@solr-solrj.external.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}</sourceDirectory>
-    <testSourceDirectory/>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- Tests are run from solr-solrj-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <skip>true</skip> <!-- This skips test compilation - tests are run from solr-solrj-tests module -->
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>solr-shared-test-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/solrj/src/test/pom.xml.template b/dev-tools/maven/solr/solrj/src/test/pom.xml.template
deleted file mode 100644
index 93c14b3..0000000
--- a/dev-tools/maven/solr/solrj/src/test/pom.xml.template
+++ /dev/null
@@ -1,122 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../../../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-solrj-tests</artifactId>
-  <name>Apache Solr Solrj tests</name>
-  <packaging>jar</packaging>
-  <properties>
-    <module-directory>solr/solrj</module-directory>
-    <relative-top-level>../../../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}/src/test</module-path>
-  </properties>
-  <dependencies>
-    <dependency>
-      <!-- lucene-test-framework dependency must be declared before lucene-core -->
-      <!-- This dependency cannot be put into solr-parent, because local        -->
-      <!-- dependencies are always ordered before inherited dependencies.       -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-test-framework</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-solrj</artifactId>
-      <scope>test</scope>
-    </dependency>
-@solr-solrj.internal.test.dependencies@
-@solr-solrj.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory/>
-    <!-- Instead of depending on solr-solrj module, use its output directory -->
-    <outputDirectory>../java/target/classes</outputDirectory>
-    <testSourceDirectory>${module-path}</testSourceDirectory>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/../test-files</directory>
-      </testResource>
-      <testResource>
-        <directory>${top-level}/dev-tools/maven/solr</directory>
-        <includes>
-          <include>maven.testlogging.properties</include>
-        </includes>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-deploy-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>default-jar</id>
-            <!-- Skipping by binding the default execution ID to a non-existent phase only works in Maven 3, not 2. -->
-            <phase>none</phase>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-install-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <version>2.5.3</version>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>solr-shared-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/dev-tools/maven/solr/test-framework/pom.xml.template b/dev-tools/maven/solr/test-framework/pom.xml.template
deleted file mode 100644
index 3f55647..0000000
--- a/dev-tools/maven/solr/test-framework/pom.xml.template
+++ /dev/null
@@ -1,95 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.apache.solr</groupId>
-    <artifactId>solr-parent</artifactId>
-    <version>@version@</version>
-    <relativePath>../pom.xml</relativePath>
-  </parent>
-  <groupId>org.apache.solr</groupId>
-  <artifactId>solr-test-framework</artifactId>
-  <packaging>jar</packaging>
-  <name>Apache Solr Test Framework</name>
-  <description>Apache Solr Test Framework</description>
-  <properties>
-    <module-directory>solr/test-framework</module-directory>
-    <relative-top-level>../../..</relative-top-level>
-    <module-path>${relative-top-level}/${module-directory}</module-path>
-  </properties>
-  <scm>
-    <connection>scm:git:${vc-anonymous-base-url}</connection>
-    <developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
-    <url>${vc-browse-base-url};f=${module-directory}</url>
-  </scm>
-  <dependencies>
-    <!-- These dependencies are compile scope because this is a test framework. -->
-    <dependency>
-      <!-- lucene-test-framework dependency must come before lucene-core -->
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-test-framework</artifactId>
-    </dependency>
-@solr-test-framework.internal.dependencies@
-@solr-test-framework.external.dependencies@
-@solr-test-framework.internal.test.dependencies@
-@solr-test-framework.external.test.dependencies@
-  </dependencies>
-  <build>
-    <sourceDirectory>${module-path}/src/java</sourceDirectory>
-    <testSourceDirectory>${module-path}/src/test</testSourceDirectory>
-    <resources>
-      <resource>
-        <directory>${module-path}/src/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>${module-path}/src/test-files</directory>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-       <plugin>
-        <groupId>de.thetaphi</groupId>
-        <artifactId>forbiddenapis</artifactId>
-        <executions>
-          <execution>
-            <id>solr-shared-check-forbidden-apis</id>
-            <phase>none</phase> <!-- Block inherited execution -->
-          </execution>
-          <execution>
-            <id>solr-shared-test-check-forbidden-apis</id>
-            <goals>
-              <goal>check</goal> <!-- NOT testCheck -->
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-</project>
diff --git a/lucene/BUILD.md b/lucene/BUILD.md
index 6810225..9846ed7 100644
--- a/lucene/BUILD.md
+++ b/lucene/BUILD.md
@@ -2,78 +2,67 @@
 
 ## Basic steps:
   
-  0. Install OpenJDK 11 (or greater), Ant 1.8.2+, Ivy 2.2.0
-  1. Download Lucene from Apache and unpack it
-  2. Connect to the top-level of your Lucene installation
+  0. Install OpenJDK 11 (or greater)
+  1. Download Lucene/Solr from Apache and unpack it
+  2. Connect to the top-level of your installation (parent of the lucene top-level directory)
   3. Install JavaCC (optional)
-  4. Run ant
+  4. Run gradle
 
-## Step 0) Set up your development environment (OpenJDK 11 or greater, Ant 1.8.2+, Ivy 2.2.0)
+## Step 0) Set up your development environment (OpenJDK 11 or greater)
 
 We'll assume that you know how to get and set up the JDK - if you
 don't, then we suggest starting at https://www.oracle.com/java/ and learning
 more about Java, before returning to this README. Lucene runs with
 Java 11 and later.
 
-Like many Open Source java projects, Lucene uses Apache Ant for build
-control.  Specifically, you MUST use Ant version 1.8.2+.
+Lucene uses [Gradle](https://gradle.org/) for build control; and includes Gradle wrapper script to download the correct version of it.
 
-Ant is "kind of like make without make's wrinkles".  Ant is
-implemented in java and uses XML-based configuration files.  You can
-get it at:
+NOTE: When Solr moves to a Top Level Project, it will no longer
+be necessary to download Solr to build Lucene. You can track
+progress at: https://issues.apache.org/jira/browse/SOLR-14497 
 
-  https://ant.apache.org
+NOTE: Lucene changed from Ant to Gradle as of release 9.0. Prior releases
+still use Ant.
 
-You'll need to download the Ant binary distribution.  Install it
-according to the instructions at:
-
-  https://ant.apache.org/manual
-
-Finally, you'll need to install ivy into your ant lib folder
-(~/.ant/lib). You can get it from http://ant.apache.org/ivy/.
-If you skip this step, the Lucene build system will offer to do it 
-for you.
-
-## Step 1) Download Lucene from Apache
+## Step 1) Download/Checkout Lucene source code
 
 We'll assume you already did this, or you wouldn't be reading this
 file.  However, you might have received this file by some alternate
 route, or you might have an incomplete copy of the Lucene, so: Lucene
-releases are available for download at:
+releases are available as part of Solr for download at:
 
-  https://www.apache.org/dyn/closer.cgi/lucene/java/
+  https://lucene.apache.org/solr/downloads.html
+  
+See the note above for why it is necessary currently to download Solr
 
 Download either a zip or a tarred/gzipped version of the archive, and
 uncompress it into a directory of your choice.
 
-## Step 2) From the command line, change (cd) into the top-level directory of your Lucene installation
+Or you can directly checkout the source code from GitHub:
 
-Lucene's top-level directory contains the build.xml file. By default,
-you do not need to change any of the settings in this file, but you do
-need to run ant from this location so it knows where to find build.xml.
+  https://github.com/apache/lucene-solr
 
-If you would like to change settings you can do so by creating one 
-or more of the following files and placing your own property settings
-in there:
+## Step 2) From the command line, change (cd) into the top-level directory of your Lucene/Solr installation
 
-    ~/lucene.build.properties
-    ~/build.properties
-    lucene-x.y/build.properties
+The parent directory for both Lucene and Solr contains the base configuration
+file for the combined build, as well as the "gradle wrapper" (gradlew) that
+makes invocation of Gradle easier. By default, you do not need to change any of 
+the settings in this file, but you do need to run Gradle from this location so 
+it knows where to find the necessary configurations.
 
-The first property which is found in the order with which the files are
-loaded becomes the property setting which is used by the Ant build
-system.
+The first time you run Gradle, it will create a file "gradle.properties" that
+contains machine-specific settings. Normally you can use this file as-is, but it
+can be modified if necessary. 
 
-NOTE: the ~ character represents your user account home directory.
+## Step 4) Run Gradle
 
-## Step 4) Run ant
+Assuming you can exectue "./gradlew help" should show you the main tasks that
+can be executed to show help sub-topics.
 
-Assuming you have ant in your PATH and have set ANT_HOME to the
-location of your ant installation, typing "ant" at the shell prompt
-and command prompt should run ant.  Ant will by default look for the
-"build.xml" file in your current directory, and compile Lucene.
+If you want to build Lucene independent of Solr, type:
+  ./gradlew -p lucene assemble
 
-If you want to build the documentation, type "ant documentation".
+If you want to build the documentation, type "./gradlew buildSite".
 
 For further information on Lucene, go to:
 
@@ -86,7 +75,3 @@ Please join the Lucene-User mailing list by visiting this site:
 Please post suggestions, questions, corrections or additions to this
 document to the lucene-user mailing list.
 
-This file was originally written by Steven J. Owens <pu...@darksleep.com>.
-This file was modified by Jon S. Stevens <jo...@latchkey.com>.
-
-Copyright (c) 2001-2020 The Apache Software Foundation.  All rights reserved.
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 6418f4d..d8bdf7f 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -255,11 +255,6 @@ Documentation
 
 * LUCENE-9424: Add a performance warning to AttributeSource.captureState javadocs (Haoyu Zhai)
 
-Other
----------------------
-
-* LUCENE-9497: Integrate Error Prone, a static analysis tool during compilation (Dawid Weiss, Varun Thacker)
-
 
 Other
 ---------------------
diff --git a/lucene/analysis/analysis-module-build.xml b/lucene/analysis/analysis-module-build.xml
deleted file mode 100644
index b6c88f7..0000000
--- a/lucene/analysis/analysis-module-build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analysis-module-build">
-
-  <!-- submodule build for analyzers.
-       ensures that each submodule is built under build/
-       consistent with its source structure so that
-       binary packaging makes sense -->
-
-  <basename property="submodule.project.name" file="${basedir}"/>
-  <dirname file="${ant.file.analysis-module-build}" property="analysis.dir"/>
-
-  <property name="build.dir" 
-        location="${analysis.dir}/../build/analysis/${submodule.project.name}"/>
-
-  <import file="../module-build.xml"/>
-
-  <target name="javadocs" depends="javadocs-analyzers-common, compile-core, check-javadocs-uptodate"
-          unless="javadocs-uptodate-${name}">
-    <invoke-module-javadoc>
-      <links>
-        <link href="../analyzers-common"/>
-      </links>
-    </invoke-module-javadoc>
-  </target>
-
-</project>
diff --git a/lucene/analysis/build.xml b/lucene/analysis/build.xml
deleted file mode 100644
index 6dc1500..0000000
--- a/lucene/analysis/build.xml
+++ /dev/null
@@ -1,172 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers" default="default">
-
-  <description>
-    Additional Analyzers
-      - common: Additional Analyzers
-      - icu: Analyzers that use functionality from ICU
-      - kuromoji: Japanese Morphological Analyzer
-      - morfologik: Morfologik Stemmer
-      - nori: Korean Morphological Analyzer
-      - smartcn: Smart Analyzer for Simplified Chinese Text
-      - stempel: Algorithmic Stemmer for Polish
-  </description>
-
-  <dirname file="${ant.file.analyzers}" property="analyzers.dir"/>
-
-  <macrodef name="forall-analyzers">
-    <attribute name="target" />
-    <sequential>
-      <subant target="@{target}" inheritall="false" failonerror="true">
-         <propertyset refid="uptodate.and.compiled.properties"/>
-        <fileset dir="${analyzers.dir}" includes="*/build.xml" />
-      </subant>
-    </sequential>
-  </macrodef>
-
-  <propertyset id="uptodate.and.compiled.properties" dynamic="true">
-    <propertyref regex=".*\.uptodate$$"/>
-    <propertyref regex=".*\.compiled$$"/>
-    <propertyref regex=".*\.loaded$$"/>
-    <propertyref name="tests.totals.tmpfile" />
-  </propertyset>
-
-  <target name="common">
-    <ant dir="common" />
-  </target>
-
-  <target name="icu">
-    <ant dir="icu" />
-  </target>
-
-  <target name="kuromoji">
-    <ant dir="kuromoji" />
-  </target>
-
-  <target name="morfologik">
-    <ant dir="morfologik" />
-  </target>
-
-  <target name="nori">
-    <ant dir="nori" />
-  </target>
-
-  <target name="opennlp">
-    <ant dir="opennlp" />
-  </target>
-
-  <target name="phonetic">
-    <ant dir="phonetic" />
-  </target>
-
-  <target name="smartcn">
-    <ant dir="smartcn" />
-  </target>
-
-  <target name="stempel">
-    <ant dir="stempel" />
-  </target>
-
-  <target name="default" depends="compile"/>
-  <target name="compile" depends="common,icu,kuromoji,morfologik,nori,opennlp,phonetic,smartcn,stempel" />
-
-  <target name="clean">
-    <forall-analyzers target="clean"/>
-  </target>
-  <target name="resolve">
-    <forall-analyzers target="resolve"/>
-  </target>
-  <target name="validate">
-    <forall-analyzers target="validate"/>
-  </target>
-  <target name="compile-core">
-    <forall-analyzers target="compile-core"/>
-  </target>
-  <target name="compile-test">
-    <forall-analyzers target="compile-test"/>
-  </target>
-  <target name="compile-tools">
-    <forall-analyzers target="compile-tools"/>
-  </target>
-  <target name="test">
-    <forall-analyzers target="test"/>
-  </target>
-  <target name="test-nocompile">
-    <fail message="Target 'test-nocompile' will not run recursively.  First change directory to the module you want to test."/>
-  </target>
-  <target name="beast">
-    <fail message="The Beast only works inside of individual modules"/>
-  </target>
-  <target name="jar">
-    <forall-analyzers target="jar-core"/>
-  </target>
-  <target name="jar-src">
-    <forall-analyzers target="jar-src"/>
-  </target>
-  <target name="jar-core" depends="jar"/>
-
-  <target name="build-artifacts-and-tests" depends="default,compile-test" />
-
-  <target name="-dist-maven">
-    <forall-analyzers target="-dist-maven"/>
-  </target>
-
-  <target name="-install-to-maven-local-repo">
-    <forall-analyzers target="-install-to-maven-local-repo"/>
-  </target>
-
-  <target name="-validate-maven-dependencies">
-    <forall-analyzers target="-validate-maven-dependencies"/>
-  </target>
-
-  <target name="javadocs">
-    <forall-analyzers target="javadocs"/>
-  </target>
-
-  <target name="javadocs-index.html">
-    <forall-analyzers target="javadocs-index.html"/>
-  </target>
-
-  <target name="rat-sources">
-    <forall-analyzers target="rat-sources"/>
-  </target>
-
-  <target name="-ecj-javadoc-lint">
-    <forall-analyzers target="-ecj-javadoc-lint"/>
-  </target>
-
-  <target name="regenerate">
-    <forall-analyzers target="regenerate"/>
-  </target>
-  
-  <target name="-append-module-dependencies-properties">
-    <forall-analyzers target="-append-module-dependencies-properties"/>
-  </target>
-  
-  <target name="check-forbidden-apis">
-    <forall-analyzers target="check-forbidden-apis"/>
-  </target>
-
-  <target name="jacoco">
-    <forall-analyzers target="jacoco"/>
-  </target>
-
-</project>
diff --git a/lucene/analysis/common/build.xml b/lucene/analysis/common/build.xml
deleted file mode 100644
index 21c5fda..0000000
--- a/lucene/analysis/common/build.xml
+++ /dev/null
@@ -1,125 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-common" default="default">
-
-  <description>
-   Analyzers for indexing content in different languages and domains.
-  </description>
-
-  <!-- some files for testing that do not have license headers -->
-  <property name="rat.excludes" value="**/*.aff,**/*.dic,**/*.txt,**/charfilter/*.htm*,**/*LuceneResourcesWikiPage.html"/>
-  <property name="rat.additional-includes" value="src/tools/**"/>
-
-  <import file="../analysis-module-build.xml"/>
-
-  <property name="unicode-props-file" location="src/java/org/apache/lucene/analysis/util/UnicodeProps.java"/>
-
-  <!-- Because of a bug in JFlex's ant task, HTMLStripCharFilter has to be generated last.   -->
-  <!-- Otherwise the "%apiprivate" option used in its specification will leak into following -->
-  <!-- ant task invocations.                                                                 -->
-  <target name="jflex" depends="init,clean-jflex,-jflex-wiki-tokenizer,-jflex-ClassicAnalyzer,
-                                -jflex-UAX29URLEmailTokenizer,-jflex-HTMLStripCharFilter"/>
-
-  <target name="-jflex-HTMLStripCharFilter" depends="-install-jflex,generate-jflex-html-char-entities">
-    <run-jflex dir="src/java/org/apache/lucene/analysis/charfilter" name="HTMLStripCharFilter"/>
-    <fixcrlf  file="src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilter.java" encoding="UTF-8" eol="lf"/>
-  </target>
-
-  <target name="generate-jflex-html-char-entities">
-    <exec dir="src/java/org/apache/lucene/analysis/charfilter"
-          output="src/java/org/apache/lucene/analysis/charfilter/HTMLCharacterEntities.jflex"
-          executable="${python3.exe}" failonerror="true" logerror="true">
-      <!-- Tell Python not to write any bytecode cache into the filesystem: -->
-      <arg value="-B"/>
-      <arg value="htmlentity.py"/>
-    </exec>
-    <fixcrlf file="src/java/org/apache/lucene/analysis/charfilter/HTMLCharacterEntities.jflex" encoding="UTF-8" eol="lf"/>
-  </target>
-
-  <target name="-jflex-wiki-tokenizer" depends="-install-jflex">
-    <run-jflex dir="src/java/org/apache/lucene/analysis/wikipedia" name="WikipediaTokenizerImpl"/>
-  </target>
-
-  <target name="-jflex-ClassicAnalyzer" depends="-install-jflex">
-    <run-jflex dir="src/java/org/apache/lucene/analysis/standard" name="ClassicTokenizerImpl"/>
-  </target>
-
-  <target name="-jflex-UAX29URLEmailTokenizer" depends="-install-jflex">
-    <run-jflex-and-disable-buffer-expansion
-        dir="src/java/org/apache/lucene/analysis/standard" name="UAX29URLEmailTokenizerImpl"/>
-  </target>
-
-  <target name="clean-jflex">
-    <delete>
-      <fileset dir="src/java/org/apache/lucene/analysis/charfilter" includes="*.java">
-        <containsregexp expression="generated.*by.*JFlex"/>
-      </fileset>
-      <fileset dir="src/java/org/apache/lucene/analysis/wikipedia" includes="*.java">
-        <containsregexp expression="generated.*by.*JFlex"/>
-      </fileset>
-      <fileset dir="src/java/org/apache/lucene/analysis/standard" includes="**/*.java">
-        <containsregexp expression="generated.*by.*JFlex"/>
-      </fileset>
-    </delete>
-  </target>
-
-  <target xmlns:ivy="antlib:org.apache.ivy.ant" name="-resolve-icu4j" unless="icu4j.resolved" depends="ivy-availability-check,ivy-configure">
-    <loadproperties prefix="ivyversions" srcFile="${common.dir}/ivy-versions.properties"/>
-    <ivy:cachepath organisation="com.ibm.icu" module="icu4j" revision="${ivyversions./com.ibm.icu/icu4j}"
-      inline="true" conf="default" transitive="true" pathid="icu4j.classpath"/>
-    <property name="icu4j.resolved" value="true"/>
-  </target>
-
-  <target name="unicode-data" depends="-resolve-icu4j,resolve-groovy">
-    <groovy classpathref="icu4j.classpath" src="src/tools/groovy/generate-unicode-data.groovy"/>
-    <fixcrlf file="${unicode-props-file}" encoding="UTF-8"/>
-  </target>
-
-  <property name="tld.zones" value="https://www.internic.net/zones/root.zone"/>
-  <property name="tld.output" location="src/java/org/apache/lucene/analysis/standard/ASCIITLD.jflex-macro"/>
-
-  <target name="gen-tlds" depends="compile-tools">
-    <java
-      classname="org.apache.lucene.analysis.standard.GenerateJflexTLDMacros"
-      dir="."
-      fork="true"
-      failonerror="true">
-      <classpath>
-        <pathelement location="${build.dir}/classes/tools"/>
-      </classpath>
-      <arg value="${tld.zones}"/>
-      <arg value="${tld.output}"/>
-      <redirector alwayslog="true"/> <!-- stupid trick to get java class's stdout to ant's log -->
-    </java>
-  </target>
-
-  <target name="compile-tools" depends="common.compile-tools">
-    <compile
-      srcdir="src/tools/java"
-      destdir="${build.dir}/classes/tools">
-      <classpath refid="classpath"/>
-    </compile>
-  </target>
-
-  <target name="javadocs" depends="module-build.javadocs"/>
-
-  <target name="regenerate" depends="jflex,unicode-data"/>
-
-</project>
diff --git a/lucene/analysis/common/ivy.xml b/lucene/analysis/common/ivy.xml
deleted file mode 100644
index 9c5376b..0000000
--- a/lucene/analysis/common/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-common"/>
-</ivy-module>
diff --git a/lucene/analysis/icu/build.xml b/lucene/analysis/icu/build.xml
deleted file mode 100644
index 32ab34d..0000000
--- a/lucene/analysis/icu/build.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-icu" default="default">
-
-  <description>
-   Analysis integration with ICU (International Components for Unicode).
-  </description>
-
-  <property name="rat.additional-includes" value="src/tools/**"/>
-
-  <import file="../analysis-module-build.xml"/>
-
-  <path id="icujar">
-     <fileset dir="lib"/>
-  </path>
-
-  <path id="classpath">
-    <pathelement path="${analyzers-common.jar}"/>
-    <path refid="icujar"/>
-    <path refid="base.classpath"/>
-  </path>
-
-  <path id="test.classpath">
-    <path refid="test.base.classpath" />
-    <pathelement path="src/test-files" />
-  </path>
-
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core" />
-
-  <property name="utr30.data.dir" location="src/data/utr30"/>
-  <target name="gen-utr30-data-files" depends="compile-tools">
-    <java
-        classname="org.apache.lucene.analysis.icu.GenerateUTR30DataFiles"
-        dir="${utr30.data.dir}"
-        fork="true"
-        failonerror="true">
-      <classpath>
-        <path refid="icujar"/>
-        <pathelement location="${build.dir}/classes/tools"/>
-      </classpath>
-    </java>
-  </target>
-
-  <property name="gennorm2.src.files"
-    value="nfc.txt nfkc.txt nfkc_cf.txt BasicFoldings.txt DiacriticFolding.txt DingbatFolding.txt HanRadicalFolding.txt NativeDigitFolding.txt"/>
-  <property name="gennorm2.tmp" value="${build.dir}/gennorm2/utr30.tmp"/>
-  <property name="gennorm2.dst" value="${resources.dir}/org/apache/lucene/analysis/icu/utr30.nrm"/>
-  <target name="gennorm2" depends="gen-utr30-data-files">
-    <echo>Note that the gennorm2 and icupkg tools must be on your PATH. These tools
-are part of the ICU4C package. See http://site.icu-project.org/ </echo>
-    <mkdir dir="${build.dir}/gennorm2"/>
-    <exec executable="gennorm2" failonerror="true">
-      <arg value="-v"/>
-      <arg value="-s"/>
-      <arg value="${utr30.data.dir}"/>
-      <arg line="${gennorm2.src.files}"/>
-      <arg value="-o"/>
-      <arg value="${gennorm2.tmp}"/>
-    </exec>
-    <!-- now convert binary file to big-endian -->
-    <exec executable="icupkg" failonerror="true">
-      <arg value="-tb"/>
-      <arg value="${gennorm2.tmp}"/>
-      <arg value="${gennorm2.dst}"/>
-    </exec>
-    <delete file="${gennorm2.tmp}"/>
-  </target>
-  
-  <property name="rbbi.src.dir" location="src/data/uax29"/>
-  <property name="rbbi.dst.dir" location="${resources.dir}/org/apache/lucene/analysis/icu/segmentation"/>
-  
-  <target name="genrbbi" depends="compile-tools">
-    <mkdir dir="${rbbi.dst.dir}"/>
-    <java
-      classname="org.apache.lucene.analysis.icu.RBBIRuleCompiler"
-      dir="."
-      fork="true"
-      failonerror="true">
-      <classpath>
-        <path refid="icujar"/>
-        <pathelement location="${build.dir}/classes/tools"/>
-      </classpath>
-      <assertions>
-        <enable package="org.apache.lucene"/>
-      </assertions>
-      <arg value="${rbbi.src.dir}"/>
-      <arg value="${rbbi.dst.dir}"/>
-    </java>
-  </target>
-
-  <target name="compile-tools" depends="init,common.compile-tools">
-    <compile
-      srcdir="src/tools/java"
-      destdir="${build.dir}/classes/tools">
-      <classpath refid="classpath"/>
-    </compile>
-  </target>
-
-  <target name="regenerate" depends="gen-utr30-data-files,gennorm2,genrbbi"/>
-
-</project>
diff --git a/lucene/analysis/icu/ivy.xml b/lucene/analysis/icu/ivy.xml
deleted file mode 100644
index 97b58f3..0000000
--- a/lucene/analysis/icu/ivy.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-icu"/>
-  <configurations defaultconfmapping="compile->master">
-    <conf name="compile" transitive="false"/>
-  </configurations>
-  <dependencies>
-    <dependency org="com.ibm.icu" name="icu4j" rev="${/com.ibm.icu/icu4j}" conf="compile"/>
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/> 
-  </dependencies>
-</ivy-module>
diff --git a/lucene/analysis/kuromoji/build.xml b/lucene/analysis/kuromoji/build.xml
deleted file mode 100644
index 7afa31d..0000000
--- a/lucene/analysis/kuromoji/build.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-kuromoji" default="default" xmlns:ivy="antlib:org.apache.ivy.ant">
-
-  <description>
-    Japanese Morphological Analyzer
-  </description>
-
-  <!-- currently whether rat detects this as binary or not
-       is platform dependent?! -->
-  <property name="rat.excludes" value="**/*.txt,**/bocchan.utf-8"/>
-
-  <!-- we don't want to pull in ipadic/naist etc -->
-  <property name="ivy.default.configuration" value="default"/>
-  <import file="../analysis-module-build.xml"/> 
-
-  <!-- default configuration: uses mecab-ipadic -->
-  <property name="ipadic.type" value="ipadic"/>
-  <property name="ipadic.version" value="mecab-ipadic-2.7.0-20070801" />
-
-  <!-- alternative configuration: uses mecab-naist-jdic
-  <property name="ipadic.type" value="naist"/>
-  <property name="ipadic.version" value="mecab-naist-jdic-0.6.3b-20111013" />
-  -->
-  
-  <property name="dict.src.file" value="${ipadic.version}.tar.gz" />
-  <property name="dict.src.dir" value="${build.dir}/${ipadic.version}" />
-  <property name="dict.encoding" value="euc-jp"/>
-  <property name="dict.format" value="ipadic"/>
-  <property name="dict.normalize" value="false"/>
-  <property name="dict.target.dir" location="${resources.dir}"/>
-
-
-  <available type="dir" file="${build.dir}/${ipadic.version}" property="dict.available"/>
-
-  <path id="classpath">
-    <dirset dir="${build.dir}">
-      <include name="classes/java"/>
-    </dirset>
-    <pathelement path="${analyzers-common.jar}"/>
-    <path refid="base.classpath"/>
-  </path>
-
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core" />
-  <target name="download-dict" depends="ivy-availability-check,ivy-fail,ivy-configure" unless="dict.available">
-     <ivy:retrieve pattern="${build.dir}/${dict.src.file}" conf="${ipadic.type}" symlink="${ivy.symlink}"/>
-     <!-- TODO: we should checksum too -->
-     <gunzip src="${build.dir}/${dict.src.file}"/>
-     <untar src="${build.dir}/${ipadic.version}.tar" dest="${build.dir}"/>
-  </target>
-
-  <target name="patch-dict" depends="download-dict">
-    <patch patchfile="src/tools/patches/Noun.proper.csv.patch"
-           originalfile="${dict.src.dir}/Noun.proper.csv"/>
-  </target>
-
-  <target name="build-dict" depends="compile, patch-dict">
-    <sequential>
-      <delete verbose="true">
-        <fileset dir="${resources.dir}/org/apache/lucene/analysis/ja/dict" includes="**/*"/>
-      </delete>
-      <!-- TODO: optimize the dictionary construction a bit so that you don't need 1G -->
-      <java fork="true" failonerror="true" maxmemory="1g" classname="org.apache.lucene.analysis.ja.util.DictionaryBuilder">
-        <classpath refid="classpath"/>
-        <assertions>
-          <enable package="org.apache.lucene"/>
-        </assertions>
-        <arg value="${dict.format}"/>
-        <arg value="${dict.src.dir}"/>
-        <arg value="${dict.target.dir}"/>
-        <arg value="${dict.encoding}"/>
-        <arg value="${dict.normalize}"/>
-      </java>
-    </sequential>
-  </target>
-
-  <target name="compile-test" depends="module-build.compile-test"/>
-
-  <target name="regenerate" depends="build-dict"/>
-
-</project>
diff --git a/lucene/analysis/kuromoji/ivy.xml b/lucene/analysis/kuromoji/ivy.xml
deleted file mode 100644
index ee256b9..0000000
--- a/lucene/analysis/kuromoji/ivy.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-kuromoji"/>
-  
-  <configurations defaultconfmapping="ipadic->default;naist->default"> <!-- 'master' conf not available to map to -->
-    <conf name="default" description="explicitly declare this configuration in order to not download dictionaries unless explicitly called for"/>
-    <conf name="ipadic" description="ipadic dictionary" transitive="false"/>
-    <conf name="naist" description="naist-jdic dictionary" transitive="false"/>
-  </configurations>
-
-  <dependencies>
-    <dependency org="mecab" name="mecab-ipadic" rev="${/mecab/mecab-ipadic}" conf="ipadic"> 
-      <artifact name="ipadic" type=".tar.gz" url="https://jaist.dl.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz"/>
-    </dependency>
-    <dependency org="mecab" name="mecab-naist-jdic" rev="${/mecab/mecab-naist-jdic}" conf="naist">
-      <artifact name="mecab-naist-jdic" type=".tar.gz" url=" https://rwthaachen.dl.osdn.jp/naist-jdic/53500/mecab-naist-jdic-0.6.3b-20111013.tar.gz"/>
-    </dependency>
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/>
-  </dependencies>
-</ivy-module>
diff --git a/lucene/analysis/morfologik/build.xml b/lucene/analysis/morfologik/build.xml
deleted file mode 100644
index fca0622..0000000
--- a/lucene/analysis/morfologik/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-morfologik" default="default">
-  <description>
-    Analyzer for dictionary stemming, built-in Polish dictionary
-  </description>
-
-  <import file="../analysis-module-build.xml"/>
-
-  <path id="classpath">
-    <pathelement path="${analyzers-common.jar}"/>
-    <fileset dir="lib"/>
-    <path refid="base.classpath"/>
-  </path>
-  
-  
-  <path id="test.classpath">
-    <path refid="test.base.classpath" />
-    <pathelement path="src/test-files" />
-  </path>
-
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core" />
-</project>
diff --git a/lucene/analysis/morfologik/ivy.xml b/lucene/analysis/morfologik/ivy.xml
deleted file mode 100644
index f0cc234..0000000
--- a/lucene/analysis/morfologik/ivy.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-morfologik"/>
-  <configurations defaultconfmapping="compile->master">
-    <conf name="compile" transitive="false"/>
-  </configurations>
-  <dependencies>
-    <dependency org="org.carrot2" name="morfologik-polish" rev="${/org.carrot2/morfologik-polish}" conf="compile"/>
-    <dependency org="org.carrot2" name="morfologik-fsa" rev="${/org.carrot2/morfologik-fsa}" conf="compile"/>
-    <dependency org="org.carrot2" name="morfologik-stemming" rev="${/org.carrot2/morfologik-stemming}" conf="compile"/>
-    <dependency org="ua.net.nlp" name="morfologik-ukrainian-search" rev="${/ua.net.nlp/morfologik-ukrainian-search}" conf="compile"/>
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/> 
-  </dependencies>
-</ivy-module>
diff --git a/lucene/analysis/nori/build.xml b/lucene/analysis/nori/build.xml
deleted file mode 100644
index 7d5b0b9..0000000
--- a/lucene/analysis/nori/build.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-nori" default="default" xmlns:ivy="antlib:org.apache.ivy.ant">
-
-  <description>
-    Korean Morphological Analyzer
-  </description>
-
-  <!-- currently whether rat detects this as binary or not
-       is platform dependent?! -->
-  <property name="rat.excludes" value="**/*.txt,**/bocchan.utf-8"/>
-
-  <!-- we don't want to pull in ipadic/naist etc -->
-  <property name="ivy.default.configuration" value="default"/>
-  <import file="../analysis-module-build.xml"/>
-
-  <!-- default configuration for Korean: uses mecab-ko-dic -->
-  <property name="dict.type" value="mecab-ko-dic"/>
-  <property name="dict.version" value="mecab-ko-dic-2.0.3-20170922" />
-
-  <property name="dict.src.file" value="${dict.version}.tar.gz" />
-  <property name="dict.src.dir" value="${build.dir}/${dict.version}" />
-  <property name="dict.encoding" value="utf-8"/>
-  <property name="dict.normalize" value="false"/>
-  <property name="dict.target.dir" location="${resources.dir}"/>
-
-  <available type="dir" file="${build.dir}/${dict.version}" property="mecab-ko.dict.available"/>
-
-  <path id="classpath">
-    <dirset dir="${build.dir}">
-      <include name="classes/java"/>
-    </dirset>
-    <pathelement path="${analyzers-common.jar}"/>
-    <path refid="base.classpath"/>
-  </path>
-
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core" />
-  <target name="download-dict" depends="ivy-availability-check,ivy-fail,ivy-configure" unless="mecab-ko.dict.available">
-    <ivy:retrieve pattern="${build.dir}/${dict.src.file}" conf="${dict.type}" symlink="${ivy.symlink}"/>
-    <!-- TODO: we should checksum too -->
-    <gunzip src="${build.dir}/${dict.src.file}"/>
-    <untar src="${build.dir}/${dict.version}.tar" dest="${build.dir}"/>
-  </target>
-
-  <target name="build-dict" depends="compile, download-dict">
-    <sequential>
-      <delete verbose="true">
-        <fileset dir="${resources.dir}/org/apache/lucene/analysis/ko/dict" includes="**/*"/>
-      </delete>
-      <!-- TODO: optimize the dictionary construction a bit so that you don't need 1G -->
-      <java fork="true" failonerror="true" maxmemory="1g" classname="org.apache.lucene.analysis.ko.util.DictionaryBuilder">
-        <classpath refid="classpath"/>
-        <assertions>
-          <enable package="org.apache.lucene"/>
-        </assertions>
-        <arg value="${dict.src.dir}"/>
-        <arg value="${dict.target.dir}"/>
-        <arg value="${dict.encoding}"/>
-        <arg value="${dict.normalize}"/>
-      </java>
-    </sequential>
-  </target>
-
-  <target name="compile-test" depends="module-build.compile-test"/>
-
-  <target name="regenerate" depends="build-dict"/>
-</project>
diff --git a/lucene/analysis/nori/ivy.xml b/lucene/analysis/nori/ivy.xml
deleted file mode 100644
index 8d32937..0000000
--- a/lucene/analysis/nori/ivy.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-nori"/>
-
-  <configurations defaultconfmapping="mecab-ko-dic->default"> <!-- 'master' conf not available to map to -->
-    <conf name="default" description="explicitly declare this configuration in order to not download dictionaries unless explicitly called for"/>
-    <conf name="mecab-ko-dic" description="mecab-ko dictionary for Korean" transitive="false"/>
-  </configurations>
-
-  <dependencies>
-    <dependency org="mecab" name="mecab-ko-dic" rev="${/mecab/mecab-ko-dic}" conf="mecab-ko-dic">
-      <artifact name="mecab-ko-dic" type=".tar.gz" url="https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.0.3-20170922.tar.gz" />
-    </dependency>
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/>
-  </dependencies>
-</ivy-module>
diff --git a/lucene/analysis/opennlp/build.xml b/lucene/analysis/opennlp/build.xml
deleted file mode 100644
index 04f7eac..0000000
--- a/lucene/analysis/opennlp/build.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-opennlp" default="default">
-
-  <description>
-    OpenNLP Library Integration
-  </description>
-
-  <path id="opennlpjars">
-    <fileset dir="lib"/>
-  </path>
-
-  <property name="test.model.data.dir" location="src/tools/test-model-data"/>
-  <property name="tests.userdir" location="src/test-files"/>
-  <property name="test.model.dir" location="${tests.userdir}/org/apache/lucene/analysis/opennlp"/>
-
-  <import file="../analysis-module-build.xml"/>
-
-  <property name="analysis-extras.conf.dir"
-            location="${common.dir}/../solr/contrib/analysis-extras/src/test-files/analysis-extras/solr/collection1/conf"/>
-
-  <path id="classpath">
-    <pathelement path="${analyzers-common.jar}"/>
-    <path refid="opennlpjars"/>
-    <path refid="base.classpath"/>
-  </path>
-
-  <path id="test.classpath">
-    <path refid="test.base.classpath"/>
-    <pathelement path="${tests.userdir}"/>
-  </path>
-
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core" />
-
-  <!--
-    This does not create real NLP models, just small unencumbered ones for the unit tests.
-    All text taken from reuters corpus.
-    Tags applied with online demos at CCG Urbana-Champaign.
-    -->
-  <target name="train-test-models" description="Train all small test models for unit tests" depends="resolve">
-    <mkdir dir="${test.model.dir}"/>
-    <!-- https://opennlp.apache.org/docs/1.9.0/manual/opennlp.html#tools.sentdetect.training -->
-    <trainModel command="SentenceDetectorTrainer" lang="en" data="sentences.txt" model="en-test-sent.bin"/>
-    <copy file="${test.model.dir}/en-test-sent.bin" todir="${analysis-extras.conf.dir}"/>
-
-    <!-- https://opennlp.apache.org/docs/1.9.0/manual/opennlp.html#tools.tokenizer.training -->
-    <trainModel command="TokenizerTrainer" lang="en" data="tokenizer.txt" model="en-test-tokenizer.bin"/>
-    <copy file="${test.model.dir}/en-test-tokenizer.bin" todir="${analysis-extras.conf.dir}"/>
-
-    <!-- https://opennlp.apache.org/docs/1.9.0/manual/opennlp.html#tools.postagger.training -->
-    <trainModel command="POSTaggerTrainer" lang="en" data="pos.txt" model="en-test-pos-maxent.bin"/>
-
-    <!-- https://opennlp.apache.org/docs/1.9.0/manual/opennlp.html#tools.chunker.training -->
-    <trainModel command="ChunkerTrainerME" lang="en" data="chunks.txt" model="en-test-chunker.bin"/>
-
-    <!-- https://opennlp.apache.org/docs/1.9.0/manual/opennlp.html#tools.namefind.training -->
-    <trainModel command="TokenNameFinderTrainer" lang="en" data="ner.txt" model="en-test-ner.bin">
-      <extra-args>
-        <arg value="-params"/>
-        <arg value="ner_TrainerParams.txt"/>
-      </extra-args>
-    </trainModel>
-    <copy file="${test.model.dir}/en-test-ner.bin" todir="${analysis-extras.conf.dir}"/>
-
-    <!-- https://opennlp.apache.org/docs/1.9.0/manual/opennlp.html#tools.lemmatizer.training -->
-    <trainModel command="LemmatizerTrainerME" lang="en" data="lemmas.txt" model="en-test-lemmatizer.bin"/>
-  </target>
-
-  <macrodef name="trainModel">
-    <attribute name="command"/>
-    <attribute name="lang"/>
-    <attribute name="data"/>
-    <attribute name="model"/>
-    <element name="extra-args" optional="true"/>
-    <sequential>
-      <java classname="opennlp.tools.cmdline.CLI"
-            dir="${test.model.data.dir}"
-            fork="true"
-            failonerror="true">
-        <classpath>
-          <path refid="opennlpjars"/>
-        </classpath>
-
-        <arg value="@{command}"/>
-
-        <arg value="-lang"/>
-        <arg value="@{lang}"/>
-
-        <arg value="-data"/>
-        <arg value="@{data}"/>
-
-        <arg value="-model"/>
-        <arg value="${test.model.dir}/@{model}"/>
-
-        <extra-args/>
-      </java>
-    </sequential>
-  </macrodef>
-
-  <target name="regenerate" depends="train-test-models"/>
-</project>
diff --git a/lucene/analysis/opennlp/ivy.xml b/lucene/analysis/opennlp/ivy.xml
deleted file mode 100644
index cbbae64..0000000
--- a/lucene/analysis/opennlp/ivy.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-opennlp" />
-  <configurations defaultconfmapping="compile->master">
-    <conf name="compile" transitive="false"/>
-  </configurations>
-  <dependencies>
-    <dependency org="org.apache.opennlp" name="opennlp-tools" rev="${/org.apache.opennlp/opennlp-tools}" transitive="false" conf="compile" />
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}" />
-  </dependencies>
-</ivy-module>
diff --git a/lucene/analysis/phonetic/build.xml b/lucene/analysis/phonetic/build.xml
deleted file mode 100644
index 49d5726..0000000
--- a/lucene/analysis/phonetic/build.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-phonetic" default="default">
-
-  <description>
-    Analyzer for indexing phonetic signatures (for sounds-alike search)
-  </description>
-
-  <import file="../analysis-module-build.xml"/>
-
-  <path id="classpath">
-    <pathelement path="${analyzers-common.jar}"/>
-    <fileset dir="lib"/>
-    <path refid="base.classpath"/>
-  </path>
-
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core" />
-</project>
diff --git a/lucene/analysis/phonetic/ivy.xml b/lucene/analysis/phonetic/ivy.xml
deleted file mode 100644
index df7d800..0000000
--- a/lucene/analysis/phonetic/ivy.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-phonetic"/>
-  <configurations defaultconfmapping="compile->master">
-    <conf name="compile" transitive="false"/>
-  </configurations>
-  <dependencies>
-    <dependency org="commons-codec" name="commons-codec" rev="${/commons-codec/commons-codec}" conf="compile"/>
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/> 
-  </dependencies>
-</ivy-module>
diff --git a/lucene/analysis/smartcn/build.xml b/lucene/analysis/smartcn/build.xml
deleted file mode 100644
index 01e0682..0000000
--- a/lucene/analysis/smartcn/build.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-smartcn" default="default">
-
-  <description>
-    Analyzer for indexing Chinese
-  </description>
-
-  <import file="../analysis-module-build.xml"/>
-
-  <path id="classpath">
-    <pathelement path="${analyzers-common.jar}"/>
-    <path refid="base.classpath"/>
-  </path>
-
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core" />
-</project>
diff --git a/lucene/analysis/smartcn/ivy.xml b/lucene/analysis/smartcn/ivy.xml
deleted file mode 100644
index 842688d..0000000
--- a/lucene/analysis/smartcn/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-smartcn"/>
-</ivy-module>
diff --git a/lucene/analysis/stempel/build.xml b/lucene/analysis/stempel/build.xml
deleted file mode 100644
index 64a823a..0000000
--- a/lucene/analysis/stempel/build.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="analyzers-stempel" default="default">
-
-  <description>
-    Analyzer for indexing Polish
-  </description>
-
-  <import file="../analysis-module-build.xml"/>
-
-  <path id="classpath">
-    <pathelement path="${analyzers-common.jar}"/>
-    <path refid="base.classpath"/>
-  </path>
-  
-  <target name="compile-core" depends="jar-analyzers-common, common.compile-core"/>
-</project>
diff --git a/lucene/analysis/stempel/ivy.xml b/lucene/analysis/stempel/ivy.xml
deleted file mode 100644
index afccee3..0000000
--- a/lucene/analysis/stempel/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="analyzers-stempel"/>
-</ivy-module>
diff --git a/lucene/backward-codecs/build.xml b/lucene/backward-codecs/build.xml
deleted file mode 100644
index 3de2979..0000000
--- a/lucene/backward-codecs/build.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-  -->
-
-<project name="backward-codecs" default="default">
-
-  <description>
-    Codecs for older versions of Lucene.
-  </description>
-
-  <import file="../module-build.xml"/>
-
-</project>
diff --git a/lucene/backward-codecs/ivy.xml b/lucene/backward-codecs/ivy.xml
deleted file mode 100644
index fe933f0..0000000
--- a/lucene/backward-codecs/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="backward-codecs"/>
-</ivy-module>
diff --git a/lucene/benchmark/build.xml b/lucene/benchmark/build.xml
deleted file mode 100644
index 2f53ff4..0000000
--- a/lucene/benchmark/build.xml
+++ /dev/null
@@ -1,289 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="benchmark" default="default">
-
-    <description>
-      System for benchmarking Lucene
-    </description>
-
-    <import file="../module-build.xml"/>
-    <property name="working.dir" location="work"/>
-
-    <!-- benchmark creates lots of sysout stuff, so dont run forbidden! -->
-    <target name="-check-forbidden-sysout"/>
-
-    <target name="check-files">
-        <available file="temp/news20.tar.gz" property="news20.exists"/>
-
-        <available file="${working.dir}/20_newsgroup" property="news20.expanded"/>
-
-        <available file="temp/reuters21578.tar.gz" property="reuters.exists"/>
-        <available file="${working.dir}/reuters" property="reuters.expanded"/>
-        <available file="${working.dir}/reuters-out" property="reuters.extracted"/>
-        <available file="temp/20news-18828.tar.gz" property="20news-18828.exists"/>
-        <available file="${working.dir}/20news-18828" property="20news-18828.expanded"/>
-        <available file="${working.dir}/mini_newsgroups" property="mini.expanded"/>
-        <available file="temp/allCountries.txt.bz2" property="geonames.exists"/>
-        <available file="${working.dir}/geonames" property="geonames.expanded"/>
-        
-        <available file="temp/enwiki-20070527-pages-articles.xml.bz2" property="enwiki.exists"/>
-        <available file="temp/enwiki-20070527-pages-articles.xml" property="enwiki.expanded"/>
-        <available file="${working.dir}/enwiki.txt" property="enwiki.extracted"/>
-      <available file="temp/${top.100k.words.archive.filename}"
-                   property="top.100k.words.archive.present"/>
-      <available file="${working.dir}/top100k-out" 
-                   property="top.100k.word.files.expanded"/>
-    </target>
-
-    <target name="enwiki-files" depends="check-files">
-        <mkdir dir="temp"/>
-        <antcall target="get-enwiki"/>
-        <antcall target="expand-enwiki"/>
-    </target>
-
-    <target name="get-enwiki" unless="enwiki.exists">
-        <get src="https://home.apache.org/~dsmiley/data/enwiki-20070527-pages-articles.xml.bz2"
-             dest="temp/enwiki-20070527-pages-articles.xml.bz2"/>
-    </target>
-
-    <target name="expand-enwiki"  unless="enwiki.expanded">
-        <bunzip2 src="temp/enwiki-20070527-pages-articles.xml.bz2" dest="temp"/>
-    </target>
-
-    <target name="geonames-files" depends="check-files" description="Get data for spatial.alg">
-        <mkdir dir="temp"/>
-        <antcall target="get-geonames"/>
-        <antcall target="expand-geonames"/>
-    </target>
-
-    <target name="get-geonames" unless="geonames.exists">
-        <!-- note: latest data is at: https://download.geonames.org/export/dump/allCountries.zip
-         and then randomize with: gsort -R -S 1500M file.txt > file_random.txt
-         and then compress with: bzip2 -9 -k file_random.txt -->
-      <get src="https://home.apache.org/~dsmiley/data/geonames_20130921_randomOrder_allCountries.txt.bz2"
-             dest="temp/allCountries.txt.bz2"/>
-    </target>
-
-    <target name="expand-geonames" unless="geonames.expanded">
-        <mkdir dir="${working.dir}/geonames"/>
-        <bunzip2 src="temp/allCountries.txt.bz2" dest="${working.dir}/geonames"/>
-    </target>
-
-    <target name="get-news-20" unless="20news-18828.exists">
-        <get src="https://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/data/news20.tar.gz"
-             dest="temp/news20.tar.gz"/>
-
-    </target>
-    <target name="get-reuters" unless="reuters.exists">
-        <!-- Please note: there is no HTTPS url. As this is only test data, we don't care: -->
-        <get src="http://www.daviddlewis.com/resources/testcollections/reuters21578/reuters21578.tar.gz"
-            dest="temp/reuters21578.tar.gz"/>
-    </target>
-
-    <target name="expand-news-20"  unless="news20.expanded">
-        <gunzip src="temp/news20.tar.gz" dest="temp"/>
-        <untar src="temp/news20.tar" dest="${working.dir}"/>
-    </target>
-    <target name="expand-reuters" unless="reuters.expanded">
-        <gunzip src="temp/reuters21578.tar.gz" dest="temp"/>
-        <mkdir dir="${working.dir}/reuters"/>
-        <untar src="temp/reuters21578.tar" dest="${working.dir}/reuters"/>
-        <delete >
-            <fileset dir="${working.dir}/reuters">
-                <include name="*.txt"/>
-            </fileset>
-        </delete>
-
-    </target>
-    <target name="extract-reuters" depends="check-files" unless="reuters.extracted">
-        <java classname="org.apache.lucene.benchmark.utils.ExtractReuters" maxmemory="1024M" fork="true">
-            <classpath refid="run.classpath"/>
-            <arg file="${working.dir}/reuters"/>
-            <arg file="${working.dir}/reuters-out"/>
-        </java>
-    </target>
-    <target name="get-20news-18828" unless="20news-18828.exists">
-        <!-- TODO: URL no longer works (404 Not found): -->
-        <get src="https://people.csail.mit.edu/u/j/jrennie/public_html/20Newsgroups/20news-18828.tar.gz"
-             dest="temp/20news-18828.tar.gz"/>
-
-    </target>
-    <target name="expand-20news-18828" unless="20news-18828.expanded">
-        <gunzip src="temp/20news-18828.tar.gz" dest="temp"/>
-        <untar src="temp/20news-18828.tar" dest="${working.dir}"/>
-    </target>
-    <target name="get-mini-news" unless="mini.exists">
-        <get src="https://kdd.ics.uci.edu/databases/20newsgroups/mini_newsgroups.tar.gz"
-             dest="temp/mini_newsgroups.tar.gz"/>
-    </target>
-    <target name="expand-mini-news" unless="mini.expanded">
-        <gunzip src="temp/mini_newsgroups.tar.gz" dest="temp"/>
-        <untar src="temp/mini_newsgroups.tar" dest="${working.dir}"/>
-    </target>
-
-  <property name="top.100k.words.archive.filename" 
-            value="top.100k.words.de.en.fr.uk.wikipedia.2009-11.tar.bz2"/>
-  <property name="top.100k.words.archive.base.url"
-            value="https://home.apache.org/~rmuir/wikipedia"/>
-  <target name="get-top-100k-words-archive" unless="top.100k.words.archive.present">
-    <mkdir dir="temp"/>
-      <get src="${top.100k.words.archive.base.url}/${top.100k.words.archive.filename}"
-           dest="temp/${top.100k.words.archive.filename}"/>
-  </target>
-  <target name="expand-top-100k-word-files" unless="top.100k.word.files.expanded">
-    <mkdir dir="${working.dir}/top100k-out"/>
-      <untar src="temp/${top.100k.words.archive.filename}"
-             overwrite="true" compression="bzip2" dest="${working.dir}/top100k-out"/>
-  </target>
-  
-  <target name="top-100k-wiki-word-files" depends="check-files">
-    <mkdir dir="${working.dir}"/>
-    <antcall target="get-top-100k-words-archive"/>
-    <antcall target="expand-top-100k-word-files"/>
-  </target>
-  
-    <target name="get-files" depends="check-files">
-        <mkdir dir="temp"/>
-        <antcall target="get-reuters"/>
-        <antcall target="expand-reuters"/>
-        <antcall target="extract-reuters"/>
-    </target>
-
-    <path id="classpath">
-      <pathelement path="${memory.jar}"/>
-      <pathelement path="${highlighter.jar}"/>
-      <pathelement path="${analyzers-common.jar}"/>
-      <pathelement path="${queryparser.jar}"/>
-      <pathelement path="${facet.jar}"/>
-      <pathelement path="${spatial-extras.jar}"/>
-      <pathelement path="${queries.jar}"/>
-      <pathelement path="${codecs.jar}"/>
-      <pathelement path="${join.jar}"/>
-      <path refid="base.classpath"/>
-      <fileset dir="lib"/>
-    </path>
-    <path id="run.classpath">
-        <path refid="classpath"/>
-        <pathelement location="${build.dir}/classes/java"/>
-        <pathelement path="${benchmark.ext.classpath}"/>
-    </path>
-
-    <target name="javadocs" depends="javadocs-memory,javadocs-highlighter,javadocs-analyzers-common,
-      javadocs-queryparser,javadocs-facet,javadocs-spatial-extras,compile-core,check-javadocs-uptodate"
-            unless="javadocs-uptodate-${name}">
-    <invoke-module-javadoc>
-      <links>
-        <link href="../memory"/>
-        <link href="../highlighter"/>
-        <link href="../analyzers-common"/>
-        <link href="../queryparser"/>
-        <link href="../facet"/>
-        <link href="../spatial-extras"/>
-      </links>
-    </invoke-module-javadoc>
-    </target>
-
-    <property name="task.alg" location="conf/micro-standard.alg"/>
-    <property name="task.mem" value="140M"/>
-
-    <target name="run-task" depends="compile,check-files,get-files" 
-     description="Run compound penalty perf test (optional: -Dtask.alg=your-algorithm-file -Dtask.mem=java-max-mem)">
-        <echo>Working Directory: ${working.dir}</echo>
-        <java classname="org.apache.lucene.benchmark.byTask.Benchmark" maxmemory="${task.mem}" fork="true">
-            <classpath refid="run.classpath"/>
-            <arg file="${task.alg}"/>
-        </java>
-    </target>
-
-    <target name="enwiki" depends="compile,check-files,enwiki-files">
-        <echo>Working Directory: ${working.dir}</echo>
-        <java classname="org.apache.lucene.benchmark.byTask.Benchmark" maxmemory="1024M" fork="true">
-            <assertions>
-              <enable/>
-            </assertions>
-            <classpath refid="run.classpath"/>
-            <arg file="conf/extractWikipedia.alg"/>
-        </java>
-    </target>
-
-  <property name="collation.alg.file" location="conf/collation.alg"/>
-  <property name="collation.output.file" 
-            value="${working.dir}/collation.benchmark.output.txt"/>
-  <property name="collation.jira.output.file" 
-            value="${working.dir}/collation.bm2jira.output.txt"/>
-  
-  <path id="collation.runtime.classpath">
-    <path refid="run.classpath"/>
-      <pathelement path="${analyzers-icu.jar}"/>
-  </path>
-  
-  <target name="collation" depends="compile,jar-analyzers-icu,top-100k-wiki-word-files">
-      <echo>Running benchmark with alg file: ${collation.alg.file}</echo>
-      <java fork="true" classname="org.apache.lucene.benchmark.byTask.Benchmark" 
-            maxmemory="${task.mem}" output="${collation.output.file}">
-        <classpath refid="collation.runtime.classpath"/>
-        <arg file="${collation.alg.file}"/>
-      </java>
-      <echo>Benchmark output is in file: ${collation.output.file}</echo>
-      <echo>Converting to JIRA table format...</echo>
-      <exec executable="${perl.exe}" output="${collation.jira.output.file}" failonerror="true">
-        <arg value="-CSD"/>
-        <arg value="scripts/collation.bm2jira.pl"/>
-        <arg value="${collation.output.file}"/>
-      </exec>
-      <echo>Benchmark output in JIRA table format is in file: ${collation.jira.output.file}</echo>
-  </target>
-  
-    <property name="shingle.alg.file" location="conf/shingle.alg"/>
-    <property name="shingle.output.file" 
-              value="${working.dir}/shingle.benchmark.output.txt"/>
-    <property name="shingle.jira.output.file" 
-              value="${working.dir}/shingle.bm2jira.output.txt"/>
-  
-    <path id="shingle.runtime.classpath">
-      <path refid="run.classpath"/>
-    </path>
-  
-    <target name="shingle" depends="compile,get-files">
-      <echo>Running benchmark with alg file: ${shingle.alg.file}</echo>
-      <java fork="true" classname="org.apache.lucene.benchmark.byTask.Benchmark" 
-            maxmemory="${task.mem}" output="${shingle.output.file}">
-        <classpath refid="run.classpath"/>
-        <arg file="${shingle.alg.file}"/>
-      </java>
-      <echo>Benchmark output is in file: ${shingle.output.file}</echo>
-      <echo>Converting to JIRA table format...</echo>
-      <exec executable="${perl.exe}" output="${shingle.jira.output.file}" failonerror="true">
-        <arg value="-CSD"/>
-        <arg value="scripts/shingle.bm2jira.pl"/>
-        <arg value="${shingle.output.file}"/>
-      </exec>
-      <echo>Benchmark output in JIRA table format is in file: ${shingle.jira.output.file}</echo>
-    </target>
-
-    <target name="init" depends="module-build.init,jar-memory,jar-highlighter,jar-analyzers-common,jar-queryparser,jar-facet,jar-spatial-extras,jar-codecs,jar-join"/>
-  
-    <target name="compile-test" depends="copy-alg-files-for-testing,module-build.compile-test"/>
-    <target name="copy-alg-files-for-testing" description="copy .alg files as resources for testing">
-      <copy todir="${build.dir}/classes/test/conf">
-        <fileset dir="conf"/>
-      </copy>
-    </target>
-</project>
diff --git a/lucene/benchmark/ivy.xml b/lucene/benchmark/ivy.xml
deleted file mode 100644
index 23c208c..0000000
--- a/lucene/benchmark/ivy.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="benchmark"/>
-  <configurations defaultconfmapping="compile->master">
-    <conf name="compile" transitive="false"/>
-  </configurations>
-  <dependencies>
-    <dependency org="org.apache.commons" name="commons-compress" rev="${/org.apache.commons/commons-compress}" conf="compile"/>
-    <dependency org="xerces" name="xercesImpl" rev="${/xerces/xercesImpl}" conf="compile"/>
-    <dependency org="net.sourceforge.nekohtml" name="nekohtml" rev="${/net.sourceforge.nekohtml/nekohtml}" conf="compile"/>
-    <dependency org="com.ibm.icu" name="icu4j" rev="${/com.ibm.icu/icu4j}" conf="compile"/>
-    <dependency org="org.locationtech.spatial4j" name="spatial4j" rev="${/org.locationtech.spatial4j/spatial4j}" conf="compile"/>
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/> 
-  </dependencies>
-</ivy-module>
diff --git a/lucene/build.xml b/lucene/build.xml
deleted file mode 100644
index a5e17ad..0000000
--- a/lucene/build.xml
+++ /dev/null
@@ -1,586 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="lucene" default="default" basedir="."
-         xmlns:jacoco="antlib:org.jacoco.ant"
-         xmlns:artifact="antlib:org.apache.maven.artifact.ant">
-
-  <import file="common-build.xml"/>
-
-  <path id="classpath">
-    <pathelement location="${common.dir}/build/core/classes/java"/>
-  </path>
-
-  <patternset id="binary.build.dist.patterns"
-              includes="docs/,**/*.jar,**/*.war"
-              excludes="poms/**,**/*-src.jar,**/*-javadoc.jar"
-  />
-  <patternset id="binary.root.dist.patterns"
-              includes="LICENSE.txt,NOTICE.txt,README.md,
-                        MIGRATE.md,JRE_VERSION_MIGRATION.md,
-                        SYSTEM_REQUIREMENTS.md,
-                        CHANGES.txt,
-                        **/lib/*.jar,
-                        licenses/**,
-                        */docs/,**/README*"
-              excludes="build/**,site/**,tools/**,**/lib/*servlet-api*.jar,dev-docs/**"
-  />
-
-  <!-- ================================================================== -->
-  <!-- Prepares the build directory                                       -->
-  <!-- ================================================================== -->
-
-  <target name="test-core" description="Runs unit tests for the core Lucene code">
-    <ant dir="${common.dir}/core" target="test" inheritAll="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-  </target>
-
-  <!-- "-clover.load" is *not* a useless dependency. do not remove -->
-  <target name="test" depends="-clover.load, -init-totals, test-core, test-test-framework, test-modules, -check-totals"
-          description="Runs all unit tests (core, modules and back-compat)"
-  />
-  <target name="test-nocompile">
-    <fail message="Target 'test-nocompile' will not run recursively.  First change directory to the module you want to test."/>
-  </target>
-
-
-  <target name="pitest" depends="pitest-modules"
-          description="Runs pitests (core, modules and back-compat)"
-  />
-
-  <target name="beast">
-    <fail message="The Beast only works inside of individual modules"/>
-  </target>
-
-  <target name="compile-core" depends="compile-lucene-core"/>
-
-  <!-- lucene/test-framework is excluded from compilation -->
-  <target name="compile" depends="init,compile-lucene-core,compile-codecs"
-          description="Compiles core, codecs, and all modules">
-    <modules-crawl target="compile-core"/>
-  </target>
-
-  <!-- Validation (license/notice/api checks). -->
-  <target name="validate" depends="check-licenses,rat-sources,check-forbidden-apis" description="Validate stuff." />
-
-  <!-- Validation here depends on compile-tools: but we want to compile modules' tools too -->
-  <target name="compile-tools" depends="common.compile-tools">
-    <modules-crawl target="compile-tools"/>
-  </target>
-
-  <target name="check-licenses" depends="compile-tools,resolve,load-custom-tasks" description="Validate license stuff.">
-    <property name="skipRegexChecksum" value=""/>
-    <license-check-macro dir="${basedir}" licensedir="${common.dir}/licenses">
-      <additional-filters>
-        <replaceregex pattern="^jetty([^/]+)$" replace="jetty" flags="gi" />
-        <replaceregex pattern="slf4j-([^/]+)$" replace="slf4j" flags="gi" />
-        <replaceregex pattern="javax\.servlet([^/]+)$" replace="javax.servlet" flags="gi" />
-        <replaceregex pattern="(bcmail|bcprov)-([^/]+)$" replace="\1" flags="gi" />
-      </additional-filters>
-    </license-check-macro>
-  </target>
-
-  <target name="check-lib-versions" depends="compile-tools,resolve,load-custom-tasks"
-          description="Verify that the '/org/name' keys in ivy-versions.properties are sorted lexically and are neither duplicates nor orphans, and that all dependencies in all ivy.xml files use rev=&quot;$${/org/name}&quot; format.">
-    <lib-versions-check-macro dir="${common.dir}/.."
-                              centralized.versions.file="${common.dir}/ivy-versions.properties"
-                              top.level.ivy.settings.file="${common.dir}/top-level-ivy-settings.xml"
-                              ivy.resolution-cache.dir="${ivy.resolution-cache.dir}"
-                              ivy.lock-strategy="${ivy.lock-strategy}"
-                              common.build.dir="${common.build.dir}"
-                              ignore.conflicts.file="${common.dir}/ivy-ignore-conflicts.properties"/>
-  </target>
-
-  <!-- -install-forbidden-apis is *not* a useless dependency. do not remove -->
-  <target name="check-forbidden-apis" depends="-install-forbidden-apis" description="Check forbidden API calls in compiled class files">
-    <subant target="check-forbidden-apis" failonerror="true" inheritall="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-      <fileset dir="core" includes="build.xml"/>
-      <fileset dir="test-framework" includes="build.xml"/>
-      <fileset dir="tools" includes="build.xml"/>
-    </subant>
-    <modules-crawl target="check-forbidden-apis"/>
-  </target>
-
-  <target name="resolve">
-    <sequential>
-      <ant dir="test-framework" target="resolve" inheritall="false">
-         <propertyset refid="uptodate.and.compiled.properties"/>
-      </ant>
-      <ant dir="${common.dir}/tools" target="resolve" inheritAll="false">
-         <propertyset refid="uptodate.and.compiled.properties"/>
-      </ant>
-      <modules-crawl target="resolve"/>
-    </sequential>
-  </target>
-
-  <target name="documentation" description="Generate all documentation"
-    depends="javadocs,changes-to-html,process-webpages"/>
-  <target name="javadoc" depends="javadocs"/>
-  <target name="javadocs" description="Generate javadoc" depends="javadocs-lucene-core, javadocs-modules, javadocs-test-framework"/>
-
-  <target name="documentation-lint" depends="-ecj-javadoc-lint,-documentation-lint-unsupported" if="documentation-lint.supported"
-          description="Validates the generated documentation (HTML errors, broken links,...)">
-    <!-- we use antcall here, otherwise ANT will run all dependent targets: -->
-    <antcall target="-documentation-lint"/>
-  </target>
-
-  <!-- we check for broken links across all documentation -->
-  <target name="-documentation-lint" depends="documentation">
-    <echo message="Checking for broken links..."/>
-    <check-broken-links dir="build/docs"/>
-    <echo message="Checking for missing docs..."/>
-    <!-- TODO: change this level=method -->
-    <check-missing-javadocs dir="build/docs" level="class"/>
-    <!-- too many classes to fix overall to just enable
-         the above to be level="method" right now, but we
-         can prevent the modules that don't have problems
-         from getting any worse -->
-    <!-- analyzers-common: problems -->
-    <check-missing-javadocs dir="build/docs/analyzers-icu" level="method"/>
-    <!-- analyzers-kuromoji: problems -->
-    <check-missing-javadocs dir="build/docs/analyzers-morfologik" level="method"/>
-    <check-missing-javadocs dir="build/docs/analyzers-phonetic" level="method"/>
-    <!-- analyzers-smartcn: problems -->
-    <check-missing-javadocs dir="build/docs/analyzers-stempel" level="method"/>
-    <!-- benchmark: problems -->
-    <check-missing-javadocs dir="build/docs/classification" level="method"/>
-    <!-- codecs: problems -->
-    <!-- core: problems -->
-    <check-missing-javadocs dir="build/docs/demo" level="method"/>
-    <check-missing-javadocs dir="build/docs/expressions" level="method"/>
-    <check-missing-javadocs dir="build/docs/facet" level="method"/>
-    <!-- grouping: problems -->
-    <!-- highlighter: problems -->
-    <check-missing-javadocs dir="build/docs/join" level="method"/>
-    <check-missing-javadocs dir="build/docs/memory" level="method"/>
-    <!-- misc: problems -->
-    <!-- queries: problems -->
-    <!-- queryparser: problems -->
-    <!-- sandbox: problems -->
-    <!-- spatial-extras: problems -->
-    <check-missing-javadocs dir="build/docs/suggest" level="method"/>
-    <!-- test-framework: problems -->
-
-    <!-- too much to fix core/ for now, but enforce full javadocs for key packages -->
-    <check-missing-javadocs dir="build/docs/core/org/apache/lucene/util/automaton" level="method"/>
-    <check-missing-javadocs dir="build/docs/core/org/apache/lucene/analysis" level="method"/>
-    <check-missing-javadocs dir="build/docs/core/org/apache/lucene/document" level="method"/>
-    <check-missing-javadocs dir="build/docs/core/org/apache/lucene/search/similarities" level="method"/>
-    <check-missing-javadocs dir="build/docs/core/org/apache/lucene/index" level="method"/>
-    <check-missing-javadocs dir="build/docs/core/org/apache/lucene/codecs" level="method"/>
-
-    <check-missing-javadocs dir="build/docs/spatial3d" level="method"/>
-  </target>
-  
-  <target name="-ecj-javadoc-lint" depends="compile,compile-test,-ecj-javadoc-lint-unsupported,-ecj-resolve" if="ecj-javadoc-lint.supported">
-    <subant target="-ecj-javadoc-lint" failonerror="true" inheritall="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-      <fileset dir="core" includes="build.xml"/>
-      <fileset dir="test-framework" includes="build.xml"/>
-    </subant>
-    <modules-crawl target="-ecj-javadoc-lint"/>
-  </target>
-
-  <target name="process-webpages" depends="resolve-markdown">
-    <makeurl property="process-webpages.buildfiles" separator="|">
-      <fileset dir="." includes="**/build.xml" excludes="build.xml,analysis/*,build/**,tools/**,site/**"/>
-    </makeurl>
-    <property name="Codec.java" location="core/src/java/org/apache/lucene/codecs/Codec.java"/>
-    <loadfile srcfile="${Codec.java}" property="defaultCodec" encoding="UTF-8">
-      <filterchain>
-        <!--  private static Codec defaultCodec   =   LOADER    .   lookup    (   "LuceneXXX"                 )   ; -->
-        <containsregex pattern="^.*defaultCodec\s*=\s*LOADER\s*\.\s*lookup\s*\(\s*&quot;([^&quot;]+)&quot;\s*\)\s*;.*$" replace="\1"/>
-        <fixcrlf eol="unix" eof="remove" />
-        <deletecharacters chars="\n"/>
-      </filterchain>
-    </loadfile>
-
-    <!--
-      The XSL input file is ignored completely, but XSL expects one to be given,
-      so we pass ourself (${ant.file}) here. The list of module build.xmls is given
-      via string parameter, that must be splitted by the XSL at '|'.
-    --> 
-    <xslt in="${ant.file}" out="${javadoc.dir}/index.html" style="site/xsl/index.xsl" force="true">
-      <outputproperty name="method" value="html"/>
-      <outputproperty name="version" value="4.0"/>
-      <outputproperty name="encoding" value="UTF-8"/>
-      <outputproperty name="indent" value="yes"/>
-      <param name="buildfiles" expression="${process-webpages.buildfiles}"/>
-      <param name="version" expression="${version}"/>
-      <param name="defaultCodec" expression="${defaultCodec}"/>
-    </xslt>
-    
-    <markdown todir="${javadoc.dir}">
-      <fileset dir="." includes="MIGRATE.md,JRE_VERSION_MIGRATION.md,SYSTEM_REQUIREMENTS.md"/>
-      <globmapper from="*.md" to="*.html"/>
-    </markdown>
-
-    <copy todir="${javadoc.dir}">
-      <fileset dir="site/html"/>
-    </copy>
-  </target>
-  
-  <target name="javadocs-modules" description="Generate javadoc for modules classes">
-    <modules-crawl target="javadocs"/>
-  </target>
-
-  <!-- rat-sources-typedef is *not* a useless dependency. do not remove -->
-  <target name="rat-sources" depends="rat-sources-typedef,common.rat-sources">
-    <subant target="rat-sources" failonerror="true" inheritall="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-      <fileset dir="core" includes="build.xml"/>
-      <fileset dir="test-framework" includes="build.xml"/>
-      <fileset dir="tools" includes="build.xml"/>
-    </subant>
-    <modules-crawl target="rat-sources"/>
-  </target>
-
-  <!-- ================================================================== -->
-  <!-- D I S T R I B U T I O N                                            -->
-  <!-- ================================================================== -->
-  <!--                                                                    -->
-  <!-- ================================================================== -->
-  <target name="package" depends="jar-core, jar-test-framework, build-modules, init-dist, documentation"/>
-
-  <target name="nightly" depends="test, package-tgz">
-  </target>
-
-  <!-- ================================================================== -->
-  <!-- Packages the distribution with zip                                 -->
-  <!-- ================================================================== -->
-  <!--                                                                    -->
-  <!-- ================================================================== -->
-  <target name="package-zip" depends="package"
-    description="--> Generates the Lucene distribution as .zip">
-
-    <delete file="${dist.dir}/lucene-${version}.zip"/>
-    <zip destfile="${dist.dir}/lucene-${version}.zip">
-      <zipfileset prefix="lucene-${version}" dir=".">
-        <patternset refid="binary.root.dist.patterns"/>
-      </zipfileset>
-      <zipfileset prefix="lucene-${version}" dir="${build.dir}">
-        <patternset refid="binary.build.dist.patterns"/>
-      </zipfileset>
-      <zipfileset prefix="lucene-${version}" dir="${build.dir}" includes="**/*.sh,**/*.bat" filemode="755"/>
-    </zip>
-    <make-checksums file="${dist.dir}/lucene-${version}.zip"/>
-  </target>
-
-  <!-- ================================================================== -->
-  <!-- packages the distribution with tar-gzip                            -->
-  <!-- ================================================================== -->
-  <!--                                                                    -->
-  <!-- ================================================================== -->
-
-  <!-- TODO: fix this stuff to not be a duplicate of the zip logic above! -->
-  <target name="package-tgz" depends="package"
-    description="--> Generates the lucene distribution as .tgz">
-
-    <delete file="${dist.dir}/lucene-${version}.tgz"/>
-    <tar tarfile="${dist.dir}/lucene-${version}.tgz"
-      longfile="gnu" compression="gzip">
-      <tarfileset prefix="lucene-${version}" dir=".">
-        <patternset refid="binary.root.dist.patterns"/>
-      </tarfileset>
-      <tarfileset prefix="lucene-${version}" dir="${build.dir}">
-        <patternset refid="binary.build.dist.patterns"/>
-      </tarfileset>
-      <tarfileset prefix="lucene-${version}" dir="${build.dir}" includes="**/*.sh,**/*.bat" filemode="755"/>
-    </tar>
-    <make-checksums file="${dist.dir}/lucene-${version}.tgz"/>
-  </target>
-
-  <!-- ================================================================== -->
-  <!-- packages the distribution with zip and tar-gzip                    -->
-  <!-- ================================================================== -->
-  <!--                                                                    -->
-  <!-- ================================================================== -->
-  <target name="package-all-binary" depends="package-zip, package-tgz"
-    description="--> Generates the .tgz and .zip distributions"/>
-
-  <!-- ================================================================== -->
-  <!-- same as package-all. it is just here for compatibility.            -->
-  <!-- ================================================================== -->
-  <!--                                                                    -->
-  <!-- ================================================================== -->
-  <target name="dist" depends="package-all-binary"/>
-
-  <!-- ================================================================== -->
-  <!-- S O U R C E  D I S T R I B U T I O N                               -->
-  <!-- ================================================================== -->
-    <target name="init-dist" >
-
-        <!-- Package is not called first if packaging src standalone, so the dist.dir may not exist -->
-        <mkdir dir="${build.dir}"/>
-        <mkdir dir="${dist.dir}"/>
-        <mkdir dir="${maven.dist.dir}"/>
-    </target>
-
-  <!-- ================================================================== -->
-  <!-- Packages the sources with tar-gzip               -->
-  <!-- ================================================================== -->
-  <target name="package-tgz-src" depends="init-dist"
-          description="--> Generates the Lucene source distribution as .tgz">
-    <property name="source.package.file"
-              location="${dist.dir}/lucene-${version}-src.tgz"/>
-    <delete file="${source.package.file}"/>
-    <export-source source.dir="."/>
-
-    <!-- Exclude javadoc package-list files under licenses incompatible with the ASL -->
-    <delete dir="${src.export.dir}/tools/javadoc/java8"/>
-
-    <!-- because we only package the "lucene/" folder, we have to adjust dir to work on: -->
-    <property name="local.src.export.dir" location="${src.export.dir}/lucene"/>
-    
-    <build-changes changes.src.file="${local.src.export.dir}/CHANGES.txt"
-                   changes.target.dir="${local.src.export.dir}/docs/changes"
-                   changes.product="lucene"/>
-    <tar tarfile="${source.package.file}" compression="gzip" longfile="gnu">
-      <tarfileset prefix="lucene-${version}" dir="${local.src.export.dir}"/>
-    </tar>
-    <make-checksums file="${source.package.file}"/>
-  </target>
-
-
-  <!-- ================================================================== -->
-  <!-- Packages the sources from local working copy with tar-gzip     -->
-  <!-- ================================================================== -->
-  <target name="package-local-src-tgz" depends="init-dist"
-    description="--> Packages the Lucene source from the local working copy">
-    <mkdir dir="${common.dir}/build"/>
-    <property name="source.package.file"
-              value="${common.dir}/build/lucene-${version}-src.tgz"/>
-    <delete file="${source.package.file}"/>
-    <tar tarfile="${source.package.file}" compression="gzip" longfile="gnu">
-      <tarfileset prefix="lucene-${version}" dir=".">
-        <patternset refid="lucene.local.src.package.patterns"/>
-      </tarfileset>
-    </tar>
-  </target>
-
-  <!-- ================================================================== -->
-  <!-- same as package-tgz-src. it is just here for compatibility.        -->
-  <!-- ================================================================== -->
-  <target name="dist-src" depends="package-tgz-src"/>
-
-  <target name="dist-all" depends="dist, dist-src, -dist-changes"/>
-
-  <!-- copy changes/ to the release folder -->
-  <target name="-dist-changes">
-   <copy todir="${dist.dir}/changes">
-     <fileset dir="${build.dir}/docs/changes"/>
-   </copy>
-  </target>
-
-  <target name="prepare-release-no-sign" depends="clean, dist-all, generate-maven-artifacts"/>
-  <target name="prepare-release" depends="prepare-release-no-sign, sign-artifacts"/>
-
-  <target name="-dist-maven" depends="install-maven-tasks">
-    <sequential>
-      <m2-deploy pom.xml="${filtered.pom.templates.dir}/pom.xml"/>        <!-- Lucene/Solr grandparent POM -->
-      <m2-deploy pom.xml="${filtered.pom.templates.dir}/lucene/pom.xml"/> <!-- Lucene parent POM -->
-      <subant target="-dist-maven" failonerror="true" inheritall="false">
-        <propertyset refid="uptodate.and.compiled.properties"/>
-        <fileset dir="${common.dir}/core" includes="build.xml"/>
-        <fileset dir="${common.dir}/test-framework" includes="build.xml"/>
-      </subant>
-      <modules-crawl target="-dist-maven"/>
-    </sequential>
-  </target>
-
-  <target name="-install-to-maven-local-repo" depends="install-maven-tasks">
-    <sequential>
-      <m2-install pom.xml="${filtered.pom.templates.dir}/pom.xml"/>        <!-- Lucene/Solr grandparent POM -->
-      <m2-install pom.xml="${filtered.pom.templates.dir}/lucene/pom.xml"/> <!-- Lucene parent POM -->
-      <subant target="-install-to-maven-local-repo" failonerror="true" inheritall="false">
-        <propertyset refid="uptodate.and.compiled.properties"/>
-        <fileset dir="${common.dir}/core" includes="build.xml"/>
-        <fileset dir="${common.dir}/test-framework" includes="build.xml"/>
-      </subant>
-      <modules-crawl target="-install-to-maven-local-repo"/>
-    </sequential>
-  </target>
-
-  <target name="generate-maven-artifacts" depends="-unpack-lucene-tgz">
-    <ant dir=".." target="resolve" inheritall="false"/>
-    <antcall target="-filter-pom-templates" inheritall="false"/>
-    <antcall target="-dist-maven" inheritall="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </antcall>
-  </target>
-  
-  <target name="-validate-maven-dependencies" depends="compile-tools, install-maven-tasks, load-custom-tasks">
-    <sequential>
-      <subant target="-validate-maven-dependencies" failonerror="true" inheritall="false">
-        <propertyset refid="uptodate.and.compiled.properties"/>
-        <fileset dir="${common.dir}/core" includes="build.xml"/>
-        <fileset dir="${common.dir}/test-framework" includes="build.xml"/>
-      </subant>
-      
-      <modules-crawl target="-validate-maven-dependencies"/>
-    </sequential>
-  </target>
-  
-  <!-- ================================================================== -->
-  <!-- support for signing the artifacts using gpg                        -->
-  <!-- ================================================================== -->
-  <target name="sign-artifacts">
-    <sign-artifacts-macro artifacts.dir="${dist.dir}"/>
-  </target>
-
-  <target name="build-modules" depends="compile-test"
-          description="Builds all additional modules and their tests">
-    <modules-crawl target="build-artifacts-and-tests"/>
-  </target>
-
-  <target name="compile-test" description="Builds core, codecs, test-framework, and modules tests">
-    <sequential>
-      <ant dir="core" target="compile-test" inheritall="false">
-        <propertyset refid="uptodate.and.compiled.properties"/>
-      </ant>
-      <ant dir="test-framework" target="compile-test" inheritall="false">
-        <propertyset refid="uptodate.and.compiled.properties"/>
-      </ant>
-      <modules-crawl target="compile-test"/>
-    </sequential>
-  </target>
-
-  <target name="test-test-framework">
-      <ant dir="test-framework" target="test" inheritall="false">
-        <propertyset refid="uptodate.and.compiled.properties"/>
-      </ant>
-  </target>
-  
-  <target name="test-modules">
-    <modules-crawl target="test"/>
-  </target>
-
-  <target name="changes-to-html">
-    <build-changes changes.product="lucene"/>
-  </target>
-
-  <target name="pitest-modules" depends="compile-test">
-    <modules-crawl target="pitest" failonerror="false"/>
-  </target>
-
-  <target name="jacoco" description="Generates JaCoCo code coverage reports" depends="-jacoco-install">
-    <!-- run jacoco for each module -->
-    <ant dir="${common.dir}/core" target="jacoco" inheritAll="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-    <ant dir="${common.dir}/test-framework" target="jacoco" inheritAll="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-    <modules-crawl target="jacoco"/>
-
-    <!-- produce aggregate report -->
-    <property name="jacoco.output.dir" location="${jacoco.report.dir}/lucene-all"/>
-    <!-- try to clean output dir to prevent any confusion -->
-    <delete dir="${jacoco.output.dir}" failonerror="false"/>
-    <mkdir dir="${jacoco.output.dir}"/>
-
-    <jacoco:report>
-      <executiondata>
-        <fileset dir="${common.dir}/build" includes="**/jacoco.db"/>
-      </executiondata>
-      <structure name="${Name} aggregate JaCoCo coverage report">
-        <classfiles>
-          <fileset dir="${common.dir}/build">
-             <include name="**/classes/java/**/*.class"/>
-             <exclude name="tools/**"/>
-          </fileset>
-        </classfiles>
-        <!-- TODO: trying to specify source files could maybe work, but would
-             double the size of the reports -->
-      </structure>
-      <html destdir="${jacoco.output.dir}" footer="Copyright ${year} Apache Software Foundation.  All Rights Reserved."/>
-    </jacoco:report>
-  </target>
-
-  <!--
-   Committer helpers
-   -->
-
-  <property name="patch.file" value="${basedir}/../patches/${patch.name}"/>
-  <!-- Apply a patch.  Assumes  patch can be applied in the basedir.
-  -Dpatch.name assumes the patch is located in ${basedir}/../patches/${patch.name}
-  -Dpatch.file means the patch can be located anywhere on the file system
-  -->
-  <target name="apply-patch" depends="clean" description="Apply a patch file.  Set -Dpatch.file, or -Dpatch.name when the patch is in the directory ../patches/">
-    <patch patchfile="${patch.file}" strip="0"/>
-  </target>
-
-  <target name="jar-test-framework">
-    <ant dir="${common.dir}/test-framework" target="jar-core" inheritAll="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-  </target>
-
-  <!-- Override common-build.xml definition to check for the jar already being up-to-date -->
-  <target name="jar-core" depends="check-lucene-core-uptodate,compile-lucene-core" unless="lucene-core.uptodate">
-    <ant dir="${common.dir}/core" target="jar-core" inheritAll="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-    </ant>
-    <property name="core.compiled" value="true"/>
-    <property name="lucene-core.uptodate" value="true"/>
-  </target>
-
-  <target name="jar" depends="jar-core,jar-test-framework"
-          description="Jars core, codecs, test-framework, and all modules">
-    <modules-crawl target="jar-core"/>
-  </target>
-
-  <target name="jar-src" description="create source jars for all modules">
-    <ant dir="${common.dir}/core" target="jar-src" inheritAll="false" />
-    <ant dir="${common.dir}/test-framework" target="jar-src" inheritAll="false" />
-    <modules-crawl target="jar-src"/>
-  </target>
-
-  <target name="get-jenkins-line-docs" unless="enwiki.exists">
-    <sequential>
-      <!-- TODO: can get .lzma instead (it's ~17% smaller) but there's no builtin ant support...? -->
-      <get src="http://home.apache.org/~mikemccand/enwiki.random.lines.txt.bz2"
-           dest="enwiki.random.lines.txt.bz2"/>
-      <bunzip2 src="enwiki.random.lines.txt.bz2" dest="enwiki.random.lines.txt"/>
-    </sequential>
-  </target>
-
-  <target name="jar-checksums" depends="resolve">
-    <jar-checksum-macro srcdir="${common.dir}" dstdir="${common.dir}/licenses"/>
-  </target>
-
-  <target name="regenerate">
-    <subant target="regenerate" failonerror="true" inheritall="false">
-      <propertyset refid="uptodate.and.compiled.properties"/>
-      <fileset dir="core" includes="build.xml"/>
-      <fileset dir="test-framework" includes="build.xml"/>
-    </subant>
-    <modules-crawl target="regenerate"/>
-  </target>
-
-  <target name="-append-module-dependencies-properties">
-    <sequential>
-      <ant dir="core" target="common.-append-module-dependencies-properties" inheritall="false"/>
-      <ant dir="test-framework" target="common.-append-module-dependencies-properties" inheritall="false"/>
-      <modules-crawl target="-append-module-dependencies-properties"/>
-    </sequential>
-  </target>
-</project>
diff --git a/lucene/classification/build.xml b/lucene/classification/build.xml
deleted file mode 100644
index 43bcb4b..0000000
--- a/lucene/classification/build.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="classification" default="default">
-  <description>
-    Classification module for Lucene
-  </description>
-
-  <import file="../module-build.xml"/>
-
-  <path id="classpath">
-    <path refid="base.classpath"/>
-    <pathelement path="${queries.jar}"/>
-    <pathelement path="${grouping.jar}"/>
-    <pathelement path="${analyzers-common.jar}"/>
-  </path>
-
-  <path id="test.classpath">
-    <pathelement path="${analyzers-common.jar}"/>
-    <pathelement location="${codecs.jar}"/>
-    <path refid="test.base.classpath"/>
-  </path>
-
-  <target name="compile-core" depends="jar-grouping,jar-queries,jar-analyzers-common,common.compile-core" />
-
-  <target name="jar-core" depends="common.jar-core" />
-
-  <target name="javadocs" depends="javadocs-grouping,compile-core,check-javadocs-uptodate"
-          unless="javadocs-uptodate-${name}">
-    <invoke-module-javadoc>
-      <links>
-        <link href="../queries"/>
-        <link href="../analyzers-common"/>
-        <link href="../grouping"/>
-      </links>
-    </invoke-module-javadoc>
-  </target>
-
-</project>
diff --git a/lucene/classification/ivy.xml b/lucene/classification/ivy.xml
deleted file mode 100644
index 036c217..0000000
--- a/lucene/classification/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="classification"/>
-</ivy-module>
diff --git a/lucene/codecs/build.xml b/lucene/codecs/build.xml
deleted file mode 100644
index c50af6c..0000000
--- a/lucene/codecs/build.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-  -->
-
-<project name="codecs" default="default">
-  <description>
-    Lucene codecs and postings formats.
-  </description>
-
-  <import file="../module-build.xml"/>
-
-  <target name="-dist-maven" depends="-dist-maven-src-java"/>
-
-  <target name="-install-to-maven-local-repo" depends="-install-src-java-to-maven-local-repo"/>
-</project>
diff --git a/lucene/codecs/ivy.xml b/lucene/codecs/ivy.xml
deleted file mode 100644
index f966fd5..0000000
--- a/lucene/codecs/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="codecs"/>
-</ivy-module>
diff --git a/lucene/core/build.xml b/lucene/core/build.xml
deleted file mode 100644
index 5fa7512..0000000
--- a/lucene/core/build.xml
+++ /dev/null
@@ -1,235 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="core" default="default">
-  <description>Lucene core library</description>
-
-  <property name="build.dir" location="../build/core"/>
-
-  <!-- lucene core can use the minimal JDK profile -->
-  <property name="javac.profile.args" value="-profile compact1"/>
-  <import file="../common-build.xml"/>
-
-  <property name="moman.commit-hash" value="497c90e34e412b6494db6dabf0d95db8034bd325" />
-  <property name="moman.url" value="https://github.com/jpbarrette/moman/archive/${moman.commit-hash}.zip" />
-
-  <path id="classpath"/>
-  
-  <path id="test.classpath">
-    <pathelement location="${common.dir}/build/codecs/classes/java"/>
-    <pathelement location="${common.dir}/build/test-framework/classes/java"/>
-    <path refid="junit-path"/>
-    <pathelement location="${build.dir}/classes/java"/>
-    <pathelement location="${build.dir}/classes/test"/>
-  </path>
-
-  <path id="junit.classpath">
-    <path refid="test.classpath"/>
-  </path>
-
-  <target name="test-core" depends="common.test"/>
-
-  <target name="javadocs-core" depends="javadocs"/>
-  <target name="javadocs" description="Generate javadoc for core classes" 
-          depends="check-javadocs-uptodate" unless="javadocs-uptodate-${name}">
-     <sequential>
-      <mkdir dir="${javadoc.dir}/core"/>
-      <invoke-javadoc destdir="${javadoc.dir}/core" title="${Name} ${version} core API">
-        <sources>
-          <packageset dir="${src.dir}"/>
-          <link href=""/>
-        </sources>
-      </invoke-javadoc>
-      <mkdir dir="${build.dir}"/>
-     <jarify basedir="${javadoc.dir}/core" destfile="${build.dir}/${final.name}-javadoc.jar"/>
-    </sequential>
-  </target>
-
-  <target name="-dist-maven" depends="-dist-maven-src-java"/>
-
-  <target name="-install-to-maven-local-repo" depends="-install-src-java-to-maven-local-repo"/>
-
-  <macrodef name="createLevAutomaton">
-      <attribute name="n"/>
-      <sequential>
-      <exec dir="src/java/org/apache/lucene/util/automaton"
-            executable="${python3.exe}" failonerror="true">
-        <!-- Tell Python not to write any bytecode cache into the filesystem: -->
-        <arg value="-B"/>
-        <arg value="createLevAutomata.py"/>
-        <arg value="@{n}"/>
-        <arg value="True"/>
-        <!-- Hack while transitioning to Gradle build in 9.0 -->
-        <arg value="../../../../../../../../build/core/moman/finenight/python"/>
-      </exec>
-      <exec dir="src/java/org/apache/lucene/util/automaton"
-            executable="${python3.exe}" failonerror="true">
-        <!-- Tell Python not to write any bytecode cache into the filesystem: -->
-        <arg value="-B"/>
-        <arg value="createLevAutomata.py"/>
-        <arg value="@{n}"/>
-        <arg value="False"/>
-        <!-- Hack while transitioning to Gradle build in 9.0 -->
-        <arg value="../../../../../../../../build/core/moman/finenight/python"/>
-      </exec>
-      <fixcrlf srcdir="src/java/org/apache/lucene/util/automaton" includes="*ParametricDescription.java" encoding="UTF-8"/>
-    </sequential>
-  </macrodef>
-
-  <target name="createPackedIntSources">
-    <exec dir="src/java/org/apache/lucene/util/packed"
-          executable="${python3.exe}" failonerror="true">
-      <!-- Tell Python not to write any bytecode cache into the filesystem: -->
-      <arg value="-B"/>
-      <arg value="gen_BulkOperation.py"/>
-    </exec>
-    <exec dir="src/java/org/apache/lucene/util/packed"
-          executable="${python3.exe}" failonerror="true">
-      <!-- Tell Python not to write any bytecode cache into the filesystem: -->
-      <arg value="-B"/>
-      <arg value="gen_Packed64SingleBlock.py"/>
-    </exec>
-    <fixcrlf srcdir="src/java/org/apache/lucene/util/packed" includes="BulkOperation*.java,Packed64SingleBlock.java" encoding="UTF-8"/>
-  </target>
-
-  <target name="createLevAutomata" depends="check-moman,download-moman">
-    <createLevAutomaton n="1"/>
-    <createLevAutomaton n="2"/>
-  </target>
-  
-  <target name="check-moman">
-    <available file="${build.dir}/moman" property="moman.downloaded"/>
-  </target>
-
-  <target name="download-moman" unless="moman.downloaded">
-    <mkdir dir="${build.dir}/moman"/>
-    <get src="${moman.url}" dest="${build.dir}/moman.zip"/>
-    <unzip dest="${build.dir}/moman" src="${build.dir}/moman.zip">
-      <cutdirsmapper dirs="1"/>
-    </unzip>
-    <delete file="${build.dir}/moman.zip"/>
-  </target>
-
-  <target name="regenerate" depends="createLevAutomata,createPackedIntSources,jflex"/>
-  
-  <macrodef name="startLockStressTestClient">
-    <attribute name="clientId"/>
-    <attribute name="lockFactoryImpl"/>
-    <attribute name="lockFactoryDir"/>
-    <sequential>
-      <local name="lockverifyserver.port"/>
-      <groovy><![CDATA[
-        String port;
-        while ((port = System.getProperty("lockverifyserver.port")) == null) {
-          Thread.sleep(10L);
-        }
-        properties["lockverifyserver.port"] = port;
-      ]]></groovy>
-      <java taskname="lockStressTest@{clientId}" fork="true" classpathref="test-lock.classpath" classname="org.apache.lucene.store.LockStressTest" failOnError="true"> 
-        <arg value="@{clientId}"/>
-        <arg value="${lockverifyserver.host}"/>
-        <arg value="${lockverifyserver.port}"/>
-        <arg value="@{lockFactoryImpl}"/>
-        <arg value="@{lockFactoryDir}"/>
-        <arg value="${lockverify.delay}"/>
-        <arg value="${lockverify.count}"/>
-      </java>
-    </sequential>
-  </macrodef>
-  
-  <macrodef name="testLockFactory">
-    <attribute name="lockFactoryImpl"/>
-    <attribute name="lockFactoryDir"/>
-    <sequential>
-      <echo taskname="testLockFactory" message="Testing @{lockFactoryImpl}..."/>
-      <mkdir dir="@{lockFactoryDir}"/>
-      <parallel threadCount="3" failonany="false">
-        <sequential>
-          <!-- the server runs in-process, so we can wait for the sysproperty -->
-          <java taskname="lockVerifyServer" fork="false" classpathref="test-lock.classpath" classname="org.apache.lucene.store.LockVerifyServer" failOnError="true">
-            <arg value="${lockverifyserver.host}"/>
-            <arg value="2"/>
-          </java>
-        </sequential>
-        <sequential>
-          <startLockStressTestClient clientId="1" lockFactoryImpl="@{lockFactoryImpl}" lockFactoryDir="@{lockFactoryDir}" />
-        </sequential>
-        <sequential>
-          <startLockStressTestClient clientId="2" lockFactoryImpl="@{lockFactoryImpl}" lockFactoryDir="@{lockFactoryDir}" />
-        </sequential>
-      </parallel>
-    </sequential>
-  </macrodef>
-  
-  <condition property="-ignore-test-lock-factory">
-    <or>
-      <!-- We ignore our ant-based lock factory test, if user applies test filtering: -->
-      <isset property="tests.class" />
-      <isset property="tests.method" />
-      <!-- Clover seems to deadlock if running instrumented code inside the Ant JVM: -->
-      <isset property="run.clover" />
-    </or>
-  </condition>
-  
-  <target name="test-lock-factory" depends="resolve-groovy,compile-core" unless="-ignore-test-lock-factory"
-    description="Run LockStressTest with multiple JVMs">
-    <property name="lockverifyserver.host" value="127.0.0.1"/>
-    <property name="lockverify.delay" value="1"/>
-    <groovy taskname="lockVerifySetup"><![CDATA[
-      System.clearProperty("lockverifyserver.port"); // make sure it is undefined
-      
-      if (!properties["lockverify.count"]) {
-        int count = Boolean.parseBoolean(properties["tests.nightly"]) ?
-          30000 : 500;
-        count *= Integer.parseInt(properties["tests.multiplier"]);
-        properties["lockverify.count"] = count;
-      }
-      
-      task.log("Configuration properties:");
-      ["lockverify.delay", "lockverify.count"].each {
-        k -> task.log(" " + k + "=" + properties[k]);
-      }
-    ]]></groovy>
-    <path id="test-lock.classpath">
-      <path refid="classpath"/>
-      <pathelement location="${build.dir}/classes/java"/>
-    </path>
-    <testLockFactory lockFactoryImpl="org.apache.lucene.store.NativeFSLockFactory" lockFactoryDir="${build.dir}/lockfactorytest/native" />
-    <testLockFactory lockFactoryImpl="org.apache.lucene.store.SimpleFSLockFactory" lockFactoryDir="${build.dir}/lockfactorytest/simple" />
-  </target>
-  
-  <target name="test" depends="common.test, test-lock-factory"/>
-
-  <target name="clean-jflex">
-    <delete>
-      <fileset dir="src/java/org/apache/lucene/analysis/standard" includes="**/*.java">
-        <containsregexp expression="generated.*by.*JFlex"/>
-      </fileset>
-    </delete>
-  </target>
-
-  <target name="jflex" depends="-install-jflex,clean-jflex,-jflex-StandardAnalyzer"/>
-  
-  <target name="-jflex-StandardAnalyzer" depends="init,-install-jflex">
-    <run-jflex-and-disable-buffer-expansion 
-        dir="src/java/org/apache/lucene/analysis/standard" name="StandardTokenizerImpl"/>
-  </target>
-
-
-</project>
diff --git a/lucene/core/ivy.xml b/lucene/core/ivy.xml
deleted file mode 100644
index bbca9f9..0000000
--- a/lucene/core/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="core"/>
-</ivy-module>
diff --git a/lucene/default-nested-ivy-settings.xml b/lucene/default-nested-ivy-settings.xml
deleted file mode 100644
index 1b1603f..0000000
--- a/lucene/default-nested-ivy-settings.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.
--->
-<ivysettings>
-  <!-- This file is included by default by top-level-ivy-settings.xml,
-       which loads ivy-versions.properties as Ivy variables.          -->
-
-  <settings defaultResolver="default"/>
-
-  <property name="local-maven2-dir" value="${user.home}/.m2/repository/" />
-
-  <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
-  <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
-  <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
-  <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>
-
-  <caches lockStrategy="${ivy.lock-strategy}" resolutionCacheDir="${ivy.resolution-cache.dir}" />
-
-  <resolvers>
-    <ibiblio name="sonatype-releases" root="https://oss.sonatype.org/content/repositories/releases" m2compatible="true" />
-    <ibiblio name="maven.restlet.com" root="https://maven.restlet.com" m2compatible="true" />
-    <ibiblio name="releases.cloudera.com" root="https://repository.cloudera.com/artifactory/libs-release-local" m2compatible="true" />
-
-    <filesystem name="local-maven-2" m2compatible="true" local="true">
-      <artifact
-          pattern="${local-maven2-dir}/[organisation]/[module]/[revision]/[module]-[revision](-[classifier]).[ext]" />
-      <ivy
-          pattern="${local-maven2-dir}/[organisation]/[module]/[revision]/[module]-[revision].pom" />
-    </filesystem>
-
-    <chain name="default" returnFirst="true" checkmodified="true" changingPattern=".*SNAPSHOT">
-      <resolver ref="local"/>
-      <!-- <resolver ref="local-maven-2" /> -->
-      <resolver ref="main"/>
-      <resolver ref="maven.restlet.com" />
-      <resolver ref="sonatype-releases" />
-      <resolver ref="releases.cloudera.com"/>
-    </chain>
-  </resolvers>
-
-</ivysettings>
diff --git a/lucene/demo/build.xml b/lucene/demo/build.xml
deleted file mode 100644
index d5e50ad..0000000
--- a/lucene/demo/build.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="demo" default="default" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
-
-  <description>
-    Simple example code
-  </description>
-
-  <property name="demo.name" value="lucene-demos-${version}"/>
-
-  <import file="../module-build.xml"/>
-
-  <target name="init" depends="module-build.init,jar-lucene-core"/>
-  
-  <path id="classpath">
-   <pathelement path="${analyzers-common.jar}"/>
-   <pathelement path="${queryparser.jar}"/>
-   <pathelement path="${lucene-core.jar}"/>
-   <pathelement path="${queries.jar}"/>
-   <pathelement path="${facet.jar}"/>
-   <pathelement path="${expressions.jar}"/>
-   <fileset dir="../expressions/lib"/>
-  </path>
-
-  <target name="javadocs" depends="javadocs-analyzers-common,javadocs-queryparser,javadocs-facet,javadocs-expressions,compile-core,check-javadocs-uptodate"
-          unless="javadocs-uptodate-${name}">
-    <!-- we link the example source in the javadocs, as it's ref'ed elsewhere -->
-    <invoke-module-javadoc linksource="yes">
-      <links>
-        <link href="../analyzers-common"/>
-        <link href="../queryparser"/>
-        <link href="../queries"/>
-        <link href="../facet"/>
-        <link href="../expressions"/>
-      </links>
-    </invoke-module-javadoc>
-  </target>
-
-  <!-- we don't check for sysout in demo, because the demo is there to use sysout :-) -->
-  <target name="-check-forbidden-sysout"/>
-
-  <target name="compile-core" depends="jar-analyzers-common,jar-queryparser,jar-queries,jar-facet,jar-expressions,common.compile-core" />
-
-</project>
diff --git a/lucene/demo/ivy.xml b/lucene/demo/ivy.xml
deleted file mode 100644
index 69076d1..0000000
--- a/lucene/demo/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="demo"/>
-</ivy-module>
diff --git a/lucene/expressions/build.xml b/lucene/expressions/build.xml
deleted file mode 100644
index 61ae64f..0000000
--- a/lucene/expressions/build.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-<project name="expressions" default="default">
-
-  <description>
-    Dynamically computed values to sort/facet/search on based on a pluggable grammar.
-  </description>
-
-  <import file="../module-build.xml"/>
-
-  <path id="classpath">
-    <path refid="base.classpath"/>
-    <fileset dir="lib"/>
-  </path>
-
-  <path id="test.classpath">
-    <path refid="test.base.classpath"/>
-    <fileset dir="lib"/>
-    <pathelement path="src/test-files"/>
-  </path>
-
-  <target name="regenerate" depends="run-antlr"/>
-
-  <target name="resolve-antlr" xmlns:ivy="antlib:org.apache.ivy.ant">
-    <ivy:cachepath organisation="org.antlr" module="antlr4" revision="4.5.1-1"
-                  inline="true" conf="default" type="jar" pathid="antlr.classpath"/>
-  </target>
-
-  <target name="run-antlr" depends="resolve-antlr">
-    <regen-grammar package="js" grammar="Javascript"/>
-  </target>
-  
-  <macrodef name="replace-value">
-    <attribute name="value" />
-    <attribute name="property" />
-    <attribute name="from" />
-    <attribute name="to" />
-    <sequential>
-      <loadresource property="@{property}">
-        <string value="@{value}"/>
-        <filterchain>
-          <tokenfilter>
-            <filetokenizer/>
-            <replacestring from="@{from}" to="@{to}"/>
-          </tokenfilter>
-        </filterchain>
-      </loadresource>
-    </sequential>
-  </macrodef>
-
-  <macrodef name="regen-grammar">
-    <attribute name="package" />
-    <attribute name="grammar" />
-    <sequential>
-      <local name="grammar.path"/>
-      <patternset id="grammar.@{grammar}.patternset">
-        <include name="@{grammar}Lexer.java" />
-        <include name="@{grammar}Parser.java" />
-        <include name="@{grammar}Visitor.java" />
-        <include name="@{grammar}BaseVisitor.java" />
-      </patternset>
-      <property name="grammar.path" location="src/java/org/apache/lucene/expressions/@{package}"/>
-      <!-- delete parser and lexer so files will be generated -->
-      <delete dir="${grammar.path}">
-        <patternset refid="grammar.@{grammar}.patternset"/>
-      </delete>
-      <!-- invoke ANTLR4 -->
-      <java classname="org.antlr.v4.Tool" fork="true" failonerror="true" classpathref="antlr.classpath" taskname="antlr">
-        <sysproperty key="file.encoding" value="UTF-8"/>
-        <sysproperty key="user.language" value="en"/>
-        <sysproperty key="user.country" value="US"/>
-        <sysproperty key="user.variant" value=""/>
-        <arg value="-package"/>
-        <arg value="org.apache.lucene.expressions.@{package}"/>
-        <arg value="-no-listener"/>
-        <arg value="-visitor"/>
-        <arg value="-o"/>
-        <arg path="${grammar.path}"/>
-        <arg path="${grammar.path}/@{grammar}.g4"/>
-      </java>
-      <!-- fileset with files to edit -->
-      <fileset id="grammar.fileset" dir="${grammar.path}">
-        <patternset refid="grammar.@{grammar}.patternset"/>
-      </fileset>
-      <!-- remove files that are not needed to compile or at runtime -->
-      <delete dir="${grammar.path}" includes="@{grammar}*.tokens"/>
-      <!-- make the generated classes package private -->
-      <replaceregexp match="public ((interface|class) \Q@{grammar}\E\w+)" replace="\1" encoding="UTF-8">
-        <fileset refid="grammar.fileset"/>
-      </replaceregexp>
-      <!-- nuke timestamps/filenames in generated files -->
-      <replaceregexp match="\Q// Generated from \E.*" replace="\/\/ ANTLR GENERATED CODE: DO NOT EDIT" encoding="UTF-8">
-        <fileset refid="grammar.fileset"/>
-      </replaceregexp>
-      <!-- remove tabs in antlr generated files -->
-      <replaceregexp match="\t" flags="g" replace="  " encoding="UTF-8">
-        <fileset refid="grammar.fileset"/>
-      </replaceregexp>
-      <!-- fix line endings -->
-      <fixcrlf srcdir="${grammar.path}">
-        <patternset refid="grammar.@{grammar}.patternset"/>
-      </fixcrlf>
-    </sequential>
-  </macrodef>
-</project>
diff --git a/lucene/expressions/ivy.xml b/lucene/expressions/ivy.xml
deleted file mode 100644
index 6065522..0000000
--- a/lucene/expressions/ivy.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="expressions"/>
-  <configurations defaultconfmapping="compile->master">
-    <conf name="compile" transitive="false"/>
-  </configurations>
-  <dependencies>
-    <dependency org="org.antlr" name="antlr4-runtime" rev="${/org.antlr/antlr4-runtime}" conf="compile"/>
-    <dependency org="org.ow2.asm" name="asm" rev="${/org.ow2.asm/asm}" conf="compile"/>
-    <dependency org="org.ow2.asm" name="asm-commons" rev="${/org.ow2.asm/asm-commons}" conf="compile"/>
-    <exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/>
-  </dependencies>
-</ivy-module>
diff --git a/lucene/facet/build.xml b/lucene/facet/build.xml
deleted file mode 100644
index 2fc2f9a..0000000
--- a/lucene/facet/build.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
- 
-        http://www.apache.org/licenses/LICENSE-2.0
- 
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="facet" default="default">
-
-  <description>
-    Faceted indexing and search capabilities
-  </description>
-
-  <import file="../module-build.xml"/>
-
-  <path id="classpath">
-    <path refid="base.classpath"/>
-    <fileset dir="lib"/>
-  </path>
-
-  <path id="test.classpath">
-    <pathelement path="${queries.jar}"/>
-    <path refid="test.base.classpath"/>
-  </path>
-
-  <target name="compile-core" depends="jar-queries,common.compile-core"/>
-
-  <target name="run-encoding-benchmark" depends="compile-test">
-    <java classname="org.apache.lucene.util.encoding.EncodingSpeed" fork="true" failonerror="true">
-      <classpath refid="test.classpath" />
-      <classpath path="${build.dir}/classes/test" />
-    </java>
-  </target>
-
-</project>
diff --git a/lucene/facet/ivy.xml b/lucene/facet/ivy.xml
deleted file mode 100644
index 249c78e..0000000
--- a/lucene/facet/ivy.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="facet"/>
-  <configurations defaultconfmapping="compile->master">
-    <conf name="compile" transitive="false"/>
-  </configurations>
-  <dependencies>
-    <dependency org="com.carrotsearch" name="hppc" rev="${/com.carrotsearch/hppc}" conf="compile"/>
-  </dependencies>
-</ivy-module>
diff --git a/lucene/grouping/build.xml b/lucene/grouping/build.xml
deleted file mode 100644
index 5fb1fd1..0000000
--- a/lucene/grouping/build.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
- -->
-
-<project name="grouping" default="default">
-  
-    <description>
-       Collectors for grouping search results.
-    </description>
-
-    <import file="../module-build.xml"/>
-
-    <path id="test.classpath">
-      <path refid="test.base.classpath" />
-      <pathelement path="${queries.jar}" />
-    </path>
-
-    <path id="classpath">
-      <pathelement path="${queries.jar}" />
-      <path refid="base.classpath"/>
-    </path>
-
-    <target name="init" depends="module-build.init,jar-queries"/>
-
-    <target name="javadocs" depends="javadocs-queries,compile-core,check-javadocs-uptodate"
-            unless="javadocs-uptodate-${name}">
-      <invoke-module-javadoc>
-        <links>
-          <link href="../queries"/>
-        </links>
-      </invoke-module-javadoc>
-    </target>
-
-</project>
diff --git a/lucene/grouping/ivy.xml b/lucene/grouping/ivy.xml
deleted file mode 100644
index d7e4eb3..0000000
--- a/lucene/grouping/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="grouping"/>
-</ivy-module>
diff --git a/lucene/highlighter/ivy.xml b/lucene/highlighter/ivy.xml
deleted file mode 100644
index 262fa53..0000000
--- a/lucene/highlighter/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="highlighter"/>
-</ivy-module>
diff --git a/lucene/ivy-ignore-conflicts.properties b/lucene/ivy-ignore-conflicts.properties
deleted file mode 100644
index df3a2e5..0000000
--- a/lucene/ivy-ignore-conflicts.properties
+++ /dev/null
@@ -1,14 +0,0 @@
-# The /org/name keys in this file must be kept lexically sorted.
-# Blank lines, comment lines, and keys that aren't in /org/name format are ignored
-# when the lexical sort check is performed by the ant check-lib-versions target.
-#
-# The format is:
-#
-# /org/name = <version1> [, <version2> [ ... ] ]
-#
-# where each <versionX> is an indirect dependency version to ignore (i.e., not
-# trigger a conflict) when the ant check-lib-versions target is run.
-
-/com.google.guava/guava = 16.0.1
-/org.ow2.asm/asm = 5.0_BETA
-
diff --git a/lucene/join/build.xml b/lucene/join/build.xml
deleted file mode 100644
index c411dbe..0000000
--- a/lucene/join/build.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.
--->
-<project name="join" default="default">
-  <description>
-    Index-time and Query-time joins for normalized content
-  </description>
-
-  <import file="../module-build.xml"/>
-
-</project>
diff --git a/lucene/join/ivy.xml b/lucene/join/ivy.xml
deleted file mode 100644
index 09ae9bd..0000000
--- a/lucene/join/ivy.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one
-   or more contributor license agreements.  See the NOTICE file
-   distributed with this work for additional information
-   regarding copyright ownership.  The ASF licenses this file
-   to you under the Apache License, Version 2.0 (the
-   "License"); you may not use this file except in compliance
-   with the License.  You may obtain a copy of the License at
-
-     http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing,
-   software distributed under the License is distributed on an
-   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-   KIND, either express or implied.  See the License for the
-   specific language governing permissions and limitations
-   under the License.    
--->
-<ivy-module version="2.0">
-  <info organisation="org.apache.lucene" module="join"/>
-</ivy-module>
diff --git a/lucene/licenses/ant-1.8.2.jar.sha1 b/lucene/licenses/ant-1.8.2.jar.sha1
deleted file mode 100644
index 564db78..0000000
--- a/lucene/licenses/ant-1.8.2.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-fc33bf7cd8c5309dd7b81228e8626515ee42efd9
diff --git a/lucene/licenses/ant-LICENSE-ASL.txt b/lucene/licenses/ant-LICENSE-ASL.txt
deleted file mode 100644
index ab3182e..0000000
--- a/lucene/licenses/ant-LICENSE-ASL.txt
+++ /dev/null
@@ -1,272 +0,0 @@
-/*
- *                                 Apache License
- *                           Version 2.0, January 2004
- *                        http://www.apache.org/licenses/
- *
- *   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
- *
- *   1. Definitions.
- *
- *      "License" shall mean the terms and conditions for use, reproduction,
- *      and distribution as defined by Sections 1 through 9 of this document.
- *
- *      "Licensor" shall mean the copyright owner or entity authorized by
- *      the copyright owner that is granting the License.
- *
- *      "Legal Entity" shall mean the union of the acting entity and all
- *      other entities that control, are controlled by, or are under common
- *      control with that entity. For the purposes of this definition,
- *      "control" means (i) the power, direct or indirect, to cause the
- *      direction or management of such entity, whether by contract or
- *      otherwise, or (ii) ownership of fifty percent (50%) or more of the
- *      outstanding shares, or (iii) beneficial ownership of such entity.
- *
- *      "You" (or "Your") shall mean an individual or Legal Entity
- *      exercising permissions granted by this License.
- *
- *      "Source" form shall mean the preferred form for making modifications,
- *      including but not limited to software source code, documentation
- *      source, and configuration files.
- *
- *      "Object" form shall mean any form resulting from mechanical
- *      transformation or translation of a Source form, including but
- *      not limited to compiled object code, generated documentation,
- *      and conversions to other media types.
- *
- *      "Work" shall mean the work of authorship, whether in Source or
- *      Object form, made available under the License, as indicated by a
- *      copyright notice that is included in or attached to the work
- *      (an example is provided in the Appendix below).
- *
- *      "Derivative Works" shall mean any work, whether in Source or Object
- *      form, that is based on (or derived from) the Work and for which the
- *      editorial revisions, annotations, elaborations, or other modifications
- *      represent, as a whole, an original work of authorship. For the purposes
- *      of this License, Derivative Works shall not include works that remain
- *      separable from, or merely link (or bind by name) to the interfaces of,
- *      the Work and Derivative Works thereof.
- *
- *      "Contribution" shall mean any work of authorship, including
- *      the original version of the Work and any modifications or additions
- *      to that Work or Derivative Works thereof, that is intentionally
- *      submitted to Licensor for inclusion in the Work by the copyright owner
- *      or by an individual or Legal Entity authorized to submit on behalf of
- *      the copyright owner. For the purposes of this definition, "submitted"
- *      means any form of electronic, verbal, or written communication sent
- *      to the Licensor or its representatives, including but not limited to
- *      communication on electronic mailing lists, source code control systems,
- *      and issue tracking systems that are managed by, or on behalf of, the
- *      Licensor for the purpose of discussing and improving the Work, but
- *      excluding communication that is conspicuously marked or otherwise
- *      designated in writing by the copyright owner as "Not a Contribution."
- *
- *      "Contributor" shall mean Licensor and any individual or Legal Entity
- *      on behalf of whom a Contribution has been received by Licensor and
- *      subsequently incorporated within the Work.
- *
- *   2. Grant of Copyright License. Subject to the terms and conditions of
- *      this License, each Contributor hereby grants to You a perpetual,
- *      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- *      copyright license to reproduce, prepare Derivative Works of,
- *      publicly display, publicly perform, sublicense, and distribute the
- *      Work and such Derivative Works in Source or Object form.
- *
- *   3. Grant of Patent License. Subject to the terms and conditions of
- *      this License, each Contributor hereby grants to You a perpetual,
- *      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- *      (except as stated in this section) patent license to make, have made,
- *      use, offer to sell, sell, import, and otherwise transfer the Work,
- *      where such license applies only to those patent claims licensable
- *      by such Contributor that are necessarily infringed by their
- *      Contribution(s) alone or by combination of their Contribution(s)
- *      with the Work to which such Contribution(s) was submitted. If You
- *      institute patent litigation against any entity (including a
- *      cross-claim or counterclaim in a lawsuit) alleging that the Work
- *      or a Contribution incorporated within the Work constitutes direct
- *      or contributory patent infringement, then any patent licenses
- *      granted to You under this License for that Work shall terminate
- *      as of the date such litigation is filed.
- *
- *   4. Redistribution. You may reproduce and distribute copies of the
- *      Work or Derivative Works thereof in any medium, with or without
- *      modifications, and in Source or Object form, provided that You
- *      meet the following conditions:
- *
- *      (a) You must give any other recipients of the Work or
- *          Derivative Works a copy of this License; and
- *
- *      (b) You must cause any modified files to carry prominent notices
- *          stating that You changed the files; and
- *
- *      (c) You must retain, in the Source form of any Derivative Works
- *          that You distribute, all copyright, patent, trademark, and
- *          attribution notices from the Source form of the Work,
- *          excluding those notices that do not pertain to any part of
- *          the Derivative Works; and
- *
- *      (d) If the Work includes a "NOTICE" text file as part of its
- *          distribution, then any Derivative Works that You distribute must
- *          include a readable copy of the attribution notices contained
- *          within such NOTICE file, excluding those notices that do not
- *          pertain to any part of the Derivative Works, in at least one
- *          of the following places: within a NOTICE text file distributed
- *          as part of the Derivative Works; within the Source form or
- *          documentation, if provided along with the Derivative Works; or,
- *          within a display generated by the Derivative Works, if and
- *          wherever such third-party notices normally appear. The contents
- *          of the NOTICE file are for informational purposes only and
- *          do not modify the License. You may add Your own attribution
- *          notices within Derivative Works that You distribute, alongside
- *          or as an addendum to the NOTICE text from the Work, provided
- *          that such additional attribution notices cannot be construed
- *          as modifying the License.
- *
- *      You may add Your own copyright statement to Your modifications and
- *      may provide additional or different license terms and conditions
- *      for use, reproduction, or distribution of Your modifications, or
- *      for any such Derivative Works as a whole, provided Your use,
- *      reproduction, and distribution of the Work otherwise complies with
- *      the conditions stated in this License.
- *
- *   5. Submission of Contributions. Unless You explicitly state otherwise,
- *      any Contribution intentionally submitted for inclusion in the Work
- *      by You to the Licensor shall be under the terms and conditions of
- *      this License, without any additional terms or conditions.
- *      Notwithstanding the above, nothing herein shall supersede or modify
- *      the terms of any separate license agreement you may have executed
- *      with Licensor regarding such Contributions.
- *
- *   6. Trademarks. This License does not grant permission to use the trade
- *      names, trademarks, service marks, or product names of the Licensor,
- *      except as required for reasonable and customary use in describing the
- *      origin of the Work and reproducing the content of the NOTICE file.
- *
- *   7. Disclaimer of Warranty. Unless required by applicable law or
- *      agreed to in writing, Licensor provides the Work (and each
- *      Contributor provides its Contributions) on an "AS IS" BASIS,
- *      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- *      implied, including, without limitation, any warranties or conditions
- *      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- *      PARTICULAR PURPOSE. You are solely responsible for determining the
- *      appropriateness of using or redistributing the Work and assume any
- *      risks associated with Your exercise of permissions under this License.
- *
- *   8. Limitation of Liability. In no event and under no legal theory,
- *      whether in tort (including negligence), contract, or otherwise,
- *      unless required by applicable law (such as deliberate and grossly
- *      negligent acts) or agreed to in writing, shall any Contributor be
- *      liable to You for damages, including any direct, indirect, special,
- *      incidental, or consequential damages of any character arising as a
- *      result of this License or out of the use or inability to use the
- *      Work (including but not limited to damages for loss of goodwill,
- *      work stoppage, computer failure or malfunction, or any and all
- *      other commercial damages or losses), even if such Contributor
- *      has been advised of the possibility of such damages.
- *
- *   9. Accepting Warranty or Additional Liability. While redistributing
- *      the Work or Derivative Works thereof, You may choose to offer,
- *      and charge a fee for, acceptance of support, warranty, indemnity,
- *      or other liability obligations and/or rights consistent with this
- *      License. However, in accepting such obligations, You may act only
- *      on Your own behalf and on Your sole responsibility, not on behalf
- *      of any other Contributor, and only if You agree to indemnify,
- *      defend, and hold each Contributor harmless for any liability
- *      incurred by, or claims asserted against, such Contributor by reason
- *      of your accepting any such warranty or additional liability.
- *
- *   END OF TERMS AND CONDITIONS
- *
- *   APPENDIX: How to apply the Apache License to your work.
- *
- *      To apply the Apache License to your work, attach the following
- *      boilerplate notice, with the fields enclosed by brackets "[]"
- *      replaced with your own identifying information. (Don't include
- *      the brackets!)  The text should be enclosed in the appropriate
- *      comment syntax for the file format. We also recommend that a
- *      file or class name and description of purpose be included on the
- *      same "printed page" as the copyright notice for easier
- *      identification within third-party archives.
- *
- *   Copyright [yyyy] [name of copyright owner]
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- */
-
-W3C® SOFTWARE NOTICE AND LICENSE
-http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-
-This work (and included software, documentation such as READMEs, or other
-related items) is being provided by the copyright holders under the following
-license. By obtaining, using and/or copying this work, you (the licensee) agree
-that you have read, understood, and will comply with the following terms and
-conditions.
-
-Permission to copy, modify, and distribute this software and its documentation,
-with or without modification, for any purpose and without fee or royalty is
-hereby granted, provided that you include the following on ALL copies of the
-software and documentation or portions thereof, including modifications:
-
-  1. The full text of this NOTICE in a location viewable to users of the
-     redistributed or derivative work. 
-  2. Any pre-existing intellectual property disclaimers, notices, or terms
-     and conditions. If none exist, the W3C Software Short Notice should be
-     included (hypertext is preferred, text is permitted) within the body
-     of any redistributed or derivative code.
-  3. Notice of any changes or modifications to the files, including the date
-     changes were made. (We recommend you provide URIs to the location from
-     which the code is derived.)
-     
-THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE
-NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
-TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
-THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY
-PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
-
-COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
-
-The name and trademarks of copyright holders may NOT be used in advertising or
-publicity pertaining to the software without specific, written prior permission.
-Title to copyright in this software and any associated documentation will at
-all times remain with copyright holders.
-
-____________________________________
-
-This formulation of W3C's notice and license became active on December 31 2002.
-This version removes the copyright ownership notice such that this license can
-be used with materials other than those owned by the W3C, reflects that ERCIM
-is now a host of the W3C, includes references to this specific dated version of
-the license, and removes the ambiguous grant of "use". Otherwise, this version
-is the same as the previous version and is written so as to preserve the Free
-Software Foundation's assessment of GPL compatibility and OSI's certification
-under the Open Source Definition. Please see our Copyright FAQ for common
-questions about using materials from our site, including specific terms and
-conditions for packages like libwww, Amaya, and Jigsaw. Other questions about
-this notice can be directed to site-policy@w3.org.
- 
-Joseph Reagle <si...@w3.org> 
-
-This license came from: http://www.megginson.com/SAX/copying.html
-  However please note future versions of SAX may be covered 
-  under http://saxproject.org/?selected=pd
-
-SAX2 is Free!
-
-I hereby abandon any property rights to SAX 2.0 (the Simple API for
-XML), and release all of the SAX 2.0 source code, compiled code, and
-documentation contained in this distribution into the Public Domain.
-SAX comes with NO WARRANTY or guarantee of fitness for any
-purpose.
-
-David Megginson, david@megginson.com
-2000-05-05
diff --git a/lucene/licenses/ant-NOTICE.txt b/lucene/licenses/ant-NOTICE.txt
deleted file mode 100644
index 4c88cc6..0000000
--- a/lucene/licenses/ant-NOTICE.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-   =========================================================================
-   ==  NOTICE file corresponding to the section 4 d of                    ==
-   ==  the Apache License, Version 2.0,                                   ==
-   ==  in this case for the Apache Ant distribution.                      ==
-   =========================================================================
-
-   Apache Ant
-   Copyright 1999-2008 The Apache Software Foundation
-
-   This product includes software developed by
-   The Apache Software Foundation (http://www.apache.org/).
-
-   This product includes also software developed by :
-     - the W3C consortium (http://www.w3c.org) ,
-     - the SAX project (http://www.saxproject.org)
-
-   The <sync> task is based on code Copyright (c) 2002, Landmark
-   Graphics Corp that has been kindly donated to the Apache Software
-   Foundation.
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - voluntary contributions made by Paul Eng on behalf of the 
-       Apache Software Foundation that were originally developed at iClick, Inc.,
-       software copyright (c) 1999.
diff --git a/lucene/licenses/ivy-2.4.0.jar.sha1 b/lucene/licenses/ivy-2.4.0.jar.sha1
deleted file mode 100644
index 3863b25..0000000
--- a/lucene/licenses/ivy-2.4.0.jar.sha1
+++ /dev/null
@@ -1 +0,0 @@
-5abe4c24bbe992a9ac07ca563d5bd3e8d569e9ed
diff --git a/lucene/licenses/ivy-LICENSE-ASL.txt b/lucene/licenses/ivy-LICENSE-ASL.txt
deleted file mode 100644
index eb06170..0000000
--- a/lucene/licenses/ivy-LICENSE-ASL.txt
+++ /dev/null
@@ -1,258 +0,0 @@
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
... 7077 lines suppressed ...