From 69fa5a00fb3671d375997eedb864992811e676c5 Mon Sep 17 00:00:00 2001 From: Erick Erickson Date: Fri, 28 Aug 2020 09:31:16 -0400 Subject: [PATCH] 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 - .../lucene/analysis/common/pom.xml.template | 86 - .../lucene/analysis/icu/pom.xml.template | 76 - .../lucene/analysis/kuromoji/pom.xml.template | 75 - .../analysis/morfologik/pom.xml.template | 78 - .../lucene/analysis/nori/pom.xml.template | 75 - .../lucene/analysis/opennlp/pom.xml.template | 78 - .../lucene/analysis/phonetic/pom.xml.template | 75 - .../maven/lucene/analysis/pom.xml.template | 55 - .../lucene/analysis/smartcn/pom.xml.template | 73 - .../lucene/analysis/stempel/pom.xml.template | 73 - .../lucene/backward-codecs/pom.xml.template | 88 - .../maven/lucene/benchmark/pom.xml.template | 86 - .../lucene/classification/pom.xml.template | 68 - .../maven/lucene/codecs/pom.xml.template | 48 - .../lucene/codecs/src/java/pom.xml.template | 85 - .../lucene/codecs/src/test/pom.xml.template | 84 - dev-tools/maven/lucene/core/pom.xml.template | 48 - .../lucene/core/src/java/pom.xml.template | 79 - .../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 - .../maven/lucene/grouping/pom.xml.template | 68 - .../maven/lucene/highlighter/pom.xml.template | 70 - dev-tools/maven/lucene/join/pom.xml.template | 68 - .../maven/lucene/memory/pom.xml.template | 70 - dev-tools/maven/lucene/misc/pom.xml.template | 68 - .../maven/lucene/monitor/pom.xml.template | 70 - dev-tools/maven/lucene/pom.xml.template | 127 - .../maven/lucene/queries/pom.xml.template | 68 - .../maven/lucene/queryparser/pom.xml.template | 86 - .../maven/lucene/replicator/pom.xml.template | 74 - .../maven/lucene/sandbox/pom.xml.template | 73 - .../lucene/spatial-extras/pom.xml.template | 69 - .../maven/lucene/spatial3d/pom.xml.template | 70 - .../maven/lucene/suggest/pom.xml.template | 73 - .../lucene/test-framework/pom.xml.template | 109 - dev-tools/maven/pom.xml.template | 475 --- .../contrib/analysis-extras/pom.xml.template | 85 - .../solr/contrib/analytics/pom.xml.template | 80 - .../solr/contrib/clustering/pom.xml.template | 78 - .../dataimporthandler-extras/pom.xml.template | 85 - .../dataimporthandler/pom.xml.template | 91 - .../solr/contrib/extraction/pom.xml.template | 81 - .../pom.xml.template | 80 - .../solr/contrib/langid/pom.xml.template | 87 - .../maven/solr/contrib/ltr/pom.xml.template | 80 - dev-tools/maven/solr/contrib/pom.xml.template | 57 - .../prometheus-exporter/pom.xml.template | 80 - .../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 - .../maven/solr/maven.testlogging.properties | 2 - dev-tools/maven/solr/pom.xml.template | 186 -- dev-tools/maven/solr/solrj/pom.xml.template | 48 - .../solr/solrj/src/java/pom.xml.template | 78 - .../solr/solrj/src/test/pom.xml.template | 122 - .../solr/test-framework/pom.xml.template | 95 - lucene/BUILD.md | 81 +- lucene/CHANGES.txt | 2 + 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/common-build.xml | 2605 ----------------- 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/build.xml | 55 - lucene/highlighter/ivy.xml | 21 - lucene/ivy-ignore-conflicts.properties | 14 - lucene/ivy-versions.properties | 334 --- 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/test-framework/ivy.xml | 33 - lucene/tools/build.xml | 64 - lucene/tools/custom-tasks.xml | 149 - lucene/tools/ivy.xml | 29 - lucene/tools/src/java/lucene-solr.antlib.xml | 27 - .../validation/ivyde/IvyNodeElement.java | 178 -- .../ivyde/IvyNodeElementAdapter.java | 135 - lucene/top-level-ivy-settings.xml | 24 - solr/CHANGES.txt | 2 + 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 - .../dataimporthandler-extras/build.xml | 96 - solr/contrib/dataimporthandler-extras/ivy.xml | 40 - solr/contrib/dataimporthandler/build.xml | 32 - solr/contrib/dataimporthandler/ivy.xml | 34 - solr/contrib/extraction/build.xml | 28 - solr/contrib/extraction/ivy.xml | 80 - .../jaegertracer-configurator/build.xml | 34 - .../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/core/ivy.xml | 148 - 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-ref-guide/src/meta-docs/publish.adoc | 4 +- .../tools/CustomizedAsciidoctorAntTask.java | 34 - .../tools/asciidoctor-antlib.xml | 22 - solr/solrj/build.xml | 88 - solr/solrj/ivy.xml | 77 - solr/test-framework/build.xml | 121 - solr/test-framework/ivy.xml | 42 - solr/webapp/build.xml | 69 - 209 files changed, 83 insertions(+), 19546 deletions(-) delete mode 100755 build.xml delete mode 100644 dev-tools/idea/.idea/ant.xml delete mode 100644 dev-tools/idea/.idea/libraries/Ivy.xml delete mode 100644 dev-tools/maven/README.maven delete mode 100644 dev-tools/maven/lucene/analysis/common/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/icu/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/morfologik/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/nori/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/opennlp/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/phonetic/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/smartcn/pom.xml.template delete mode 100644 dev-tools/maven/lucene/analysis/stempel/pom.xml.template delete mode 100644 dev-tools/maven/lucene/backward-codecs/pom.xml.template delete mode 100644 dev-tools/maven/lucene/benchmark/pom.xml.template delete mode 100644 dev-tools/maven/lucene/classification/pom.xml.template delete mode 100644 dev-tools/maven/lucene/codecs/pom.xml.template delete mode 100644 dev-tools/maven/lucene/codecs/src/java/pom.xml.template delete mode 100644 dev-tools/maven/lucene/codecs/src/test/pom.xml.template delete mode 100644 dev-tools/maven/lucene/core/pom.xml.template delete mode 100644 dev-tools/maven/lucene/core/src/java/pom.xml.template delete mode 100644 dev-tools/maven/lucene/core/src/test/pom.xml.template delete mode 100644 dev-tools/maven/lucene/demo/pom.xml.template delete mode 100644 dev-tools/maven/lucene/expressions/pom.xml.template delete mode 100644 dev-tools/maven/lucene/facet/pom.xml.template delete mode 100644 dev-tools/maven/lucene/grouping/pom.xml.template delete mode 100644 dev-tools/maven/lucene/highlighter/pom.xml.template delete mode 100644 dev-tools/maven/lucene/join/pom.xml.template delete mode 100644 dev-tools/maven/lucene/memory/pom.xml.template delete mode 100644 dev-tools/maven/lucene/misc/pom.xml.template delete mode 100644 dev-tools/maven/lucene/monitor/pom.xml.template delete mode 100644 dev-tools/maven/lucene/pom.xml.template delete mode 100644 dev-tools/maven/lucene/queries/pom.xml.template delete mode 100644 dev-tools/maven/lucene/queryparser/pom.xml.template delete mode 100644 dev-tools/maven/lucene/replicator/pom.xml.template delete mode 100644 dev-tools/maven/lucene/sandbox/pom.xml.template delete mode 100644 dev-tools/maven/lucene/spatial-extras/pom.xml.template delete mode 100644 dev-tools/maven/lucene/spatial3d/pom.xml.template delete mode 100644 dev-tools/maven/lucene/suggest/pom.xml.template delete mode 100644 dev-tools/maven/lucene/test-framework/pom.xml.template delete mode 100644 dev-tools/maven/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/analytics/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/clustering/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/extraction/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/jaegertracer-configurator/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/langid/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/ltr/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/prometheus-exporter/pom.xml.template delete mode 100644 dev-tools/maven/solr/contrib/velocity/pom.xml.template delete mode 100644 dev-tools/maven/solr/core/pom.xml.template delete mode 100644 dev-tools/maven/solr/core/src/java/pom.xml.template delete mode 100644 dev-tools/maven/solr/core/src/test/pom.xml.template delete mode 100644 dev-tools/maven/solr/maven.testlogging.properties delete mode 100644 dev-tools/maven/solr/pom.xml.template delete mode 100644 dev-tools/maven/solr/solrj/pom.xml.template delete mode 100644 dev-tools/maven/solr/solrj/src/java/pom.xml.template delete mode 100644 dev-tools/maven/solr/solrj/src/test/pom.xml.template delete mode 100644 dev-tools/maven/solr/test-framework/pom.xml.template delete mode 100644 lucene/analysis/analysis-module-build.xml delete mode 100644 lucene/analysis/build.xml delete mode 100644 lucene/analysis/common/build.xml delete mode 100644 lucene/analysis/common/ivy.xml delete mode 100644 lucene/analysis/icu/build.xml delete mode 100644 lucene/analysis/icu/ivy.xml delete mode 100644 lucene/analysis/kuromoji/build.xml delete mode 100644 lucene/analysis/kuromoji/ivy.xml delete mode 100644 lucene/analysis/morfologik/build.xml delete mode 100644 lucene/analysis/morfologik/ivy.xml delete mode 100644 lucene/analysis/nori/build.xml delete mode 100644 lucene/analysis/nori/ivy.xml delete mode 100644 lucene/analysis/opennlp/build.xml delete mode 100644 lucene/analysis/opennlp/ivy.xml delete mode 100644 lucene/analysis/phonetic/build.xml delete mode 100644 lucene/analysis/phonetic/ivy.xml delete mode 100644 lucene/analysis/smartcn/build.xml delete mode 100644 lucene/analysis/smartcn/ivy.xml delete mode 100644 lucene/analysis/stempel/build.xml delete mode 100644 lucene/analysis/stempel/ivy.xml delete mode 100644 lucene/backward-codecs/build.xml delete mode 100644 lucene/backward-codecs/ivy.xml delete mode 100644 lucene/benchmark/build.xml delete mode 100644 lucene/benchmark/ivy.xml delete mode 100644 lucene/build.xml delete mode 100644 lucene/classification/build.xml delete mode 100644 lucene/classification/ivy.xml delete mode 100644 lucene/codecs/build.xml delete mode 100644 lucene/codecs/ivy.xml delete mode 100644 lucene/common-build.xml delete mode 100644 lucene/core/build.xml delete mode 100644 lucene/core/ivy.xml delete mode 100644 lucene/default-nested-ivy-settings.xml delete mode 100644 lucene/demo/build.xml delete mode 100644 lucene/demo/ivy.xml delete mode 100644 lucene/expressions/build.xml delete mode 100644 lucene/expressions/ivy.xml delete mode 100644 lucene/facet/build.xml delete mode 100644 lucene/facet/ivy.xml delete mode 100644 lucene/grouping/build.xml delete mode 100644 lucene/grouping/ivy.xml delete mode 100644 lucene/highlighter/build.xml delete mode 100644 lucene/highlighter/ivy.xml delete mode 100644 lucene/ivy-ignore-conflicts.properties delete mode 100644 lucene/ivy-versions.properties delete mode 100644 lucene/join/build.xml delete mode 100644 lucene/join/ivy.xml delete mode 100644 lucene/licenses/ant-1.8.2.jar.sha1 delete mode 100644 lucene/licenses/ant-LICENSE-ASL.txt delete mode 100644 lucene/licenses/ant-NOTICE.txt delete mode 100644 lucene/licenses/ivy-2.4.0.jar.sha1 delete mode 100644 lucene/licenses/ivy-LICENSE-ASL.txt delete mode 100644 lucene/licenses/ivy-NOTICE.txt delete mode 100644 lucene/luke/build.xml delete mode 100644 lucene/luke/ivy.xml delete mode 100644 lucene/memory/build.xml delete mode 100644 lucene/memory/ivy.xml delete mode 100644 lucene/misc/build.xml delete mode 100644 lucene/misc/ivy.xml delete mode 100644 lucene/module-build.xml delete mode 100644 lucene/monitor/build.xml delete mode 100644 lucene/monitor/ivy.xml delete mode 100644 lucene/queries/build.xml delete mode 100644 lucene/queries/ivy.xml delete mode 100644 lucene/queryparser/build.xml delete mode 100644 lucene/queryparser/ivy.xml delete mode 100644 lucene/queryparser/xmldtddocbuild.xml delete mode 100644 lucene/replicator/build.xml delete mode 100644 lucene/replicator/ivy.xml delete mode 100644 lucene/sandbox/build.xml delete mode 100644 lucene/sandbox/ivy.xml delete mode 100644 lucene/spatial-extras/build.xml delete mode 100644 lucene/spatial-extras/ivy.xml delete mode 100644 lucene/spatial3d/build.xml delete mode 100644 lucene/spatial3d/ivy.xml delete mode 100644 lucene/suggest/build.xml delete mode 100644 lucene/suggest/ivy.xml delete mode 100644 lucene/test-framework/build.xml delete mode 100644 lucene/test-framework/ivy.xml delete mode 100644 lucene/tools/build.xml delete mode 100644 lucene/tools/custom-tasks.xml delete mode 100644 lucene/tools/ivy.xml delete mode 100644 lucene/tools/src/java/lucene-solr.antlib.xml delete mode 100644 lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElement.java delete mode 100644 lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElementAdapter.java delete mode 100644 lucene/top-level-ivy-settings.xml delete mode 100644 solr/build.xml delete mode 100644 solr/common-build.xml delete mode 100644 solr/contrib/analysis-extras/build.xml delete mode 100644 solr/contrib/analysis-extras/ivy.xml delete mode 100644 solr/contrib/analytics/build.xml delete mode 100644 solr/contrib/analytics/ivy.xml delete mode 100644 solr/contrib/clustering/build.xml delete mode 100644 solr/contrib/clustering/ivy.xml delete mode 100644 solr/contrib/contrib-build.xml delete mode 100644 solr/contrib/dataimporthandler-extras/build.xml delete mode 100644 solr/contrib/dataimporthandler-extras/ivy.xml delete mode 100644 solr/contrib/dataimporthandler/build.xml delete mode 100644 solr/contrib/dataimporthandler/ivy.xml delete mode 100644 solr/contrib/extraction/build.xml delete mode 100644 solr/contrib/extraction/ivy.xml delete mode 100644 solr/contrib/jaegertracer-configurator/build.xml delete mode 100644 solr/contrib/jaegertracer-configurator/ivy.xml delete mode 100644 solr/contrib/langid/build.xml delete mode 100644 solr/contrib/langid/ivy.xml delete mode 100644 solr/contrib/ltr/build.xml delete mode 100644 solr/contrib/ltr/ivy.xml delete mode 100644 solr/contrib/prometheus-exporter/build.xml delete mode 100644 solr/contrib/prometheus-exporter/ivy.xml delete mode 100644 solr/contrib/velocity/build.xml delete mode 100644 solr/contrib/velocity/ivy.xml delete mode 100644 solr/core/build.xml delete mode 100644 solr/core/ivy.xml delete mode 100644 solr/example/example-DIH/build.xml delete mode 100644 solr/example/example-DIH/ivy.xml delete mode 100644 solr/licenses/ant-1.8.2.jar.sha1 delete mode 100644 solr/licenses/ant-LICENSE-ASL.txt delete mode 100644 solr/licenses/ant-NOTICE.txt delete mode 100644 solr/licenses/asciidoctor-ant-1.6.2.jar.sha1 delete mode 100644 solr/licenses/asciidoctor-ant-LICENSE-ASL.txt delete mode 100644 solr/licenses/asciidoctor-ant-NOTICE.txt delete mode 100644 solr/licenses/junit4-ant-2.7.6.jar.sha1 delete mode 100644 solr/licenses/junit4-ant-LICENSE-ASL.txt delete mode 100644 solr/licenses/junit4-ant-NOTICE.txt delete mode 100644 solr/server/build.xml delete mode 100644 solr/server/ivy.xml delete mode 100644 solr/solr-ref-guide/build.xml delete mode 100644 solr/solr-ref-guide/ivy.xml delete mode 100644 solr/solr-ref-guide/tools/CustomizedAsciidoctorAntTask.java delete mode 100644 solr/solr-ref-guide/tools/asciidoctor-antlib.xml delete mode 100644 solr/solrj/build.xml delete mode 100644 solr/solrj/ivy.xml delete mode 100644 solr/test-framework/build.xml delete mode 100644 solr/test-framework/ivy.xml delete mode 100644 solr/webapp/build.xml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 9f2f786f816..b08a1d887a3 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 48121413029..e045c7c9d81 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 helpTests` +`./gradlew check` will assemble Lucene/Solr and run all validation + tasks unit tests. + +`./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 a1e8ccb4f2e..00000000000 --- a/build.xml +++ /dev/null @@ -1,697 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SUCCESS: You must right-click your project and choose Refresh. - Your project must use a Java 11 JRE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -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" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Clover not enabled! - - - - - - - - - - - - - - - - - - - - - - You can find the merged Lucene/Solr Clover report in '${clover.report.dir}'. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - java version "${java.version}" -${java.runtime.name} (${java.runtime.version}, ${java.vendor}) -${java.vm.name} (${java.vm.version}, ${java.vm.vendor}) -Test args: [${args}] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-tools/idea/.idea/ant.xml b/dev-tools/idea/.idea/ant.xml deleted file mode 100644 index c27053859fc..00000000000 --- a/dev-tools/idea/.idea/ant.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-tools/idea/.idea/libraries/Ivy.xml b/dev-tools/idea/.idea/libraries/Ivy.xml deleted file mode 100644 index 798dc0f6375..00000000000 --- a/dev-tools/idea/.idea/libraries/Ivy.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/dev-tools/maven/README.maven b/dev-tools/maven/README.maven deleted file mode 100644 index 0d9c7b73693..00000000000 --- 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: - - - ... - - ... - - apache.snapshots - Apache Snapshot Repository - https://repository.apache.org/snapshots - - false - - - - -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 - entry in either your ~/.m2/settings.xml or ~/.ant/settings.xml. See - 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 86d82022edd..00000000000 --- a/dev-tools/maven/lucene/analysis/common/pom.xml.template +++ /dev/null @@ -1,86 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-common - jar - Lucene Common Analyzers - Additional Analyzers - - lucene/analysis/common - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-analyzers-common.internal.dependencies@ -@lucene-analyzers-common.external.dependencies@ -@lucene-analyzers-common.internal.test.dependencies@ -@lucene-analyzers-common.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - - 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 34c343e092e..00000000000 --- a/dev-tools/maven/lucene/analysis/icu/pom.xml.template +++ /dev/null @@ -1,76 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-icu - jar - Lucene ICU Analysis Components - - Provides integration with ICU (International Components for Unicode) for - stronger Unicode and internationalization support. - - - lucene/analysis/icu - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - ${project.groupId} - lucene-test-framework - test - -@lucene-analyzers-icu.internal.dependencies@ -@lucene-analyzers-icu.external.dependencies@ -@lucene-analyzers-icu.internal.test.dependencies@ -@lucene-analyzers-icu.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 21d92f759b4..00000000000 --- a/dev-tools/maven/lucene/analysis/kuromoji/pom.xml.template +++ /dev/null @@ -1,75 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-kuromoji - jar - Lucene Kuromoji Japanese Morphological Analyzer - - Lucene Kuromoji Japanese Morphological Analyzer - - - lucene/analysis/kuromoji - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-analyzers-kuromoji.internal.dependencies@ -@lucene-analyzers-kuromoji.external.dependencies@ -@lucene-analyzers-kuromoji.internal.test.dependencies@ -@lucene-analyzers-kuromoji.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 bd63d3a2216..00000000000 --- a/dev-tools/maven/lucene/analysis/morfologik/pom.xml.template +++ /dev/null @@ -1,78 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-morfologik - jar - Lucene Morfologik Polish Lemmatizer - - A dictionary-driven lemmatizer for Polish (includes morphosyntactic annotations) - - - lucene/analysis/morfologik - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-analyzers-morfologik.internal.dependencies@ -@lucene-analyzers-morfologik.external.dependencies@ -@lucene-analyzers-morfologik.internal.test.dependencies@ -@lucene-analyzers-morfologik.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - ${module-path}/src/test-files - - - - 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 ac37a089d3d..00000000000 --- a/dev-tools/maven/lucene/analysis/nori/pom.xml.template +++ /dev/null @@ -1,75 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-nori - jar - Lucene Nori Korean Morphological Analyzer - - Lucene Nori Korean Morphological Analyzer - - - lucene/analysis/nori - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-analyzers-nori.internal.dependencies@ -@lucene-analyzers-nori.external.dependencies@ -@lucene-analyzers-nori.internal.test.dependencies@ -@lucene-analyzers-nori.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 4109a0ab991..00000000000 --- a/dev-tools/maven/lucene/analysis/opennlp/pom.xml.template +++ /dev/null @@ -1,78 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-opennlp - jar - Lucene OpenNLP integration - - Lucene OpenNLP integration - - - lucene/analysis/opennlp - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - - @lucene-analyzers-opennlp.internal.dependencies@ - @lucene-analyzers-opennlp.external.dependencies@ - @lucene-analyzers-opennlp.internal.test.dependencies@ - @lucene-analyzers-opennlp.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - ${module-path}/src/test-files - - - - 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 a8e8e9307fa..00000000000 --- a/dev-tools/maven/lucene/analysis/phonetic/pom.xml.template +++ /dev/null @@ -1,75 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-phonetic - jar - Lucene Phonetic Filters - - Provides phonetic encoding via Commons Codec. - - - lucene/analysis/phonetic - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-analyzers-phonetic.internal.dependencies@ -@lucene-analyzers-phonetic.external.dependencies@ -@lucene-analyzers-phonetic.internal.test.dependencies@ -@lucene-analyzers-phonetic.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 f41aa062862..00000000000 --- a/dev-tools/maven/lucene/analysis/pom.xml.template +++ /dev/null @@ -1,55 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-analysis-modules-aggregator - Lucene Analysis Modules aggregator POM - pom - - common - icu - kuromoji - morfologik - nori - opennlp - phonetic - smartcn - stempel - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - 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 a795b760485..00000000000 --- a/dev-tools/maven/lucene/analysis/smartcn/pom.xml.template +++ /dev/null @@ -1,73 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-smartcn - jar - Lucene Smart Chinese Analyzer - Smart Chinese Analyzer - - lucene/analysis/smartcn - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-analyzers-smartcn.internal.dependencies@ -@lucene-analyzers-smartcn.external.dependencies@ -@lucene-analyzers-smartcn.internal.test.dependencies@ -@lucene-analyzers-smartcn.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 f32e0671d26..00000000000 --- a/dev-tools/maven/lucene/analysis/stempel/pom.xml.template +++ /dev/null @@ -1,73 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../pom.xml - - org.apache.lucene - lucene-analyzers-stempel - jar - Lucene Stempel Analyzer - Stempel Analyzer - - lucene/analysis/stempel - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-analyzers-stempel.internal.dependencies@ -@lucene-analyzers-stempel.external.dependencies@ -@lucene-analyzers-stempel.internal.test.dependencies@ -@lucene-analyzers-stempel.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 271276d54b4..00000000000 --- a/dev-tools/maven/lucene/backward-codecs/pom.xml.template +++ /dev/null @@ -1,88 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-backward-codecs - jar - Lucene Memory - - Codecs for older versions of Lucene. - - - lucene/backward-codecs - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-backward-codecs.internal.dependencies@ -@lucene-backward-codecs.external.dependencies@ -@lucene-backward-codecs.internal.test.dependencies@ -@lucene-backward-codecs.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - - 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 6c4a2452d5d..00000000000 --- a/dev-tools/maven/lucene/benchmark/pom.xml.template +++ /dev/null @@ -1,86 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-benchmark - jar - Lucene Benchmark - Lucene Benchmarking Module - - lucene/benchmark - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-benchmark.internal.dependencies@ -@lucene-benchmark.external.dependencies@ -@lucene-benchmark.internal.test.dependencies@ -@lucene-benchmark.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - ${module-path} - - conf/**/* - - - - - - de.thetaphi - forbiddenapis - - - lucene-shared-check-sysout-forbidden-apis - none - - - - - - 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 397d07d499c..00000000000 --- a/dev-tools/maven/lucene/classification/pom.xml.template +++ /dev/null @@ -1,68 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-classification - jar - Lucene Classification - Lucene Classification - - lucene/classification - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-classification.internal.dependencies@ -@lucene-classification.external.dependencies@ -@lucene-classification.internal.test.dependencies@ -@lucene-classification.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 269c23cfa85..00000000000 --- a/dev-tools/maven/lucene/codecs/pom.xml.template +++ /dev/null @@ -1,48 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-codecs-aggregator - pom - Lucene codecs aggregator POM - - src/java - src/test - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - 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 4d2f0272a30..00000000000 --- a/dev-tools/maven/lucene/codecs/src/java/pom.xml.template +++ /dev/null @@ -1,85 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../../pom.xml - - org.apache.lucene - lucene-codecs - jar - Lucene codecs - - Codecs and postings formats for Apache Lucene. - - - lucene/codecs - ../../../../.. - ${relative-top-level}/${module-directory}/src/java - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - -@lucene-codecs.internal.dependencies@ -@lucene-codecs.external.dependencies@ - - - ${module-path} - - - ${module-path}/../resources - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - - - org.apache.maven.plugins - maven-compiler-plugin - - true - - - - de.thetaphi - forbiddenapis - - - lucene-shared-test-check-forbidden-apis - none - - - - - - 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 d64f899f3b6..00000000000 --- a/dev-tools/maven/lucene/codecs/src/test/pom.xml.template +++ /dev/null @@ -1,84 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../../pom.xml - - org.apache.lucene - lucene-codecs-tests - Lucene codecs tests - jar - - lucene/codecs - ../../../../.. - ${relative-top-level}/${module-directory}/src/test - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.lucene - lucene-codecs - test - -@lucene-codecs.internal.test.dependencies@ -@lucene-codecs.external.test.dependencies@ - - - - ${module-path} - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - de.thetaphi - forbiddenapis - - - lucene-shared-check-forbidden-apis - none - - - - - - 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 f06e1e29ce1..00000000000 --- a/dev-tools/maven/lucene/core/pom.xml.template +++ /dev/null @@ -1,48 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-core-aggregator - pom - Lucene Core aggregator POM - - src/java - src/test - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - 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 89cdfe85e9b..00000000000 --- a/dev-tools/maven/lucene/core/src/java/pom.xml.template +++ /dev/null @@ -1,79 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../../pom.xml - - org.apache.lucene - lucene-core - jar - Lucene Core - Apache Lucene Java Core - - lucene/core - ../../../../.. - ${relative-top-level}/${module-directory}/src/java - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - ${module-path} - - - ${module-path}/../resources - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - - - org.apache.maven.plugins - maven-compiler-plugin - - true - - - - de.thetaphi - forbiddenapis - - - lucene-shared-test-check-forbidden-apis - none - - - - - - 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 d50e7e67c64..00000000000 --- a/dev-tools/maven/lucene/core/src/test/pom.xml.template +++ /dev/null @@ -1,84 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../../../pom.xml - - org.apache.lucene - lucene-core-tests - Lucene Core tests - jar - - lucene/core - ../../../../.. - ${relative-top-level}/${module-directory}/src/test - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.lucene - lucene-core - test - -@lucene-core.internal.test.dependencies@ -@lucene-core.external.test.dependencies@ - - - - ${module-path} - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - de.thetaphi - forbiddenapis - - - lucene-shared-check-forbidden-apis - none - - - - - - 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 fc550add254..00000000000 --- a/dev-tools/maven/lucene/demo/pom.xml.template +++ /dev/null @@ -1,85 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-demo - jar - Lucene Demo - This is the demo for Apache Lucene Java - - lucene/demo - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-demo.internal.dependencies@ -@lucene-demo.external.dependencies@ -@lucene-demo.internal.test.dependencies@ -@lucene-demo.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - de.thetaphi - forbiddenapis - - - lucene-shared-check-sysout-forbidden-apis - none - - - - - - 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 18ea18a1440..00000000000 --- a/dev-tools/maven/lucene/expressions/pom.xml.template +++ /dev/null @@ -1,62 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-expressions - jar - Lucene Expressions - - Dynamically computed values to sort/facet/search on based on a pluggable grammar. - - - lucene/expressions - ../../.. - ${relative-top-level}/${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-expressions.internal.dependencies@ -@lucene-expressions.external.dependencies@ -@lucene-expressions.internal.test.dependencies@ -@lucene-expressions.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - 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 9d6d80dfe48..00000000000 --- a/dev-tools/maven/lucene/facet/pom.xml.template +++ /dev/null @@ -1,75 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-facet - jar - Lucene Facets - - Package for Faceted Indexing and Search - - - lucene/facet - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-facet.internal.dependencies@ -@lucene-facet.external.dependencies@ -@lucene-facet.internal.test.dependencies@ -@lucene-facet.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 6314b72951d..00000000000 --- a/dev-tools/maven/lucene/grouping/pom.xml.template +++ /dev/null @@ -1,68 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-grouping - jar - Lucene Grouping - Lucene Grouping Module - - lucene/grouping - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-grouping.internal.dependencies@ -@lucene-grouping.external.dependencies@ -@lucene-grouping.internal.test.dependencies@ -@lucene-grouping.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 ea31e63cca7..00000000000 --- a/dev-tools/maven/lucene/highlighter/pom.xml.template +++ /dev/null @@ -1,70 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-highlighter - jar - Lucene Highlighter - - This is the highlighter for apache lucene java - - - lucene/highlighter - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-highlighter.internal.dependencies@ -@lucene-highlighter.external.dependencies@ -@lucene-highlighter.internal.test.dependencies@ -@lucene-highlighter.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 161e558a43a..00000000000 --- a/dev-tools/maven/lucene/join/pom.xml.template +++ /dev/null @@ -1,68 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-join - jar - Lucene Join - Lucene Join Module - - lucene/join - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-join.internal.dependencies@ -@lucene-join.external.dependencies@ -@lucene-join.internal.test.dependencies@ -@lucene-join.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 dcaeb12ddd8..00000000000 --- a/dev-tools/maven/lucene/memory/pom.xml.template +++ /dev/null @@ -1,70 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-memory - jar - Lucene Memory - - High-performance single-document index to compare against Query - - - lucene/memory - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-memory.internal.dependencies@ -@lucene-memory.external.dependencies@ -@lucene-memory.internal.test.dependencies@ -@lucene-memory.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 a4bcac2aaad..00000000000 --- a/dev-tools/maven/lucene/misc/pom.xml.template +++ /dev/null @@ -1,68 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-misc - jar - Lucene Miscellaneous - Miscellaneous Lucene extensions - - lucene/misc - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-misc.internal.dependencies@ -@lucene-misc.external.dependencies@ -@lucene-misc.internal.test.dependencies@ -@lucene-misc.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 3d915e94777..00000000000 --- a/dev-tools/maven/lucene/monitor/pom.xml.template +++ /dev/null @@ -1,70 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-monitor - jar - Lucene Monitor - - High-performance single-document index to compare against Query - - - lucene/monitor - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-monitor.internal.dependencies@ -@lucene-monitor.external.dependencies@ -@lucene-monitor.internal.test.dependencies@ -@lucene-monitor.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - diff --git a/dev-tools/maven/lucene/pom.xml.template b/dev-tools/maven/lucene/pom.xml.template deleted file mode 100644 index 1093bc496cd..00000000000 --- a/dev-tools/maven/lucene/pom.xml.template +++ /dev/null @@ -1,127 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-solr-grandparent - @version@ - ../pom.xml - - org.apache.lucene - lucene-parent - pom - Lucene parent POM - Lucene parent POM - - lucene - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - core - backward-codecs - codecs - test-framework - analysis - benchmark - classification - demo - expressions - facet - grouping - highlighter - join - memory - misc - monitor - queries - queryparser - replicator - sandbox - spatial-extras - spatial3d - suggest - - - - - de.thetaphi - forbiddenapis - - - lucene-shared-check-forbidden-apis - - - - jdk-unsafe - jdk-deprecated - jdk-non-portable - jdk-reflection - - - ${top-level}/lucene/tools/forbiddenApis/base.txt - ${top-level}/lucene/tools/forbiddenApis/lucene.txt - - - - check - - - - lucene-shared-check-sysout-forbidden-apis - - - jdk-system-out - - - - check - - - - lucene-shared-test-check-forbidden-apis - - - - jdk-unsafe - jdk-deprecated - jdk-non-portable - jdk-reflection - - - ${top-level}/lucene/tools/forbiddenApis/tests.txt - ${top-level}/lucene/tools/forbiddenApis/base.txt - ${top-level}/lucene/tools/forbiddenApis/lucene.txt - - - - testCheck - - - - - - - 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 778d75ca862..00000000000 --- a/dev-tools/maven/lucene/queries/pom.xml.template +++ /dev/null @@ -1,68 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-queries - jar - Lucene Queries - Lucene Queries Module - - lucene/queries - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-queries.internal.dependencies@ -@lucene-queries.external.dependencies@ -@lucene-queries.internal.test.dependencies@ -@lucene-queries.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 3f42d23b336..00000000000 --- a/dev-tools/maven/lucene/queryparser/pom.xml.template +++ /dev/null @@ -1,86 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-queryparser - jar - Lucene QueryParsers - Lucene QueryParsers module - - lucene/queryparser - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-queryparser.internal.dependencies@ -@lucene-queryparser.external.dependencies@ -@lucene-queryparser.internal.test.dependencies@ -@lucene-queryparser.external.test.dependencies@ - - - ${module-path}/src/java - - - ${module-path}/src/resources - - - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - - 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 3fbeb09954e..00000000000 --- a/dev-tools/maven/lucene/replicator/pom.xml.template +++ /dev/null @@ -1,74 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-replicator - jar - Lucene Replicator - Lucene Replicator Module - - lucene/replicator - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-replicator.internal.dependencies@ -@lucene-replicator.external.dependencies@ -@lucene-replicator.internal.test.dependencies@ -@lucene-replicator.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - 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 a59187b6c98..00000000000 --- a/dev-tools/maven/lucene/sandbox/pom.xml.template +++ /dev/null @@ -1,73 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-sandbox - jar - Lucene Sandbox - Lucene Sandbox - - lucene/sandbox - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-sandbox.internal.dependencies@ -@lucene-sandbox.external.dependencies@ -@lucene-sandbox.internal.test.dependencies@ -@lucene-sandbox.external.test.dependencies@ - - - ${module-path}/src/java - - - ${module-path}/src/resources - - - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 9100ab47a2f..00000000000 --- a/dev-tools/maven/lucene/spatial-extras/pom.xml.template +++ /dev/null @@ -1,69 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-spatial-extras - jar - Lucene Spatial Extras - - Advanced Spatial Shape Strategies for Apache Lucene - - - lucene/spatial-extras - ../../.. - ${relative-top-level}/${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.lucene - lucene-spatial3d - ${project.version} - test-jar - test - -@lucene-spatial-extras.internal.dependencies@ -@lucene-spatial-extras.external.dependencies@ -@lucene-spatial-extras.internal.test.dependencies@ -@lucene-spatial-extras.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - - 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 43b29a8b3f1..00000000000 --- a/dev-tools/maven/lucene/spatial3d/pom.xml.template +++ /dev/null @@ -1,70 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-spatial3d - jar - Lucene Spatial 3D - - Lucene Spatial shapes implemented using 3D planar geometry - - - lucene/spatial3d - ../../.. - ${relative-top-level}/${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-spatial3d.internal.dependencies@ -@lucene-spatial3d.external.dependencies@ -@lucene-spatial3d.internal.test.dependencies@ -@lucene-spatial3d.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - - 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 f48f2640b74..00000000000 --- a/dev-tools/maven/lucene/suggest/pom.xml.template +++ /dev/null @@ -1,73 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-suggest - jar - Lucene Suggest - Lucene Suggest Module - - lucene/suggest - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - org.apache.lucene - lucene-test-framework - test - -@lucene-suggest.internal.dependencies@ -@lucene-suggest.external.dependencies@ -@lucene-suggest.internal.test.dependencies@ -@lucene-suggest.external.test.dependencies@ - - - ${module-path}/src/java - - - ${module-path}/src/resources - - - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - 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 df8a7bd751c..00000000000 --- a/dev-tools/maven/lucene/test-framework/pom.xml.template +++ /dev/null @@ -1,109 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-parent - @version@ - ../pom.xml - - org.apache.lucene - lucene-test-framework - jar - Lucene Test Framework - Apache Lucene Java Test Framework - - lucene/test-framework - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - -@lucene-test-framework.internal.dependencies@ -@lucene-test-framework.external.dependencies@ -@lucene-test-framework.internal.test.dependencies@ -@lucene-test-framework.external.test.dependencies@ - - - ${module-path}/src/java - - - ${module-path}/src/resources - - - ${project.build.sourceDirectory} - - **/*.java - - - - ${module-path}/src/test - - - ${project.build.testSourceDirectory} - - **/*.java - - - - - - de.thetaphi - forbiddenapis - - - lucene-shared-check-forbidden-apis - none - - - lucene-shared-test-check-forbidden-apis - - check - testCheck - - - - lucene-shared-check-sysout-forbidden-apis - none - - - - - - - - sonatype.releases - Sonatype Releases Repository - https://oss.sonatype.org/content/repositories/releases - - true - - - never - - - - diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.template deleted file mode 100644 index d0ce0223fcf..00000000000 --- a/dev-tools/maven/pom.xml.template +++ /dev/null @@ -1,475 +0,0 @@ - - - 4.0.0 - - org.apache - apache - 21 - - - org.apache.lucene - lucene-solr-grandparent - @version@ - pom - Grandparent POM for Apache Lucene Core and Apache Solr - Grandparent POM for Apache Lucene Core and Apache Solr - https://lucene.apache.org - - lucene - solr - - - https://gitbox.apache.org/repos/asf/lucene-solr.git - https://gitbox.apache.org/repos/asf/lucene-solr.git - https://gitbox.apache.org/repos/asf?p=lucene-solr.git - @spec.version@ - yyyy-MM-dd HH:mm:ss - 11 - 9.3.8.v20160314 - - - 1 - - - - - - - - random - random - random - @version.base@ - 1 - false - random - random - false - ${tests.verbose} - - - JIRA - https://issues.apache.org/jira/browse/LUCENE - - - Jenkins - https://builds.apache.org/computer/lucene/ - - - - General List - general-subscribe@lucene.apache.org - general-unsubscribe@lucene.apache.org - - https://mail-archives.apache.org/mod_mbox/lucene-general/ - - - - Java User List - java-user-subscribe@lucene.apache.org - java-user-unsubscribe@lucene.apache.org - - https://mail-archives.apache.org/mod_mbox/lucene-java-user/ - - - - Java Developer List - dev-subscribe@lucene.apache.org - dev-unsubscribe@lucene.apache.org - https://mail-archives.apache.org/mod_mbox/lucene-dev/ - - - Java Commits List - commits-subscribe@lucene.apache.org - commits-unsubscribe@lucene.apache.org - - https://mail-archives.apache.org/mod_mbox/lucene-java-commits/ - - - - 2000 - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url} - - - - Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - - - - - apache.snapshots - Apache Snapshot Repository - https://repository.apache.org/snapshots - - false - - - - false - never - - - - - -@lucene.solr.dependency.management@ - - - - 2.2.1 - - - - junit - junit - test - - - com.carrotsearch.randomizedtesting - randomizedtesting-runner - test - - - - - - - de.thetaphi - forbiddenapis - 3.0.1 - - - false - ${java.compat.version} - - **.SuppressForbidden - - - - - org.apache.maven.plugins - maven-antrun-plugin - 1.8 - - - org.apache.maven.plugins - maven-clean-plugin - 3.1.0 - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.0 - - ${java.compat.version} - ${java.compat.version} - - - -proc:none - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.1.1 - - - org.apache.maven.plugins - maven-deploy-plugin - 3.0.0-M1 - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M2 - - - org.apache.maven.plugins - maven-install-plugin - 3.0.0-M1 - - - org.apache.maven.plugins - maven-jar-plugin - 3.1.1 - - - - false - false - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.1.0 - - true - -Xdoclint:all - -Xdoclint:-missing - - - - org.apache.maven.plugins - maven-resources-plugin - 3.1.0 - - - org.apache.maven.plugins - maven-remote-resources-plugin - 1.6.0 - - - org.apache.maven.plugins - maven-site-plugin - 3.7.1 - - - org.apache.maven.plugins - maven-surefire-plugin - 2.17 - - random - plain - ${project.build.directory}/test - true - -Xmx512M - - . - true - - - - - ${tests.iters} - ${tests.seed} - ${tests.nightly} - ${tests.weekly} - ${tests.awaitsfix} - ${tests.slow} - - - 1 - ${tests.codec} - ${tests.directory} - ${tests.infostream} - ${tests.locale} - ${tests.luceneMatchVersion} - ${tests.multiplier} - ${tests.postingsformat} - ${tests.timezone} - ${tests.verbose} - file:/dev/./urandom - - - - - org.apache.maven.plugins - maven-war-plugin - 3.2.2 - - - - - - - - ${project.groupId} - ${project.groupId} - ${project.name} - ${specification.version} - The Apache Software Foundation - - ${project.version} ${checkoutid} - ${user.name} - ${now.timestamp} - The Apache Software Foundation - ${project.groupId} - ${java.compat.version} - ${java.compat.version} - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 3.0.0 - - - org.codehaus.mojo - buildnumber-maven-plugin - 1.4 - - - org.mortbay.jetty - jetty-maven-plugin - ${jetty.version} - - - org.codehaus.gmaven - gmaven-plugin - 1.5 - - - - - - org.codehaus.gmaven - gmaven-plugin - - - generate-timestamps-and-get-top-level-basedir - validate - - execute - - - - project.properties['now.timestamp'] = "${maven.build.timestamp}" - project.properties['now.version'] = ("${maven.build.timestamp}" =~ /[- :]/).replaceAll(".") - project.properties['now.year'] = "${maven.build.timestamp}".substring(0, 4) - project.properties['top-level'] = (project.basedir.getAbsolutePath() =~ /[\\\\\/]maven-build.*/).replaceAll("") - - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - - - validate - - create - - - - - false - false - true - NO-REVISION-AVAILABLE - checkoutid - ${top-level} - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-java-compat-version-and-maven-3.0.0 - - enforce - - - - - Java ${java.compat.version}+ is required. - [${java.compat.version},) - - - Maven 3.5.0+ is required. - [3.5.0,) - - - - - - - - - - - maven-jar-plugin - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - - - - org.apache.felix - maven-bundle-plugin - 4.2.0 - - - *;-split-package:=merge-first - - - - - - ${project.groupId} - ${project.groupId} - ${project.name} - ${specification.version} - The Apache Software Foundation - - ${project.version} ${checkoutid} - ${user.name} - ${now.timestamp} - The Apache Software Foundation - ${project.groupId} - ${java.compat.version} - ${java.compat.version} - - - - - bundle-manifest - process-classes - - manifest - - - - - - - - - - bootstrap - - - - org.apache.maven.plugins - maven-install-plugin - - - - - - - - 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 a0b3702b20d..00000000000 --- a/dev-tools/maven/solr/contrib/analysis-extras/pom.xml.template +++ /dev/null @@ -1,85 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-analysis-extras - jar - Apache Solr Analysis Extras - Apache Solr Analysis Extras - - solr/contrib/analysis-extras - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - org.apache.lucene - lucene-analyzers-common - ${project.version} - test-jar - test - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - -@solr-analysis-extras.internal.dependencies@ -@solr-analysis-extras.external.dependencies@ -@solr-analysis-extras.internal.test.dependencies@ -@solr-analysis-extras.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 afd53c1a606..00000000000 --- a/dev-tools/maven/solr/contrib/analytics/pom.xml.template +++ /dev/null @@ -1,80 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-analytics - jar - Apache Solr Analytics Package - - Apache Solr Content Analytics Package - - - solr/contrib/analytics - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - - @solr-analytics.internal.dependencies@ - @solr-analytics.external.dependencies@ - @solr-analytics.internal.test.dependencies@ - @solr-analytics.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 831dedeeca9..00000000000 --- a/dev-tools/maven/solr/contrib/clustering/pom.xml.template +++ /dev/null @@ -1,78 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-clustering - jar - Apache Solr Clustering - Apache Solr Clustering - - solr/contrib/clustering - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - -@solr-clustering.internal.dependencies@ -@solr-clustering.external.dependencies@ -@solr-clustering.internal.test.dependencies@ -@solr-clustering.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 21ccf5e2daa..00000000000 --- a/dev-tools/maven/solr/contrib/dataimporthandler-extras/pom.xml.template +++ /dev/null @@ -1,85 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-dataimporthandler-extras - jar - Apache Solr DataImportHandler Extras - Apache Solr DataImportHandler Extras - - solr/contrib/dataimporthandler-extras - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - - - org.apache.solr - solr-dataimporthandler - ${project.version} - test-jar - test - -@solr-dataimporthandler-extras.internal.dependencies@ -@solr-dataimporthandler-extras.external.dependencies@ -@solr-dataimporthandler-extras.internal.test.dependencies@ -@solr-dataimporthandler-extras.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 3992f9d5e8a..00000000000 --- a/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml.template +++ /dev/null @@ -1,91 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-dataimporthandler - jar - Apache Solr DataImportHandler - Apache Solr DataImportHandler - - solr/contrib/dataimporthandler - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - -@solr-dataimporthandler.internal.dependencies@ -@solr-dataimporthandler.external.dependencies@ -@solr-dataimporthandler.internal.test.dependencies@ -@solr-dataimporthandler.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - test-jar - - - - - - - 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 3ceaabe8073..00000000000 --- a/dev-tools/maven/solr/contrib/extraction/pom.xml.template +++ /dev/null @@ -1,81 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-cell - jar - Apache Solr Content Extraction Library - - Apache Solr Content Extraction Library integrates Apache Tika - content extraction framework into Solr - - - solr/contrib/extraction - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - -@solr-cell.internal.dependencies@ -@solr-cell.external.dependencies@ -@solr-cell.internal.test.dependencies@ -@solr-cell.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 72341854c50..00000000000 --- a/dev-tools/maven/solr/contrib/jaegertracer-configurator/pom.xml.template +++ /dev/null @@ -1,80 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-jaegertracer-configurator - jar - Apache Solr Jaeger Tracer Configurator Package - - Apache Solr Jaeger Tracer Configurator Package - - - solr/contrib/jaegertracer-configurator - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - - @solr-jaegertracer-configurator.internal.dependencies@ - @solr-jaegertracer-configurator.external.dependencies@ - @solr-jaegertracer-configurator.internal.test.dependencies@ - @solr-jaegertracer-configurator.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 654348141ee..00000000000 --- a/dev-tools/maven/solr/contrib/langid/pom.xml.template +++ /dev/null @@ -1,87 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-langid - jar - Apache Solr Language Identifier - - 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. - - - solr/contrib/langid - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - -@solr-langid.internal.dependencies@ -@solr-langid.external.dependencies@ -@solr-langid.internal.test.dependencies@ -@solr-langid.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 9506cb478f7..00000000000 --- a/dev-tools/maven/solr/contrib/ltr/pom.xml.template +++ /dev/null @@ -1,80 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-ltr - jar - Apache Solr Learning to Rank Package - - Apache Solr Learning to Rank Package - - - solr/contrib/ltr - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - - @solr-ltr.internal.dependencies@ - @solr-ltr.external.dependencies@ - @solr-ltr.internal.test.dependencies@ - @solr-ltr.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 d8280e40034..00000000000 --- a/dev-tools/maven/solr/contrib/pom.xml.template +++ /dev/null @@ -1,57 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../pom.xml - - org.apache.solr - solr-contrib-aggregator - Apache Solr Contrib aggregator POM - pom - - analysis-extras - analytics - clustering - dataimporthandler - dataimporthandler-extras - extraction - jaegertracer-configurator - langid - ltr - prometheus-exporter - velocity - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - 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 1d2d5087ff0..00000000000 --- a/dev-tools/maven/solr/contrib/prometheus-exporter/pom.xml.template +++ /dev/null @@ -1,80 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-prometheus-exporter - jar - Apache Solr Prometheus Exporter Package - - Apache Solr Prometheus Exporter Package - - - solr/contrib/prometheus-exporter - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - - @solr-prometheus-exporter.internal.dependencies@ - @solr-prometheus-exporter.external.dependencies@ - @solr-prometheus-exporter.internal.test.dependencies@ - @solr-prometheus-exporter.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 82f12eed51e..00000000000 --- a/dev-tools/maven/solr/contrib/velocity/pom.xml.template +++ /dev/null @@ -1,89 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../pom.xml - - org.apache.solr - solr-velocity - jar - Apache Solr Velocity - Apache Solr Velocity - - solr/contrib/velocity - ../../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - -@solr-velocity.internal.dependencies@ -@solr-velocity.external.dependencies@ -@solr-velocity.internal.test.dependencies@ -@solr-velocity.external.test.dependencies@ - - - ${module-path}/src/java - - - ${module-path}/src/resources - - - ${module-path}/src/test - - - ${module-path}/src/test-files - - - ${module-path}/src/test - - velocity/*.properties - - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - 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 7c4942a677c..00000000000 --- a/dev-tools/maven/solr/core/pom.xml.template +++ /dev/null @@ -1,48 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../pom.xml - - org.apache.solr - solr-core-aggregator - pom - Apache Solr Core aggregator POM - - src/java - src/test - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - 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 5c63aefba7f..00000000000 --- a/dev-tools/maven/solr/core/src/java/pom.xml.template +++ /dev/null @@ -1,84 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../../pom.xml - - org.apache.solr - solr-core - jar - Apache Solr Core - Apache Solr Core - - solr/core - ../../../../.. - ${relative-top-level}/${module-directory}/src/java - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - -@solr-core.internal.dependencies@ -@solr-core.external.dependencies@ - - - ${module-path} - - - ${module-path}/../resources - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - - - org.apache.maven.plugins - maven-compiler-plugin - - true - - - - de.thetaphi - forbiddenapis - - - solr-shared-test-check-forbidden-apis - none - - - - - - 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 154f904c71d..00000000000 --- a/dev-tools/maven/solr/core/src/test/pom.xml.template +++ /dev/null @@ -1,155 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../../pom.xml - - org.apache.solr - solr-core-tests - Apache Solr Core tests - jar - - solr/core - ../../../../.. - ${relative-top-level}/${module-directory}/src/test - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - - - org.apache.solr - solr-core - test - - - org.apache.lucene - lucene-queryparser - ${project.version} - test-jar - test - - - org.apache.lucene - lucene-backward-codecs - ${project.version} - test-jar - test - -@solr-core.internal.test.dependencies@ -@solr-core.external.test.dependencies@ - - - - - ../java/target/classes - ${module-path} - - - ${module-path}/../test-files - - **/*.java - - - - ${project.build.testSourceDirectory} - - **/*.java - - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - none - - - - - org.apache.maven.plugins - maven-install-plugin - - true - - - - org.apache.felix - maven-bundle-plugin - 2.5.3 - - true - - - - de.thetaphi - forbiddenapis - - - solr-shared-check-forbidden-apis - none - - - solr-shared-test-check-forbidden-apis - - - - org/apache/solr/internal/**/*.class - org/apache/hadoop/** - - - - - - - - diff --git a/dev-tools/maven/solr/maven.testlogging.properties b/dev-tools/maven/solr/maven.testlogging.properties deleted file mode 100644 index 4a4df0eab77..00000000000 --- 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 827eb26401a..00000000000 --- a/dev-tools/maven/solr/pom.xml.template +++ /dev/null @@ -1,186 +0,0 @@ - - - 4.0.0 - - org.apache.lucene - lucene-solr-grandparent - @version@ - ../pom.xml - - org.apache.solr - solr-parent - pom - Apache Solr parent POM - Apache Solr parent POM - - core - solrj - test-framework - contrib - - - solr - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - JIRA - https://issues.apache.org/jira/browse/SOLR - - - - Solr User List - solr-user-subscribe@lucene.apache.org - solr-user-unsubscribe@lucene.apache.org - - https://mail-archives.apache.org/mod_mbox/solr-user/ - - - - Java Developer List - dev-subscribe@lucene.apache.org - dev-unsubscribe@lucene.apache.org - https://mail-archives.apache.org/mod_mbox/lucene-dev/ - - - Java Commits List - commits-subscribe@lucene.apache.org - commits-unsubscribe@lucene.apache.org - - https://mail-archives.apache.org/mod_mbox/lucene-java-commits/ - - - - 2006 - - - maven-restlet - Public online Restlet repository - https://maven.restlet.com - - - releases.cloudera.com - Cloudera Releases - https://repository.cloudera.com/artifactory/libs-release-local/ - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - ${project.name} ${project.version} API (${now.version}) - ${project.name} ${project.version} API (${now.version}) - - - - org.apache.maven.plugins - maven-surefire-plugin - - - ${tests.disableHdfs} - - - - - - - - de.thetaphi - forbiddenapis - - - solr-shared-check-forbidden-apis - - - false - - jdk-unsafe - jdk-deprecated - jdk-non-portable - jdk-reflection - commons-io-unsafe-@commons-io:commons-io.version@ - - - ${top-level}/lucene/tools/forbiddenApis/base.txt - ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt - ${top-level}/lucene/tools/forbiddenApis/solr.txt - - - - check - - - - solr-shared-test-check-forbidden-apis - - - false - - jdk-unsafe - jdk-deprecated - jdk-non-portable - jdk-reflection - commons-io-unsafe-@commons-io:commons-io.version@ - - - ${top-level}/lucene/tools/forbiddenApis/base.txt - ${top-level}/lucene/tools/forbiddenApis/servlet-api.txt - ${top-level}/lucene/tools/forbiddenApis/solr.txt - ${top-level}/lucene/tools/forbiddenApis/tests.txt - - - - testCheck - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - ${top-level}/solr/testlogging.properties - - - - - - - - windows-tests-disableHdfs - - windows - - - true - - - - 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 8dbccd5b37e..00000000000 --- a/dev-tools/maven/solr/solrj/pom.xml.template +++ /dev/null @@ -1,48 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../pom.xml - - org.apache.solr - solr-solrj-aggregator - pom - Apache Solr Solrj aggregator POM - - src/java - src/test - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - - 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 bb792c4f989..00000000000 --- a/dev-tools/maven/solr/solrj/src/java/pom.xml.template +++ /dev/null @@ -1,78 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../../pom.xml - - org.apache.solr - solr-solrj - jar - Apache Solr Solrj - Apache Solr Solrj - - solr/solrj - ../../../../.. - ${relative-top-level}/${module-directory}/src/java - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - -@solr-solrj.internal.dependencies@ -@solr-solrj.external.dependencies@ - - - ${module-path} - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - - - org.apache.maven.plugins - maven-compiler-plugin - - true - - - - de.thetaphi - forbiddenapis - - - solr-shared-test-check-forbidden-apis - none - - - - - - 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 93c14b3bd6a..00000000000 --- a/dev-tools/maven/solr/solrj/src/test/pom.xml.template +++ /dev/null @@ -1,122 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../../../pom.xml - - org.apache.solr - solr-solrj-tests - Apache Solr Solrj tests - jar - - solr/solrj - ../../../../.. - ${relative-top-level}/${module-directory}/src/test - - - - - - - org.apache.lucene - lucene-test-framework - test - - - org.apache.solr - solr-test-framework - test - - - org.apache.solr - solr-solrj - test - -@solr-solrj.internal.test.dependencies@ -@solr-solrj.external.test.dependencies@ - - - - - ../java/target/classes - ${module-path} - - - ${module-path}/../test-files - - - ${top-level}/dev-tools/maven/solr - - maven.testlogging.properties - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - none - - - - - org.apache.maven.plugins - maven-install-plugin - - true - - - - org.apache.felix - maven-bundle-plugin - 2.5.3 - - true - - - - de.thetaphi - forbiddenapis - - - solr-shared-check-forbidden-apis - none - - - - - - 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 3f55647ea3c..00000000000 --- a/dev-tools/maven/solr/test-framework/pom.xml.template +++ /dev/null @@ -1,95 +0,0 @@ - - - 4.0.0 - - org.apache.solr - solr-parent - @version@ - ../pom.xml - - org.apache.solr - solr-test-framework - jar - Apache Solr Test Framework - Apache Solr Test Framework - - solr/test-framework - ../../.. - ${relative-top-level}/${module-directory} - - - scm:git:${vc-anonymous-base-url} - scm:git:${vc-dev-base-url} - ${vc-browse-base-url};f=${module-directory} - - - - - - org.apache.lucene - lucene-test-framework - -@solr-test-framework.internal.dependencies@ -@solr-test-framework.external.dependencies@ -@solr-test-framework.internal.test.dependencies@ -@solr-test-framework.external.test.dependencies@ - - - ${module-path}/src/java - ${module-path}/src/test - - - ${module-path}/src/resources - - - - - ${module-path}/src/test-files - - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - - - de.thetaphi - forbiddenapis - - - solr-shared-check-forbidden-apis - none - - - solr-shared-test-check-forbidden-apis - - check - - - - - - - diff --git a/lucene/BUILD.md b/lucene/BUILD.md index 68102253d29..9846ed74570 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 . -This file was modified by Jon S. Stevens . - -Copyright (c) 2001-2020 The Apache Software Foundation. All rights reserved. diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index efca4ab6874..ac3025b4f0f 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -160,6 +160,8 @@ Other * LUCENE-9411: Fail complation on warnings, 9x gradle-only (Erick Erickson, Dawid Weiss) Deserves mention here as well as Lucene CHANGES.txt since it affects both. +* LUCENE-9433: Remove Ant support from trunk (Erick Erickson, Uwe Schindler et.al.) + ======================= Lucene 8.7.0 ======================= API Changes diff --git a/lucene/analysis/analysis-module-build.xml b/lucene/analysis/analysis-module-build.xml deleted file mode 100644 index b6c88f77109..00000000000 --- a/lucene/analysis/analysis-module-build.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/build.xml b/lucene/analysis/build.xml deleted file mode 100644 index 6dc15007818..00000000000 --- a/lucene/analysis/build.xml +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/common/build.xml b/lucene/analysis/common/build.xml deleted file mode 100644 index 21c5fda99a8..00000000000 --- a/lucene/analysis/common/build.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - Analyzers for indexing content in different languages and domains. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/common/ivy.xml b/lucene/analysis/common/ivy.xml deleted file mode 100644 index 9c5376bda40..00000000000 --- a/lucene/analysis/common/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/analysis/icu/build.xml b/lucene/analysis/icu/build.xml deleted file mode 100644 index 32ab34d561c..00000000000 --- a/lucene/analysis/icu/build.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - Analysis integration with ICU (International Components for Unicode). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/icu/ivy.xml b/lucene/analysis/icu/ivy.xml deleted file mode 100644 index 97b58f35a65..00000000000 --- a/lucene/analysis/icu/ivy.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - diff --git a/lucene/analysis/kuromoji/build.xml b/lucene/analysis/kuromoji/build.xml deleted file mode 100644 index 7afa31d3e92..00000000000 --- a/lucene/analysis/kuromoji/build.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - Japanese Morphological Analyzer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/kuromoji/ivy.xml b/lucene/analysis/kuromoji/ivy.xml deleted file mode 100644 index ee256b9aa45..00000000000 --- a/lucene/analysis/kuromoji/ivy.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/morfologik/build.xml b/lucene/analysis/morfologik/build.xml deleted file mode 100644 index fca0622e95f..00000000000 --- a/lucene/analysis/morfologik/build.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - Analyzer for dictionary stemming, built-in Polish dictionary - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/morfologik/ivy.xml b/lucene/analysis/morfologik/ivy.xml deleted file mode 100644 index f0cc2343fe3..00000000000 --- a/lucene/analysis/morfologik/ivy.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - diff --git a/lucene/analysis/nori/build.xml b/lucene/analysis/nori/build.xml deleted file mode 100644 index 7d5b0b99f41..00000000000 --- a/lucene/analysis/nori/build.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - Korean Morphological Analyzer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/nori/ivy.xml b/lucene/analysis/nori/ivy.xml deleted file mode 100644 index 8d329376d11..00000000000 --- a/lucene/analysis/nori/ivy.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/opennlp/build.xml b/lucene/analysis/opennlp/build.xml deleted file mode 100644 index 04f7eacb277..00000000000 --- a/lucene/analysis/opennlp/build.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - - - OpenNLP Library Integration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/analysis/opennlp/ivy.xml b/lucene/analysis/opennlp/ivy.xml deleted file mode 100644 index cbbae64790e..00000000000 --- a/lucene/analysis/opennlp/ivy.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - diff --git a/lucene/analysis/phonetic/build.xml b/lucene/analysis/phonetic/build.xml deleted file mode 100644 index 49d5726966a..00000000000 --- a/lucene/analysis/phonetic/build.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - Analyzer for indexing phonetic signatures (for sounds-alike search) - - - - - - - - - - - - diff --git a/lucene/analysis/phonetic/ivy.xml b/lucene/analysis/phonetic/ivy.xml deleted file mode 100644 index df7d800ee60..00000000000 --- a/lucene/analysis/phonetic/ivy.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - diff --git a/lucene/analysis/smartcn/build.xml b/lucene/analysis/smartcn/build.xml deleted file mode 100644 index 01e0682f876..00000000000 --- a/lucene/analysis/smartcn/build.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - Analyzer for indexing Chinese - - - - - - - - - - - diff --git a/lucene/analysis/smartcn/ivy.xml b/lucene/analysis/smartcn/ivy.xml deleted file mode 100644 index 842688df15e..00000000000 --- a/lucene/analysis/smartcn/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/analysis/stempel/build.xml b/lucene/analysis/stempel/build.xml deleted file mode 100644 index 64a823a77f1..00000000000 --- a/lucene/analysis/stempel/build.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - Analyzer for indexing Polish - - - - - - - - - - - diff --git a/lucene/analysis/stempel/ivy.xml b/lucene/analysis/stempel/ivy.xml deleted file mode 100644 index afccee34eb8..00000000000 --- a/lucene/analysis/stempel/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/backward-codecs/build.xml b/lucene/backward-codecs/build.xml deleted file mode 100644 index 3de2979484b..00000000000 --- a/lucene/backward-codecs/build.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - Codecs for older versions of Lucene. - - - - - diff --git a/lucene/backward-codecs/ivy.xml b/lucene/backward-codecs/ivy.xml deleted file mode 100644 index fe933f00b44..00000000000 --- a/lucene/backward-codecs/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/benchmark/build.xml b/lucene/benchmark/build.xml deleted file mode 100644 index 2f53ff4d492..00000000000 --- a/lucene/benchmark/build.xml +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - - - System for benchmarking Lucene - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Working Directory: ${working.dir} - - - - - - - - Working Directory: ${working.dir} - - - - - - - - - - - - - - - - - - - - Running benchmark with alg file: ${collation.alg.file} - - - - - Benchmark output is in file: ${collation.output.file} - Converting to JIRA table format... - - - - - - Benchmark output in JIRA table format is in file: ${collation.jira.output.file} - - - - - - - - - - - - Running benchmark with alg file: ${shingle.alg.file} - - - - - Benchmark output is in file: ${shingle.output.file} - Converting to JIRA table format... - - - - - - Benchmark output in JIRA table format is in file: ${shingle.jira.output.file} - - - - - - - - - - - diff --git a/lucene/benchmark/ivy.xml b/lucene/benchmark/ivy.xml deleted file mode 100644 index 23c208cb3ed..00000000000 --- a/lucene/benchmark/ivy.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/lucene/build.xml b/lucene/build.xml deleted file mode 100644 index a5e17ad114a..00000000000 --- a/lucene/build.xml +++ /dev/null @@ -1,586 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/classification/build.xml b/lucene/classification/build.xml deleted file mode 100644 index 43bcb4b5a1a..00000000000 --- a/lucene/classification/build.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - Classification module for Lucene - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/classification/ivy.xml b/lucene/classification/ivy.xml deleted file mode 100644 index 036c217758f..00000000000 --- a/lucene/classification/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/codecs/build.xml b/lucene/codecs/build.xml deleted file mode 100644 index c50af6cb1b8..00000000000 --- a/lucene/codecs/build.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Lucene codecs and postings formats. - - - - - - - - diff --git a/lucene/codecs/ivy.xml b/lucene/codecs/ivy.xml deleted file mode 100644 index f966fd50fb6..00000000000 --- a/lucene/codecs/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/common-build.xml b/lucene/common-build.xml deleted file mode 100644 index 7bb6e55081e..00000000000 --- a/lucene/common-build.xml +++ /dev/null @@ -1,2605 +0,0 @@ - - - - - - - This file is designed for importing into a main build file, and not intended - for standalone use. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Found disallowed Ivy jar(s): ${disallowed.ivy.jars.list} - - - - - - This build requires Ivy and Ivy could not be found in your ant classpath. - - (Due to classpath issues and the recursive nature of the Lucene/Solr - build system, a local copy of Ivy can not be used an loaded dynamically - by the build.xml) - - You can either manually install a copy of Ivy ${ivy.bootstrap.version} in your ant classpath: - http://ant.apache.org/manual/install.html#optionalTasks - - Or this build file can do it for you by running the Ivy Bootstrap target: - ant ivy-bootstrap - - Either way you will only have to install Ivy one time. - - 'ant ivy-bootstrap' will install a copy of Ivy into your Ant User Library: - ${user.home}/.ant/lib - - If you would prefer, you can have it installed into an alternative - directory using the "-Divy_install_path=/some/path/you/choose" option, - but you will have to specify this path every time you build Lucene/Solr - in the future... - ant ivy-bootstrap -Divy_install_path=/some/path/you/choose - ... - ant -lib /some/path/you/choose clean compile - ... - ant -lib /some/path/you/choose clean compile - - If you have already run ivy-bootstrap, and still get this message, please - try using the "--noconfig" option when running ant, or editing your global - ant config to allow the user lib to be loaded. See the wiki for more details: - http://wiki.apache.org/lucene-java/DeveloperTips#Problems_with_Ivy.3F - - Ivy is not available - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - US-ASCII - ISO-8859-1 - UTF-8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # module: ${ant.project.name} ${junit4.stats.nonIgnored} - - - - - - - - - - - - 5 slowest tests: - - - - - - - - - Showing ${max} slowest tests according to local stats. (change with -Dmax=...). - - - - - Showing ${max} slowest tests in cached stats. (change with -Dmax=...). - - - - - - - - - -# -# Test case filtering. -------------------------------------------- -# -# - 'tests.class' is a class-filtering shell-like glob pattern, -# 'testcase' is an alias of "tests.class=*.${testcase}" -# - 'tests.method' is a method-filtering glob pattern. -# 'testmethod' is an alias of "tests.method=${testmethod}*" -# - -# Run a single test case (variants) -ant test -Dtests.class=org.apache.lucene.package.ClassName -ant test "-Dtests.class=*.ClassName" -ant test -Dtestcase=ClassName - -# Run all tests in a package and sub-packages -ant test "-Dtests.class=org.apache.lucene.package.Test*|org.apache.lucene.package.*Test" - -# Run any test methods that contain 'esi' (like: ...r*esi*ze...). -ant test "-Dtests.method=*esi*" - -# -# Seed and repetitions. ------------------------------------------- -# - -# Run with a given seed (seed is a hex-encoded long). -ant test -Dtests.seed=DEADBEEF - -# Repeats _all_ tests of ClassName N times. Every test repetition -# will have a different seed. NOTE: does not reinitialize -# between repetitions, use only for idempotent tests. -ant test -Dtests.iters=N -Dtestcase=ClassName - -# Repeats _all_ tests of ClassName N times. Every test repetition -# will have exactly the same master (dead) and method-level (beef) -# seed. -ant test -Dtests.iters=N -Dtestcase=ClassName -Dtests.seed=dead:beef - -# Repeats a given test N times (note the filters - individual test -# repetitions are given suffixes, ie: testFoo[0], testFoo[1], etc... -# so using testmethod or tests.method ending in a glob is necessary -# to ensure iterations are run). -ant test -Dtests.iters=N -Dtestcase=ClassName -Dtestmethod=mytest -ant test -Dtests.iters=N -Dtestcase=ClassName -Dtests.method=mytest* - -# Repeats N times but skips any tests after the first failure or M -# initial failures. -ant test -Dtests.iters=N -Dtests.failfast=yes -Dtestcase=... -ant test -Dtests.iters=N -Dtests.maxfailures=M -Dtestcase=... - -# Repeats every suite (class) and any tests inside N times -# can be combined with -Dtestcase or -Dtests.iters, etc. -# Can be used for running a single class on multiple JVMs -# in parallel. -ant test -Dtests.dups=N ... - -# Test beasting: Repeats every suite with same seed per class -# (N times in parallel) and each test inside (M times). The whole -# run is repeated (beasting) P times in a loop, with a different -# master seed. You can combine beasting with any other parameter, -# just replace "test" with "beast" and give -Dbeast.iters=P -# (P >> 1). -ant beast -Dtests.dups=N -Dtests.iters=M -Dbeast.iters=P \ - -Dtestcase=ClassName - -# -# Test groups. ---------------------------------------------------- -# -# test groups can be enabled or disabled (true/false). Default -# value provided below in [brackets]. - -ant -Dtests.nightly=[false] - nightly test group (@Nightly) -ant -Dtests.weekly=[false] - weekly tests (@Weekly) -ant -Dtests.awaitsfix=[false] - known issue (@AwaitsFix) -ant -Dtests.badapples=[true] - flakey tests (@BadApple) -ant -Dtests.slow=[true] - slow tests (@Slow) - -# An alternative way to select just one (or more) groups of tests -# is to use the -Dtests.filter property: - --Dtests.filter="@slow" - -# would run only slow tests. 'tests.filter' supports Boolean operators -# 'and, or, not' and grouping, for example: - -ant -Dtests.filter="@nightly and not(@awaitsfix or @slow)" - -# would run nightly tests but not those also marked as awaiting a fix -# or slow. Note that tests.filter, if present, has a priority over any -# individual tests.* properties. - - -# -# Load balancing and caches. -------------------------------------- -# - -# Run sequentially (one slave JVM). -ant -Dtests.jvms=1 test - -# Run with more slave JVMs than the default. -# Don't count hypercores for CPU-intense tests. -# Make sure there is enough RAM to handle child JVMs. -ant -Dtests.jvms=8 test - -# Use repeatable suite order on slave JVMs (disables job stealing). -ant -Dtests.dynamicAssignmentRatio=0 test - -# Update global (versioned!) execution times cache (top level). -ant clean test -ant -f lucene/build.xml test-updatecache - -# -# Miscellaneous. -------------------------------------------------- -# - -# Only run test(s), non-recursively. Faster than "ant test". -# WARNING: Skips jar download and compilation. Clover not supported. -ant test-nocompile -ant -Dtestcase=... test-nocompile - -# Run all tests without stopping on errors (inspect log files!). -ant -Dtests.haltonfailure=false test - -# Run more verbose output (slave JVM parameters, etc.). -ant -verbose test - -# Include additional information like what is printed to -# sysout/syserr, even if the test passes. -# Enabled automatically when running for a single test case. -ant -Dtests.showSuccess=true test - -# Change the default suite timeout to 5 seconds. -ant -Dtests.timeoutSuite=5000! ... - -# Display local averaged stats, if any (30 slowest tests). -ant test-times -Dmax=30 - -# Display a timestamp alongside each suite/ test. -ant -Dtests.timestamps=on ... - -# Override forked JVM file.encoding -ant -Dtests.file.encoding=XXX ... - -# Don't remove any temporary files under slave directories, even if -# the test passes (any of the following props): -ant -Dtests.leaveTemporary=true -ant -Dtests.leavetmpdir=true -ant -Dsolr.test.leavetmpdir=true - -# Do *not* filter stack traces emitted to the console. -ant -Dtests.filterstacks=false - -# Skip checking for no-executed tests in modules -ant -Dtests.ifNoTests=ignore ... - -# Output test files and reports. -${tests-output}/tests-report.txt - full ASCII tests report -${tests-output}/tests-failures.txt - failures only (if any) -${tests-output}/tests-report-* - HTML5 report with results -${tests-output}/junit4-*.suites - per-JVM executed suites - (important if job stealing). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - if (line ==~ /^[0-9]+/) { - total += Integer.valueOf(line); - } - }); - statsFile.delete(); - - if (total == 0 && !"ignore".equals(project.getProperty("tests.ifNoTests"))) { - throw new BuildException("Not even a single test was executed (a typo in the filter pattern maybe?)."); - } - - // Interesting but let's keep the build output quiet. - // task.log("Grand total of all executed tests (including sub-modules): " + total); - ]]> - - - - - - - - - - - - - - TODO: Code coverage with OpenClover does not yet work with Java 11 - see https://issues.apache.org/jira/browse/LUCENE-8763 - Code coverage with OpenClover enabled. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Code coverage with pitest enabled. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -${ant.project.name}.dependencies=${classpath.list} -${ant.project.name}.test.dependencies=${test.classpath.list} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Invoking target stage-maven in ${output.build.xml} now... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${rat.output} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Copyright © ${year} Apache Software Foundation. All Rights Reserved. - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Building checksums for '@{file}' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WARNING: ON SOME PLATFORMS YOUR PASSPHRASE WILL BE ECHOED BACK!!!!! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${@{doap.property.prefix}.Project.release.Version.revision} - ${@{doap.property.prefix}.Project.release.Version.created} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -PiTest mutation coverage can take a *long* time on even large hardware. -(EC2 32core sandy bridge takes at least 12 hours to run PiTest for the lucene test cases) - -The following arguments can be provided to ant to alter its behaviour and target specific tests:: - --Dpitest.report.dir (@{pitest.report.dir}) - Change where PiTest writes output reports - --Dpitest.distance (@{pitest.distance}) - How far away from the test class should be mutated - 0 being immeditate callees only - --Dpitest.threads (@{pitest.threads}) - How many threads to use in PiTest - (note this is independent of junit threads) - --Dpitest.testCases (@{pitest.testCases}) - Glob of testcases to run - --Dpitest.maxMutations (@{pitest.maxMutations}) - Maximum number of mutations per class under test - 0 being unlimited - --Dpitest.timeoutFactor (@{pitest.timeoutFactor}) - Tunable factor used to determine - if a test is potentially been mutated to be an infinate loop or O(n!) (or similar) - --Dpitest.timeoutConst (@{pitest.timeoutConst}) - Base constant used for working out timeouts - --Dpitest.targetClasses (@{pitest.targetClasses}) - Classes to consider for mutation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/core/build.xml b/lucene/core/build.xml deleted file mode 100644 index 5fa75128a4a..00000000000 --- a/lucene/core/build.xml +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - Lucene core library - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - task.log(" " + k + "=" + properties[k]); - } - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/core/ivy.xml b/lucene/core/ivy.xml deleted file mode 100644 index bbca9f945c5..00000000000 --- a/lucene/core/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/default-nested-ivy-settings.xml b/lucene/default-nested-ivy-settings.xml deleted file mode 100644 index 1b1603f71b3..00000000000 --- a/lucene/default-nested-ivy-settings.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/demo/build.xml b/lucene/demo/build.xml deleted file mode 100644 index d5e50ad6947..00000000000 --- a/lucene/demo/build.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - Simple example code - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/demo/ivy.xml b/lucene/demo/ivy.xml deleted file mode 100644 index 69076d1e3b5..00000000000 --- a/lucene/demo/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/expressions/build.xml b/lucene/expressions/build.xml deleted file mode 100644 index 61ae64fd416..00000000000 --- a/lucene/expressions/build.xml +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - Dynamically computed values to sort/facet/search on based on a pluggable grammar. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/expressions/ivy.xml b/lucene/expressions/ivy.xml deleted file mode 100644 index 6065522962f..00000000000 --- a/lucene/expressions/ivy.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - diff --git a/lucene/facet/build.xml b/lucene/facet/build.xml deleted file mode 100644 index 2fc2f9a6ca8..00000000000 --- a/lucene/facet/build.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - Faceted indexing and search capabilities - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/facet/ivy.xml b/lucene/facet/ivy.xml deleted file mode 100644 index 249c78e36c8..00000000000 --- a/lucene/facet/ivy.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - diff --git a/lucene/grouping/build.xml b/lucene/grouping/build.xml deleted file mode 100644 index 5fb1fd13aa9..00000000000 --- a/lucene/grouping/build.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - Collectors for grouping search results. - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/grouping/ivy.xml b/lucene/grouping/ivy.xml deleted file mode 100644 index d7e4eb31e89..00000000000 --- a/lucene/grouping/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/highlighter/build.xml b/lucene/highlighter/build.xml deleted file mode 100644 index 5d837cbdcb4..00000000000 --- a/lucene/highlighter/build.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - - - - - Highlights search keywords in results - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/highlighter/ivy.xml b/lucene/highlighter/ivy.xml deleted file mode 100644 index 262fa53a7d4..00000000000 --- a/lucene/highlighter/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/ivy-ignore-conflicts.properties b/lucene/ivy-ignore-conflicts.properties deleted file mode 100644 index df3a2e5a43b..00000000000 --- 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 = [, [ ... ] ] -# -# where each 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/ivy-versions.properties b/lucene/ivy-versions.properties deleted file mode 100644 index 6c8e51cfa19..00000000000 --- a/lucene/ivy-versions.properties +++ /dev/null @@ -1,334 +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. - -/com.adobe.xmp/xmpcore = 5.1.3 - -com.carrotsearch.randomizedtesting.version = 2.7.6 -/com.carrotsearch.randomizedtesting/junit4-ant = ${com.carrotsearch.randomizedtesting.version} -/com.carrotsearch.randomizedtesting/randomizedtesting-runner = ${com.carrotsearch.randomizedtesting.version} - -/com.carrotsearch.thirdparty/simple-xml-safe = 2.7.1 - -/com.carrotsearch/hppc = 0.8.2 - -/com.cybozu.labs/langdetect = 1.1-20120112 -/com.drewnoakes/metadata-extractor = 2.11.0 - -/com.epam/parso = 2.0.11 - -com.fasterxml.jackson.core.version = 2.10.1 -/com.fasterxml.jackson.core/jackson-annotations = ${com.fasterxml.jackson.core.version} -/com.fasterxml.jackson.core/jackson-core = ${com.fasterxml.jackson.core.version} -/com.fasterxml.jackson.core/jackson-databind = ${com.fasterxml.jackson.core.version} -/com.fasterxml.jackson.dataformat/jackson-dataformat-smile = ${com.fasterxml.jackson.core.version} - -/com.github.ben-manes.caffeine/caffeine = 2.8.4 -/com.github.virtuald/curvesapi = 1.06 - -/com.github.zafarkhaja/java-semver = 0.9.0 - -/com.google.guava/guava = 25.1-jre -/com.google.protobuf/protobuf-java = 3.11.0 -/com.google.re2j/re2j = 1.2 -/com.googlecode.juniversalchardet/juniversalchardet = 1.0.3 -/com.googlecode.mp4parser/isoparser = 1.1.22 -/com.healthmarketscience.jackcess/jackcess = 3.0.1 -/com.healthmarketscience.jackcess/jackcess-encrypt = 3.0.0 -/com.ibm.icu/icu4j = 62.2 -/com.jayway.jsonpath/json-path = 2.4.0 -/com.lmax/disruptor = 3.4.2 -/com.pff/java-libpst = 0.8.1 - -com.rometools.version = 1.12.2 -/com.rometools/rome = ${com.rometools.version} -/com.rometools/rome-utils = ${com.rometools.version} - -com.sun.jersey.version = 1.19 -/com.sun.jersey/jersey-servlet = ${com.sun.jersey.version} - -/com.sun.mail/gimap = 1.5.1 -/com.sun.mail/javax.mail = 1.5.1 - -/com.tdunning/t-digest = 3.1 -/com.vaadin.external.google/android-json = 0.0.20131108.vaadin1 -/commons-cli/commons-cli = 1.4 -/commons-codec/commons-codec = 1.13 -/commons-collections/commons-collections = 3.2.2 -/commons-io/commons-io = 2.6 -# necessary to run test or embedded Zookeeper as of 3.6.1 -commons.lang.version = 2.6 -/commons-lang/commons-lang = ${commons.lang.version} -/commons-logging/commons-logging = 1.1.3 -/de.l3s.boilerpipe/boilerpipe = 1.1.0 - -io.dropwizard.metrics.version = 4.1.5 -/io.dropwizard.metrics/metrics-core = ${io.dropwizard.metrics.version} -/io.dropwizard.metrics/metrics-graphite = ${io.dropwizard.metrics.version} -/io.dropwizard.metrics/metrics-jetty9 = ${io.dropwizard.metrics.version} -/io.dropwizard.metrics/metrics-jmx = ${io.dropwizard.metrics.version} -/io.dropwizard.metrics/metrics-jvm = ${io.dropwizard.metrics.version} - -io.jaegertracing.version = 1.1.0 -/io.jaegertracing/jaeger-core = ${io.jaegertracing.version} -/io.jaegertracing/jaeger-thrift = ${io.jaegertracing.version} - -io.netty.netty.version = 4.1.50.Final -/io.netty/netty-buffer = ${io.netty.netty.version} -/io.netty/netty-codec = ${io.netty.netty.version} -/io.netty/netty-common = ${io.netty.netty.version} -/io.netty/netty-handler = ${io.netty.netty.version} -/io.netty/netty-resolver = ${io.netty.netty.version} -/io.netty/netty-transport = ${io.netty.netty.version} -/io.netty/netty-transport-native-epoll = ${io.netty.netty.version} -/io.netty/netty-transport-native-unix-common = ${io.netty.netty.version} - -io.opentracing.version = 0.33.0 -/io.opentracing/opentracing-api = ${io.opentracing.version} -/io.opentracing/opentracing-mock = ${io.opentracing.version} -/io.opentracing/opentracing-noop = ${io.opentracing.version} -/io.opentracing/opentracing-util = ${io.opentracing.version} - -io.prometheus.version = 0.2.0 -/io.prometheus/simpleclient = ${io.prometheus.version} -/io.prometheus/simpleclient_common = ${io.prometheus.version} -/io.prometheus/simpleclient_httpserver = ${io.prometheus.version} - -/io.sgr/s2-geometry-library-java = 1.0.0 - -/javax.activation/activation = 1.1.1 -/javax.servlet/javax.servlet-api = 3.1.0 -/junit/junit = 4.12 - -/mecab/mecab-ipadic = 2.7.0-20070801 -/mecab/mecab-ko-dic = 2.0.3-20170922 -/mecab/mecab-naist-jdic = 0.6.3b-20111013 -/net.arnx/jsonic = 1.2.7 -/net.bytebuddy/byte-buddy = 1.9.3 -/net.hydromatic/eigenbase-properties = 1.1.5 - -net.sourceforge.argparse4j.version = 0.8.1 -/net.sourceforge.argparse4j/argparse4j = ${net.sourceforge.argparse4j.version} - -/net.sourceforge.nekohtml/nekohtml = 1.9.17 - -net.thisptr.version = 0.0.8 -/net.thisptr/jackson-jq = ${net.thisptr.version} - -/org.antlr/antlr4-runtime = 4.5.1-1 - -/org.apache.ant/ant = 1.8.2 - -org.apache.calcite.avatica.version = 1.13.0 -/org.apache.calcite.avatica/avatica-core = ${org.apache.calcite.avatica.version} - -org.apache.calcite.version = 1.18.0 -/org.apache.calcite/calcite-core = ${org.apache.calcite.version} -/org.apache.calcite/calcite-linq4j = ${org.apache.calcite.version} - -org.apache.commons.commons-collections4-rev = 4.4 -/org.apache.commons/commons-collections4 = ${org.apache.commons.commons-collections4-rev} -/org.apache.commons/commons-compress = 1.19 -/org.apache.commons/commons-configuration2 = 2.1.1 -/org.apache.commons/commons-csv = 1.7 -/org.apache.commons/commons-exec = 1.3 -/org.apache.commons/commons-lang3 = 3.9 -/org.apache.commons/commons-math3 = 3.6.1 -/org.apache.commons/commons-text = 1.6 - -org.apache.curator.version = 2.13.0 -/org.apache.curator/curator-client = ${org.apache.curator.version} -/org.apache.curator/curator-framework = ${org.apache.curator.version} -/org.apache.curator/curator-recipes = ${org.apache.curator.version} - -/org.apache.derby/derby = 10.9.1.0 - -org.apache.hadoop.version = 3.2.0 -/org.apache.hadoop/hadoop-annotations = ${org.apache.hadoop.version} -/org.apache.hadoop/hadoop-auth = ${org.apache.hadoop.version} -/org.apache.hadoop/hadoop-common = ${org.apache.hadoop.version} -/org.apache.hadoop/hadoop-hdfs = ${org.apache.hadoop.version} -/org.apache.hadoop/hadoop-hdfs-client = ${org.apache.hadoop.version} -/org.apache.hadoop/hadoop-minikdc = ${org.apache.hadoop.version} - -/org.apache.htrace/htrace-core4 = 4.1.0-incubating - -# The httpcore version is often different from the httpclient and httpmime versions, -# so the httpcore version value should not share the same symbolic name with them. -/org.apache.httpcomponents/httpclient = 4.5.10 -/org.apache.httpcomponents/httpcore = 4.4.12 -/org.apache.httpcomponents/httpmime = 4.5.10 - -/org.apache.ivy/ivy = 2.4.0 - -org.apache.james.apache.mime4j.version = 0.8.3 -/org.apache.james/apache-mime4j-core = ${org.apache.james.apache.mime4j.version} -/org.apache.james/apache-mime4j-dom = ${org.apache.james.apache.mime4j.version} - -org.apache.kerby.version = 1.0.1 -/org.apache.kerby/kerb-admin = ${org.apache.kerby.version} -/org.apache.kerby/kerb-client = ${org.apache.kerby.version} -/org.apache.kerby/kerb-common = ${org.apache.kerby.version} -/org.apache.kerby/kerb-core = ${org.apache.kerby.version} -/org.apache.kerby/kerb-crypto = ${org.apache.kerby.version} -/org.apache.kerby/kerb-identity= ${org.apache.kerby.version} -/org.apache.kerby/kerb-server = ${org.apache.kerby.version} -/org.apache.kerby/kerb-simplekdc = ${org.apache.kerby.version} -/org.apache.kerby/kerb-util = ${org.apache.kerby.version} - -/org.apache.kerby/kerby-asn1 = ${org.apache.kerby.version} -/org.apache.kerby/kerby-config = ${org.apache.kerby.version} -/org.apache.kerby/kerby-kdc = ${org.apache.kerby.version} -/org.apache.kerby/kerby-pkix = ${org.apache.kerby.version} -/org.apache.kerby/kerby-util = ${org.apache.kerby.version} - -org.apache.logging.log4j.version = 2.13.2 -/org.apache.logging.log4j/log4j-1.2-api = ${org.apache.logging.log4j.version} -/org.apache.logging.log4j/log4j-api = ${org.apache.logging.log4j.version} -/org.apache.logging.log4j/log4j-core = ${org.apache.logging.log4j.version} -/org.apache.logging.log4j/log4j-slf4j-impl = ${org.apache.logging.log4j.version} -/org.apache.logging.log4j/log4j-web = ${org.apache.logging.log4j.version} - -/org.apache.opennlp/opennlp-tools = 1.9.1 - -org.apache.pdfbox.version = 2.0.17 -/org.apache.pdfbox/fontbox = ${org.apache.pdfbox.version} -/org.apache.pdfbox/jempbox = 1.8.16 -/org.apache.pdfbox/pdfbox = ${org.apache.pdfbox.version} -/org.apache.pdfbox/pdfbox-tools = ${org.apache.pdfbox.version} - -org.apache.poi.version = 4.1.1 -/org.apache.poi/poi = ${org.apache.poi.version} -/org.apache.poi/poi-ooxml = ${org.apache.poi.version} -/org.apache.poi/poi-ooxml-schemas = ${org.apache.poi.version} -/org.apache.poi/poi-scratchpad = ${org.apache.poi.version} - -org.apache.thrift.version = 0.13.0 -/org.apache.thrift/libthrift = ${org.apache.thrift.version} - -org.apache.tika.version = 1.24 -/org.apache.tika/tika-core = ${org.apache.tika.version} -/org.apache.tika/tika-java7 = ${org.apache.tika.version} -/org.apache.tika/tika-parsers = ${org.apache.tika.version} -/org.apache.tika/tika-xmp = ${org.apache.tika.version} - -org.apache.velocity.tools.version = 3.0 -/org.apache.velocity.tools/velocity-tools-generic = ${org.apache.velocity.tools.version} -/org.apache.velocity.tools/velocity-tools-view = ${org.apache.velocity.tools.version} -/org.apache.velocity.tools/velocity-tools-view-jsp = ${org.apache.velocity.tools.version} - -/org.apache.velocity/velocity-engine-core = 2.0 - -/org.apache.xmlbeans/xmlbeans = 3.1.0 - -org.apache.zookeeper.version = 3.6.1 -/org.apache.zookeeper/zookeeper = ${org.apache.zookeeper.version} -/org.apache.zookeeper/zookeeper-jute = ${org.apache.zookeeper.version} - -# v1.6.2 of asciidoctor-ant includes asciidoctorj 1.6.2, which uses -# asciidoctor 1.5.8, and asciidoctorj-pdf 1.5.0-alpha.16, which is the same -# as asciidoctor-pdf 1.5.0-alpha.16 -/org.asciidoctor/asciidoctor-ant = 1.6.2 - -/org.aspectj/aspectjrt = 1.8.0 - -/org.bitbucket.b_c/jose4j = 0.6.5 - -org.bouncycastle.version = 1.64 -/org.bouncycastle/bcmail-jdk15on = ${org.bouncycastle.version} -/org.bouncycastle/bcpkix-jdk15on = ${org.bouncycastle.version} -/org.bouncycastle/bcprov-jdk15on = ${org.bouncycastle.version} - -/org.brotli/dec = 0.1.2 - -/org.carrot2.attributes/attributes-binder = 1.3.3 -/org.carrot2.shaded/carrot2-guava = 18.0 - -/org.carrot2/carrot2-mini = 3.16.2 - -org.carrot2.morfologik.version = 2.1.5 -/org.carrot2/morfologik-fsa = ${org.carrot2.morfologik.version} -/org.carrot2/morfologik-polish = ${org.carrot2.morfologik.version} -/org.carrot2/morfologik-stemming = ${org.carrot2.morfologik.version} - -/org.ccil.cowan.tagsoup/tagsoup = 1.2.1 - -org.codehaus.janino.version = 3.0.9 -/org.codehaus.janino/commons-compiler = ${org.codehaus.janino.version} -/org.codehaus.janino/janino = ${org.codehaus.janino.version} - -/org.codehaus.woodstox/stax2-api = 3.1.4 -/org.codehaus.woodstox/woodstox-core-asl = 4.4.1 - -org.eclipse.jetty.version = 9.4.27.v20200227 -/org.eclipse.jetty.http2/http2-client = ${org.eclipse.jetty.version} -/org.eclipse.jetty.http2/http2-common = ${org.eclipse.jetty.version} -/org.eclipse.jetty.http2/http2-hpack = ${org.eclipse.jetty.version} -/org.eclipse.jetty.http2/http2-http-client-transport = ${org.eclipse.jetty.version} -/org.eclipse.jetty.http2/http2-server = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-alpn-client = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-alpn-java-client = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-alpn-java-server = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-alpn-server = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-client = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-continuation = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-deploy = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-http = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-io = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-jmx = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-rewrite = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-security = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-server = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-servlet = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-servlets = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-start = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-util = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-webapp = ${org.eclipse.jetty.version} -/org.eclipse.jetty/jetty-xml = ${org.eclipse.jetty.version} - -org.gagravarr.vorbis.java.version = 0.8 -/org.gagravarr/vorbis-java-core = ${org.gagravarr.vorbis.java.version} -/org.gagravarr/vorbis-java-tika = ${org.gagravarr.vorbis.java.version} - -/org.hamcrest/hamcrest = 2.2 - -/org.hsqldb/hsqldb = 2.4.0 -/org.jdom/jdom2 = 2.0.6 - -/org.jsoup/jsoup = 1.12.1 - -/org.locationtech.jts/jts-core = 1.15.0 -/org.locationtech.spatial4j/spatial4j = 0.7 - -/org.mockito/mockito-core = 2.23.4 - -/org.objenesis/objenesis = 2.6 - -org.ow2.asm.version = 7.2 -/org.ow2.asm/asm = ${org.ow2.asm.version} -/org.ow2.asm/asm-commons = ${org.ow2.asm.version} - -org.restlet.jee.version = 2.4.3 -/org.restlet.jee/org.restlet = ${org.restlet.jee.version} -/org.restlet.jee/org.restlet.ext.servlet = ${org.restlet.jee.version} - -/org.rrd4j/rrd4j = 3.5 - -org.slf4j.version = 1.7.24 -/org.slf4j/jcl-over-slf4j = ${org.slf4j.version} -/org.slf4j/jul-to-slf4j = ${org.slf4j.version} -/org.slf4j/slf4j-api = ${org.slf4j.version} -/org.slf4j/slf4j-simple = ${org.slf4j.version} - -/org.tallison/jmatio = 1.5 -/org.tukaani/xz = 1.8 - -# required for instantiating a Zookeeper server in tests or embedded -org.xerial.snappy.version = 1.1.7.6 -/org.xerial.snappy/snappy-java = ${org.xerial.snappy.version} - - -ua.net.nlp.morfologik-ukrainian-search.version = 4.9.1 -/ua.net.nlp/morfologik-ukrainian-search = ${ua.net.nlp.morfologik-ukrainian-search.version} - -/xerces/xercesImpl = 2.12.0 diff --git a/lucene/join/build.xml b/lucene/join/build.xml deleted file mode 100644 index c411dbe4649..00000000000 --- a/lucene/join/build.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Index-time and Query-time joins for normalized content - - - - - diff --git a/lucene/join/ivy.xml b/lucene/join/ivy.xml deleted file mode 100644 index 09ae9bdfee3..00000000000 --- a/lucene/join/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - 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 564db78dfdc..00000000000 --- 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 ab3182e7776..00000000000 --- 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 - -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 4c88cc6659b..00000000000 --- 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 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 3863b25583f..00000000000 --- 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 eb06170386b..00000000000 --- 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 - 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. - - ------------------------------------------------------------------------------- -License for JCraft JSch package ------------------------------------------------------------------------------- -Copyright (c) 2002,2003,2004,2005,2006,2007 Atsuhiko Yamanaka, JCraft,Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the distribution. - - 3. The names of the authors may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT, -INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, -OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, -EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ------------------------------------------------------------------------------- -License for jQuery ------------------------------------------------------------------------------- -Copyright (c) 2007 John Resig, http://jquery.com/ - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - \ No newline at end of file diff --git a/lucene/licenses/ivy-NOTICE.txt b/lucene/licenses/ivy-NOTICE.txt deleted file mode 100644 index 33d7e07c961..00000000000 --- a/lucene/licenses/ivy-NOTICE.txt +++ /dev/null @@ -1,16 +0,0 @@ -Apache Ivy (TM) -Copyright 2007-2013 The Apache Software Foundation - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - -Portions of Ivy were originally developed by -Jayasoft SARL (http://www.jayasoft.fr/) -and are licensed to the Apache Software Foundation under the -"Software Grant License Agreement" - -SSH and SFTP support is provided by the JCraft JSch package, -which is open source software, available under -the terms of a BSD style license. -The original software and related information is available -at http://www.jcraft.com/jsch/. \ No newline at end of file diff --git a/lucene/luke/build.xml b/lucene/luke/build.xml deleted file mode 100644 index 1584ef7bddc..00000000000 --- a/lucene/luke/build.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - Luke - Lucene Toolbox - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/luke/ivy.xml b/lucene/luke/ivy.xml deleted file mode 100644 index 88d9d8c63b6..00000000000 --- a/lucene/luke/ivy.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/lucene/memory/build.xml b/lucene/memory/build.xml deleted file mode 100644 index cae567785f8..00000000000 --- a/lucene/memory/build.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - Single-document in-memory index implementation - - - - - - - - - - - diff --git a/lucene/memory/ivy.xml b/lucene/memory/ivy.xml deleted file mode 100644 index 61f06f6b60c..00000000000 --- a/lucene/memory/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/misc/build.xml b/lucene/misc/build.xml deleted file mode 100644 index f076eba9e3e..00000000000 --- a/lucene/misc/build.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - Index tools and other miscellaneous code - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/misc/ivy.xml b/lucene/misc/ivy.xml deleted file mode 100644 index c339fee6ba8..00000000000 --- a/lucene/misc/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/module-build.xml b/lucene/module-build.xml deleted file mode 100644 index 947b4b5fb62..00000000000 --- a/lucene/module-build.xml +++ /dev/null @@ -1,721 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/monitor/build.xml b/lucene/monitor/build.xml deleted file mode 100644 index c378c1df97e..00000000000 --- a/lucene/monitor/build.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - Reverse-search implementation for monitoring and classification - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/monitor/ivy.xml b/lucene/monitor/ivy.xml deleted file mode 100644 index 9485d48db13..00000000000 --- a/lucene/monitor/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/queries/build.xml b/lucene/queries/build.xml deleted file mode 100644 index 20f9c4fc4d0..00000000000 --- a/lucene/queries/build.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Filters and Queries that add to core Lucene - - - - - - - - - - - - diff --git a/lucene/queries/ivy.xml b/lucene/queries/ivy.xml deleted file mode 100644 index 403c495d69a..00000000000 --- a/lucene/queries/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/queryparser/build.xml b/lucene/queryparser/build.xml deleted file mode 100644 index b6e43c2ce26..00000000000 --- a/lucene/queryparser/build.xml +++ /dev/null @@ -1,178 +0,0 @@ - - - - - Query parsers and parsing framework - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/queryparser/ivy.xml b/lucene/queryparser/ivy.xml deleted file mode 100644 index 9337401fd6d..00000000000 --- a/lucene/queryparser/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/queryparser/xmldtddocbuild.xml b/lucene/queryparser/xmldtddocbuild.xml deleted file mode 100644 index c36a6adf1f8..00000000000 --- a/lucene/queryparser/xmldtddocbuild.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - This file generates DTDdocumentation - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/replicator/build.xml b/lucene/replicator/build.xml deleted file mode 100644 index 796bf2727fb..00000000000 --- a/lucene/replicator/build.xml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - Files replication utility - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/replicator/ivy.xml b/lucene/replicator/ivy.xml deleted file mode 100644 index 24b053cb764..00000000000 --- a/lucene/replicator/ivy.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/sandbox/build.xml b/lucene/sandbox/build.xml deleted file mode 100644 index 93bc2754ece..00000000000 --- a/lucene/sandbox/build.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - Various third party contributions and new ideas - - - - - diff --git a/lucene/sandbox/ivy.xml b/lucene/sandbox/ivy.xml deleted file mode 100644 index 4c5a43e0812..00000000000 --- a/lucene/sandbox/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/spatial-extras/build.xml b/lucene/spatial-extras/build.xml deleted file mode 100644 index d95d935269b..00000000000 --- a/lucene/spatial-extras/build.xml +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Geospatial search - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/spatial-extras/ivy.xml b/lucene/spatial-extras/ivy.xml deleted file mode 100644 index f8dba4e2cca..00000000000 --- a/lucene/spatial-extras/ivy.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/spatial3d/build.xml b/lucene/spatial3d/build.xml deleted file mode 100644 index fbe9e0685f7..00000000000 --- a/lucene/spatial3d/build.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - 3D spatial planar geometry APIs - - - - - - - - diff --git a/lucene/spatial3d/ivy.xml b/lucene/spatial3d/ivy.xml deleted file mode 100644 index e9d2ee74627..00000000000 --- a/lucene/spatial3d/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/suggest/build.xml b/lucene/suggest/build.xml deleted file mode 100644 index 47d4a63fefb..00000000000 --- a/lucene/suggest/build.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - Auto-suggest and Spellchecking support - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/suggest/ivy.xml b/lucene/suggest/ivy.xml deleted file mode 100644 index 343853aaa7b..00000000000 --- a/lucene/suggest/ivy.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/lucene/test-framework/build.xml b/lucene/test-framework/build.xml deleted file mode 100644 index 844c5577179..00000000000 --- a/lucene/test-framework/build.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - Framework for testing Lucene-based applications - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/test-framework/ivy.xml b/lucene/test-framework/ivy.xml deleted file mode 100644 index 984e4948186..00000000000 --- a/lucene/test-framework/ivy.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/lucene/tools/build.xml b/lucene/tools/build.xml deleted file mode 100644 index b245dce2e9a..00000000000 --- a/lucene/tools/build.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - Lucene Tools - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lucene/tools/custom-tasks.xml b/lucene/tools/custom-tasks.xml deleted file mode 100644 index 4b5c3ea8ce2..00000000000 --- a/lucene/tools/custom-tasks.xml +++ /dev/null @@ -1,149 +0,0 @@ - - - - This file is designed for importing into a main build file, and not intended - for standalone use. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - License check under: @{dir} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Lib versions check under: @{dir} - - - - - - - - - - - - - - - - - - - - - - Get maven dependencies called under: @{dir} - - - - - - - - - - - - - - - - - - diff --git a/lucene/tools/ivy.xml b/lucene/tools/ivy.xml deleted file mode 100644 index 1fa2974f85b..00000000000 --- a/lucene/tools/ivy.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - diff --git a/lucene/tools/src/java/lucene-solr.antlib.xml b/lucene/tools/src/java/lucene-solr.antlib.xml deleted file mode 100644 index 94a102d15a7..00000000000 --- a/lucene/tools/src/java/lucene-solr.antlib.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - diff --git a/lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElement.java b/lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElement.java deleted file mode 100644 index 287527e2e3c..00000000000 --- a/lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElement.java +++ /dev/null @@ -1,178 +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. - */ -package org.apache.lucene.validation.ivyde; - -import org.apache.ivy.core.module.id.ModuleRevisionId; - -import java.util.Collection; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.Map; - -/** - * Assists in the further separation of concerns between the view and the Ivy resolve report. The view looks at the - * IvyNode in a unique way that can lead to expensive operations if we do not achieve this separation. - * - * This class is copied from org/apache/ivyde/eclipse/resolvevisualizer/model/IvyNodeElement.java at - * https://svn.apache.org/repos/asf/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse.resolvevisualizer/src/ - * - * Changes include: uncommenting generics and converting to diamond operators where appropriate; - * removing unnecessary casts; removing javadoc tags with no description; and adding a hashCode() implementation. - */ -public class IvyNodeElement { - private ModuleRevisionId moduleRevisionId; - private boolean evicted = false; - private int depth = Integer.MAX_VALUE / 10; - private Collection dependencies = new HashSet<>(); - private Collection callers = new HashSet<>(); - private Collection conflicts = new HashSet<>(); - - /** - * The caller configurations that caused this node to be reached in the resolution, grouped by caller. - */ - private MapcallerConfigurationMap = new HashMap<>(); - - /** - * We try to avoid building the list of this nodes deep dependencies by storing them in this cache by depth level. - */ - private IvyNodeElement[] deepDependencyCache; - - @Override - public boolean equals(Object obj) { - if (obj instanceof IvyNodeElement) { - IvyNodeElement elem = (IvyNodeElement) obj; - if (elem.getOrganization().equals(getOrganization()) && elem.getName().equals(getName()) - && elem.getRevision().equals(getRevision())) - return true; - } - return false; - } - - @Override - public int hashCode() { - int result = 1; - result = result * 31 + (null == getOrganization() ? 0 : getOrganization().hashCode()); - result = result * 31 + (null == getName() ? 0 : getName().hashCode()); - result = result * 31 + (null == getRevision() ? 0 : getRevision().hashCode()); - return result; - } - - public IvyNodeElement[] getDependencies() { - return dependencies.toArray(new IvyNodeElement[dependencies.size()]); - } - - /** - * Recursive dependency retrieval - * - * @return The array of nodes that represents a node's immediate and transitive dependencies down to an arbitrary - * depth. - */ - public IvyNodeElement[] getDeepDependencies() { - if (deepDependencyCache == null) { - Collection deepDependencies = getDeepDependencies(this); - deepDependencyCache = deepDependencies.toArray(new IvyNodeElement[deepDependencies.size()]); - } - return deepDependencyCache; - } - - /** - * Recursive dependency retrieval - */ - private Collection getDeepDependencies(IvyNodeElement node) { - Collection deepDependencies = new HashSet<>(); - deepDependencies.add(node); - - IvyNodeElement[] directDependencies = node.getDependencies(); - for (int i = 0; i < directDependencies.length; i++) { - deepDependencies.addAll(getDeepDependencies(directDependencies[i])); - } - - return deepDependencies; - } - - /** - * @return An array of configurations by which this module was resolved - */ - public String[] getCallerConfigurations(IvyNodeElement caller) { - return callerConfigurationMap.get(caller); - } - - public void setCallerConfigurations(IvyNodeElement caller, String[] configurations) { - callerConfigurationMap.put(caller, configurations); - } - - public String getOrganization() { - return moduleRevisionId.getOrganisation(); - } - - public String getName() { - return moduleRevisionId.getName(); - } - - public String getRevision() { - return moduleRevisionId.getRevision(); - } - - public boolean isEvicted() { - return evicted; - } - - public void setEvicted(boolean evicted) { - this.evicted = evicted; - } - - public int getDepth() { - return depth; - } - - /** - * Set this node's depth and recursively update the node's children to relative to the new value. - */ - public void setDepth(int depth) { - this.depth = depth; - for (Iterator iter = dependencies.iterator(); iter.hasNext();) { - IvyNodeElement dependency = iter.next(); - dependency.setDepth(depth + 1); - } - } - - public IvyNodeElement[] getConflicts() { - return conflicts.toArray(new IvyNodeElement[conflicts.size()]); - } - - public void setConflicts(Collection conflicts) { - this.conflicts = conflicts; - } - - public ModuleRevisionId getModuleRevisionId() { - return moduleRevisionId; - } - - public void setModuleRevisionId(ModuleRevisionId moduleRevisionId) { - this.moduleRevisionId = moduleRevisionId; - } - - public void addCaller(IvyNodeElement caller) { - callers.add(caller); - caller.dependencies.add(this); - } - - public IvyNodeElement[] getCallers() { - return callers.toArray(new IvyNodeElement[callers.size()]); - } -} \ No newline at end of file diff --git a/lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElementAdapter.java b/lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElementAdapter.java deleted file mode 100644 index c754dd4013f..00000000000 --- a/lucene/tools/src/java/org/apache/lucene/validation/ivyde/IvyNodeElementAdapter.java +++ /dev/null @@ -1,135 +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. - */ -package org.apache.lucene.validation.ivyde; - -import org.apache.ivy.core.module.id.ModuleId; -import org.apache.ivy.core.module.id.ModuleRevisionId; -import org.apache.ivy.core.report.ResolveReport; -import org.apache.ivy.core.resolve.IvyNode; -import org.apache.ivy.core.resolve.IvyNodeCallers; - -import java.util.Arrays; -import java.util.Collection; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Map; - -/** - * This class is copied from org/apache/ivyde/eclipse/resolvevisualizer/model/IvyNodeElementAdapter.java at - * https://svn.apache.org/repos/asf/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse.resolvevisualizer/src/ - * - * Changes include: uncommenting generics and converting to diamond operators where appropriate; - * removing unnecessary casts; and removing javadoc tags with no description. - */ -public class IvyNodeElementAdapter { - /** - * Adapt all dependencies and evictions from the ResolveReport. - * @return the root node adapted from the ResolveReport - */ - public static IvyNodeElement adapt(ResolveReport report) { - Map resolvedNodes = new HashMap<>(); - - IvyNodeElement root = new IvyNodeElement(); - root.setModuleRevisionId(report.getModuleDescriptor().getModuleRevisionId()); - resolvedNodes.put(report.getModuleDescriptor().getModuleRevisionId(), root); - - @SuppressWarnings("unchecked") List dependencies = report.getDependencies(); - - // First pass - build the map of resolved nodes by revision id - for (Iterator iter = dependencies.iterator(); iter.hasNext();) { - IvyNode node = iter.next(); - if (node.getAllEvictingNodes() != null) { - // Nodes that are evicted as a result of conf inheritance still appear - // as dependencies, but with eviction data. They also appear as evictions. - // We map them as evictions rather than dependencies. - continue; - } - IvyNodeElement nodeElement = new IvyNodeElement(); - nodeElement.setModuleRevisionId(node.getResolvedId()); - resolvedNodes.put(node.getResolvedId(), nodeElement); - } - - // Second pass - establish relationships between the resolved nodes - for (Iterator iter = dependencies.iterator(); iter.hasNext();) { - IvyNode node = iter.next(); - if (node.getAllEvictingNodes() != null) { - continue; // see note above - } - - IvyNodeElement nodeElement = resolvedNodes.get(node.getResolvedId()); - IvyNodeCallers.Caller[] callers = node.getAllRealCallers(); - for (int i = 0; i < callers.length; i++) { - IvyNodeElement caller = resolvedNodes.get(callers[i].getModuleRevisionId()); - if (caller != null) { - nodeElement.addCaller(caller); - nodeElement.setCallerConfigurations(caller, callers[i].getCallerConfigurations()); - } - } - } - - IvyNode[] evictions = report.getEvictedNodes(); - for (int i = 0; i < evictions.length; i++) { - IvyNode eviction = evictions[i]; - IvyNodeElement evictionElement = new IvyNodeElement(); - evictionElement.setModuleRevisionId(eviction.getResolvedId()); - evictionElement.setEvicted(true); - - IvyNodeCallers.Caller[] callers = eviction.getAllCallers(); - for (int j = 0; j < callers.length; j++) { - IvyNodeElement caller = resolvedNodes.get(callers[j].getModuleRevisionId()); - if (caller != null) { - evictionElement.addCaller(caller); - evictionElement.setCallerConfigurations(caller, callers[j].getCallerConfigurations()); - } - } - } - - // Recursively set depth starting at root - root.setDepth(0); - findConflictsBeneathNode(root); - - return root; - } - - /** - * Derives configuration conflicts that exist between node and all of its descendant dependencies. - */ - private static void findConflictsBeneathNode(IvyNodeElement node) { - // Derive conflicts - Map> moduleRevisionMap = new HashMap<>(); - IvyNodeElement[] deepDependencies = node.getDeepDependencies(); - for (int i = 0; i < deepDependencies.length; i++) { - if (deepDependencies[i].isEvicted()) - continue; - - ModuleId moduleId = deepDependencies[i].getModuleRevisionId().getModuleId(); - if (moduleRevisionMap.containsKey(moduleId)) { - Collection conflicts = moduleRevisionMap.get(moduleId); - conflicts.add(deepDependencies[i]); - for (Iterator iter = conflicts.iterator(); iter.hasNext();) { - IvyNodeElement conflict = iter.next(); - conflict.setConflicts(conflicts); - } - } else { - List immutableMatchingSet = Arrays.asList(deepDependencies[i]); - moduleRevisionMap.put(moduleId, new HashSet<>(immutableMatchingSet)); - } - } - } -} \ No newline at end of file diff --git a/lucene/top-level-ivy-settings.xml b/lucene/top-level-ivy-settings.xml deleted file mode 100644 index 175cf4dd94d..00000000000 --- a/lucene/top-level-ivy-settings.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index cc22c798043..018d8930a40 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -114,6 +114,8 @@ Other Changes * SOLR-14702: All references to "master" and "slave" replaced with "leader" and "follower" (MarcusSorealheis, Erick Erickson, Tomás Fernández Löbbe) +* LUCENE-9433: Remove Ant support from trunk (Erick Erickson, Uwe Schindler et.al.) + Bug Fixes --------------------- * SOLR-14546: Fix for a relatively hard to hit issue in OverseerTaskProcessor that could lead to out of order execution diff --git a/solr/README.md b/solr/README.md index 66e2fff2b03..176e007f19c 100644 --- a/solr/README.md +++ b/solr/README.md @@ -163,30 +163,22 @@ Instructions for Building Apache Solr from Source folder included on your command path. To test this, issue a "java -version" command from your shell (command prompt) and verify that the Java version is 11 or later. -2. Download the Apache Ant binary distribution (1.8.2+) from - http://ant.apache.org/ You will need Ant installed and the $ANT_HOME/bin (Windows: - %ANT_HOME%\bin) folder included on your command path. To test this, issue a - "ant -version" command from your shell (command prompt) and verify that Ant is - available. - - You will also need to install Apache Ivy binary distribution (2.2.0) from - http://ant.apache.org/ivy/ and place ivy-2.2.0.jar file in ~/.ant/lib -- if you skip - this step, the Solr build system will offer to do it for you. - -3. Download the Apache Solr distribution, linked from the above web site. +2. Download the Apache Solr distribution, linked from the above web site. Unzip the distribution to a folder of your choice, e.g. C:\solr or ~/solr Alternately, you can obtain a copy of the latest Apache Solr source code directly from the GIT repository: - https://lucene.apache.org/solr/versioncontrol.html + https://lucene.apache.org/solr/community.html#version-control -4. Navigate to the "solr" folder and issue an "ant" command to see the available options - for building, testing, and packaging Solr. - - NOTE: - To see Solr in action, you may want to use the "ant server" command to build - and package Solr into the server directory. See also server/README.md. +3. Navigate to the root of your source tree folder and issue the `./gradlew tasks` + command to see the available options for building, testing, and packaging Solr. + `./gradlew assemble` will create a Solr executable. + cd to "./solr/packaging/build/solr-9.0.0-SNAPSHOT" and run the bin/solr script + to start Solr. + + NOTE: `gradlew` is the "Gradle Wrapper" and will automaticaly download and + start using the correct version of Gradle. Export control ------------------------------------------------- diff --git a/solr/build.xml b/solr/build.xml deleted file mode 100644 index c3cf6bc6a13..00000000000 --- a/solr/build.xml +++ /dev/null @@ -1,813 +0,0 @@ - - - - - Solr - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - See ${common-solr.dir}/README.md for how to run the Solr server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/common-build.xml b/solr/common-build.xml deleted file mode 100644 index c76944d6066..00000000000 --- a/solr/common-build.xml +++ /dev/null @@ -1,551 +0,0 @@ - - - - - This file is designed for importing into a main build file, and not intended - for standalone use. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/analysis-extras/build.xml b/solr/contrib/analysis-extras/build.xml deleted file mode 100644 index 68a88ad360d..00000000000 --- a/solr/contrib/analysis-extras/build.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - Additional analysis components - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/analysis-extras/ivy.xml b/solr/contrib/analysis-extras/ivy.xml deleted file mode 100644 index a4279033d63..00000000000 --- a/solr/contrib/analysis-extras/ivy.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/analytics/build.xml b/solr/contrib/analytics/build.xml deleted file mode 100644 index 27da8d5df39..00000000000 --- a/solr/contrib/analytics/build.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - Analytics Package - - - - - diff --git a/solr/contrib/analytics/ivy.xml b/solr/contrib/analytics/ivy.xml deleted file mode 100644 index 914f08edb14..00000000000 --- a/solr/contrib/analytics/ivy.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - diff --git a/solr/contrib/clustering/build.xml b/solr/contrib/clustering/build.xml deleted file mode 100644 index 7340a1ff3f9..00000000000 --- a/solr/contrib/clustering/build.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - Clustering Integraton - - - - - diff --git a/solr/contrib/clustering/ivy.xml b/solr/contrib/clustering/ivy.xml deleted file mode 100644 index 1de378ceb89..00000000000 --- a/solr/contrib/clustering/ivy.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/contrib-build.xml b/solr/contrib/contrib-build.xml deleted file mode 100644 index 6a3fb1177fd..00000000000 --- a/solr/contrib/contrib-build.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/dataimporthandler-extras/build.xml b/solr/contrib/dataimporthandler-extras/build.xml deleted file mode 100644 index 5cdd838f0b4..00000000000 --- a/solr/contrib/dataimporthandler-extras/build.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - Data Import Handler Extras - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/dataimporthandler-extras/ivy.xml b/solr/contrib/dataimporthandler-extras/ivy.xml deleted file mode 100644 index 63968d8a371..00000000000 --- a/solr/contrib/dataimporthandler-extras/ivy.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/dataimporthandler/build.xml b/solr/contrib/dataimporthandler/build.xml deleted file mode 100644 index a07e5345ea7..00000000000 --- a/solr/contrib/dataimporthandler/build.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - Data Import Handler - - - - - - - - - diff --git a/solr/contrib/dataimporthandler/ivy.xml b/solr/contrib/dataimporthandler/ivy.xml deleted file mode 100644 index 67af77b03a4..00000000000 --- a/solr/contrib/dataimporthandler/ivy.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/extraction/build.xml b/solr/contrib/extraction/build.xml deleted file mode 100644 index ab56899250e..00000000000 --- a/solr/contrib/extraction/build.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - Solr Integration with Tika for extracting content from binary file formats such as Microsoft Word and Adobe PDF. - - - - - diff --git a/solr/contrib/extraction/ivy.xml b/solr/contrib/extraction/ivy.xml deleted file mode 100644 index fb95664d4da..00000000000 --- a/solr/contrib/extraction/ivy.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/jaegertracer-configurator/build.xml b/solr/contrib/jaegertracer-configurator/build.xml deleted file mode 100644 index 379eea38735..00000000000 --- a/solr/contrib/jaegertracer-configurator/build.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - Jaeger tracer configurator for tracing Solr using OpenTracing with Jaeger backend. - - - - - - - - - - - diff --git a/solr/contrib/jaegertracer-configurator/ivy.xml b/solr/contrib/jaegertracer-configurator/ivy.xml deleted file mode 100644 index 5243ca38f4e..00000000000 --- a/solr/contrib/jaegertracer-configurator/ivy.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/solr/contrib/langid/build.xml b/solr/contrib/langid/build.xml deleted file mode 100644 index 8c9a8adbc4c..00000000000 --- a/solr/contrib/langid/build.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - - Language Identifier contrib for extracting language from a document being indexed - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/langid/ivy.xml b/solr/contrib/langid/ivy.xml deleted file mode 100644 index 04c6b253e5b..00000000000 --- a/solr/contrib/langid/ivy.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/solr/contrib/ltr/build.xml b/solr/contrib/ltr/build.xml deleted file mode 100644 index a5778c44147..00000000000 --- a/solr/contrib/ltr/build.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - Learning to Rank Package - - - - - - - - - - - - diff --git a/solr/contrib/ltr/ivy.xml b/solr/contrib/ltr/ivy.xml deleted file mode 100644 index 3b7e1c70b3c..00000000000 --- a/solr/contrib/ltr/ivy.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/solr/contrib/prometheus-exporter/build.xml b/solr/contrib/prometheus-exporter/build.xml deleted file mode 100644 index 3c6ce7e7fc8..00000000000 --- a/solr/contrib/prometheus-exporter/build.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - Prometheus exporter for exposing metrics from Solr using Metrics API and Search API. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/prometheus-exporter/ivy.xml b/solr/contrib/prometheus-exporter/ivy.xml deleted file mode 100644 index 7d62a3e1b19..00000000000 --- a/solr/contrib/prometheus-exporter/ivy.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/velocity/build.xml b/solr/contrib/velocity/build.xml deleted file mode 100644 index a6712afcd79..00000000000 --- a/solr/contrib/velocity/build.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - Solr Velocity Response Writer - - - - - diff --git a/solr/contrib/velocity/ivy.xml b/solr/contrib/velocity/ivy.xml deleted file mode 100644 index ab8758baa8b..00000000000 --- a/solr/contrib/velocity/ivy.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/solr/core/build.xml b/solr/core/build.xml deleted file mode 100644 index 3c3d28a6d59..00000000000 --- a/solr/core/build.xml +++ /dev/null @@ -1,131 +0,0 @@ - - - - Solr Core - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/core/ivy.xml b/solr/core/ivy.xml deleted file mode 100644 index 3bb6682bbac..00000000000 --- a/solr/core/ivy.xml +++ /dev/null @@ -1,148 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/example/example-DIH/build.xml b/solr/example/example-DIH/build.xml deleted file mode 100644 index 77abc2db879..00000000000 --- a/solr/example/example-DIH/build.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - Solr Example-DIH - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/example/example-DIH/ivy.xml b/solr/example/example-DIH/ivy.xml deleted file mode 100644 index 3f67a79574e..00000000000 --- a/solr/example/example-DIH/ivy.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - diff --git a/solr/licenses/ant-1.8.2.jar.sha1 b/solr/licenses/ant-1.8.2.jar.sha1 deleted file mode 100644 index 564db78dfdc..00000000000 --- a/solr/licenses/ant-1.8.2.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -fc33bf7cd8c5309dd7b81228e8626515ee42efd9 diff --git a/solr/licenses/ant-LICENSE-ASL.txt b/solr/licenses/ant-LICENSE-ASL.txt deleted file mode 100644 index ab3182e7776..00000000000 --- a/solr/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 - -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/solr/licenses/ant-NOTICE.txt b/solr/licenses/ant-NOTICE.txt deleted file mode 100644 index 4c88cc6659b..00000000000 --- a/solr/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 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/solr/licenses/asciidoctor-ant-1.6.2.jar.sha1 b/solr/licenses/asciidoctor-ant-1.6.2.jar.sha1 deleted file mode 100644 index 558a01f5839..00000000000 --- a/solr/licenses/asciidoctor-ant-1.6.2.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -c5ba599e3918e7a3316e6bf110cadd5aeb2a026b diff --git a/solr/licenses/asciidoctor-ant-LICENSE-ASL.txt b/solr/licenses/asciidoctor-ant-LICENSE-ASL.txt deleted file mode 100644 index d6456956733..00000000000 --- a/solr/licenses/asciidoctor-ant-LICENSE-ASL.txt +++ /dev/null @@ -1,202 +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. diff --git a/solr/licenses/asciidoctor-ant-NOTICE.txt b/solr/licenses/asciidoctor-ant-NOTICE.txt deleted file mode 100644 index 4cec1354d75..00000000000 --- a/solr/licenses/asciidoctor-ant-NOTICE.txt +++ /dev/null @@ -1,5 +0,0 @@ -Apache [asciidoctor-ant] -Copyright [2013] The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). \ No newline at end of file diff --git a/solr/licenses/junit4-ant-2.7.6.jar.sha1 b/solr/licenses/junit4-ant-2.7.6.jar.sha1 deleted file mode 100644 index 5f47480228c..00000000000 --- a/solr/licenses/junit4-ant-2.7.6.jar.sha1 +++ /dev/null @@ -1 +0,0 @@ -38416b709b9d7604cd2b65e5e032b61b5d32e9f2 diff --git a/solr/licenses/junit4-ant-LICENSE-ASL.txt b/solr/licenses/junit4-ant-LICENSE-ASL.txt deleted file mode 100644 index 7a4a3ea2424..00000000000 --- a/solr/licenses/junit4-ant-LICENSE-ASL.txt +++ /dev/null @@ -1,202 +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. \ No newline at end of file diff --git a/solr/licenses/junit4-ant-NOTICE.txt b/solr/licenses/junit4-ant-NOTICE.txt deleted file mode 100644 index 3c321aa2516..00000000000 --- a/solr/licenses/junit4-ant-NOTICE.txt +++ /dev/null @@ -1,12 +0,0 @@ - -JUnit4, parallel JUnit execution for ANT -Copyright 2011-2012 Carrot Search s.c. -http://labs.carrotsearch.com/randomizedtesting.html - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). - -This product includes asm (asmlib), BSD license -This product includes Google Guava, ASL license -This product includes simple-xml, ASL license -This product includes Google GSON, ASL license diff --git a/solr/server/build.xml b/solr/server/build.xml deleted file mode 100644 index d3d7af6495f..00000000000 --- a/solr/server/build.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - Solr Server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/server/ivy.xml b/solr/server/ivy.xml deleted file mode 100644 index 29a66e980a3..00000000000 --- a/solr/server/ivy.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/solr-ref-guide/README.adoc b/solr/solr-ref-guide/README.adoc index b8112c1a931..628da06dd86 100644 --- a/solr/solr-ref-guide/README.adoc +++ b/solr/solr-ref-guide/README.adoc @@ -39,24 +39,26 @@ Use `gem install concurrent-ruby` to install. == Building the Guide -For details on building the ref guide, see `ant -p`. +For details on building the ref guide, see `gradlew tasks`, the `Documentation Tasks` section. There are currently four available targets: -* `ant default`: builds the HTML versions of the Solr Ref Guide. -* `ant build-site`: also builds the HTML version. -* `ant clean`: removes the `../build/solr-ref-guide` directory. +* `gradlew buildSite`: Builds an HTML Site w/Jekyll and verifies the anchors+links are valid +* `gradlew documentation`: Generate all documentation +* `gradlew javadoc`: Generates Javadoc API documentation for the main source code. +* `gradlew renderJavadoc`: Generates Javadoc API documentation for the main source code. This directly invokes javadoc tool. +* `gradlew renderSiteJavadoc`: Generates Javadoc API documentation for the site (relative links). -The output of all builds will be located in `../build/solr-ref-guide`. +The output of all builds will be located in `../solr-ref-guide/build`. == Key Directories Key directories to be aware of: * `src` - where all human edited `*.adoc` files related to the Guide live, as well as various configuration, theme, and template files. * `tools` - custom Java code for parsing metadata in our `src/*.adoc` files to produce some `_data/` files for site navigation purposes. -* `../build/solr-ref-guide/content` - a copy of the `src` dir generated by ant where: -** `*.template` files are processed to replace ant properties with their runtime values -** some `../build/solr-ref-guide/content/_data` files are generated by our java tools based header attributes from each of the `*.adoc` files -* `../build/solr-ref-guide/html-site` - HTML generated version of the ref guide +* `../solr-ref-guide/build/content` - a copy of the `src` dir generated by gradle where: +** `*.template` files are processed to replace gradle (TODO CHECK!) properties with their runtime values +** some `../solr-ref-guide/build/content/_data` files are generated by our java tools based header attributes from each of the `*.adoc` files +* `../solr-ref-guide/build/html-site` - HTML generated version of the ref guide See the additional documentation in `src/metadocs` for more information about how to edit files, build for releases, or modifying any Jekyll templates. diff --git a/solr/solr-ref-guide/build.gradle b/solr/solr-ref-guide/build.gradle index f61a9e0d134..ac48516cb38 100644 --- a/solr/solr-ref-guide/build.gradle +++ b/solr/solr-ref-guide/build.gradle @@ -108,8 +108,6 @@ sourceSets { main { java { srcDirs = ['tools'] - exclude "**/CustomizedAsciidoctorAntTask.java" - exclude "**/asciidoctor-antlib.xml" } } diff --git a/solr/solr-ref-guide/build.xml b/solr/solr-ref-guide/build.xml deleted file mode 100644 index 6ee239668a9..00000000000 --- a/solr/solr-ref-guide/build.xml +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Copying all non template files from src ... - - - - - - Copy (w/prop replacement) any template files from src... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Ready to browse site: ${build.dir}/html-site/${main-page}.html - - - Running Jekyll... - - - - - - - - - - - - - - - - - - - - Validated Links & Anchors via: ${build.dir}/bare-bones-html/ - - - - SITE: ${build.dir}/html-site/${main-page}.html - - - - - diff --git a/solr/solr-ref-guide/ivy.xml b/solr/solr-ref-guide/ivy.xml deleted file mode 100644 index 390eee083f2..00000000000 --- a/solr/solr-ref-guide/ivy.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc b/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc index 87cf318cb4a..36f9b1aaad7 100644 --- a/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc +++ b/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc @@ -88,7 +88,7 @@ Snippets can be included directly from any file in the Lucene/Solr GIT repo by r ---- -- -When building the Guide, the `solr-root-path` attribute will be automatically set correctly for the (temporary) `build/solr-ref-guide/content` directory used by Ant. +When building the Guide, the `solr-root-path` attribute will be automatically set correctly for the (temporary) `solr-ref-guide/build/content` directory used by Gradle. In order for editors (such as ATOM) to be able to offer "live preview" of the `*.adoc` files using these includes, the `solr-root-path` attribute must also be set as a document level attribute in each file, with the correct relative path. diff --git a/solr/solr-ref-guide/src/meta-docs/jekyll.adoc b/solr/solr-ref-guide/src/meta-docs/jekyll.adoc index 225360772b8..6c892380c27 100644 --- a/solr/solr-ref-guide/src/meta-docs/jekyll.adoc +++ b/solr/solr-ref-guide/src/meta-docs/jekyll.adoc @@ -206,14 +206,12 @@ My content... == Building the HTML Site -An Ant target `ant build-site` when run from the `solr/solr-ref-guide` directory will build the full HTML site (found in `solr/build/solr-ref-guide/html-site`). +A Gradle target `gradlew buildSite` when run from the `installation` directory will build the full HTML site (found in `solr/solr-ref-guide/build/html-site`). This target builds the navigation for the left-hand menu, and converts all `.adoc` files to `.html`, including navigation and inter-document links. Building the HTML has several dependencies that will need to be installed on your local machine. Review the `README.adoc` file in the `solr/solr-ref-guide` directory for specific details. -Using the Gradle build does not require any local dependencies. Simply use `./gradlew buildSite` to generate the HTML files using Gradle (these will be found in `solr/solr-ref-guide/build/html-site`). - === Build Validation -When you run `ant build-site` to build the HTML, several additional validations occur during that process. See `solr-ref-guide/tools/CheckLinksAndAnchors.java` for details of what that tool does to validate content. +When you run `gradlew buildSite` to build the HTML, several additional validations occur during that process. See `solr-ref-guide/tools/CheckLinksAndAnchors.java` for details of what that tool does to validate content. diff --git a/solr/solr-ref-guide/src/meta-docs/publish.adoc b/solr/solr-ref-guide/src/meta-docs/publish.adoc index 4ccd15dc610..010f66a7fc0 100644 --- a/solr/solr-ref-guide/src/meta-docs/publish.adoc +++ b/solr/solr-ref-guide/src/meta-docs/publish.adoc @@ -45,7 +45,7 @@ To build the HTML: . Run: + [source,bash] -$ ant clean default +$ gradlew clean buildSite + This will produce pages with a DRAFT watermark across them. While these are fine for initial DRAFT publication, see the section <> for steps to produce final production-ready HTML pages. . The resulting Guide will be in `solr/build/solr-ref-guide`. The HTML files themselves will be in `solr/build/solr-ref-guide/html-site`. @@ -73,7 +73,7 @@ Since the Guide has already been uploaded to SVN, you need to overwrite the exis Build the Guide locally with a parameter for the Guide version. This requires the same <> from above. [source,bash] -$ant clean default -Dsolr-guide-version=X.Y +$gradlew clean buildSite -Dsolr-guide-version=X.Y where `X.Y` is the version you want to publish (i.e., `7.7`). diff --git a/solr/solr-ref-guide/tools/CustomizedAsciidoctorAntTask.java b/solr/solr-ref-guide/tools/CustomizedAsciidoctorAntTask.java deleted file mode 100644 index 5c1d700676d..00000000000 --- a/solr/solr-ref-guide/tools/CustomizedAsciidoctorAntTask.java +++ /dev/null @@ -1,34 +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. - */ -import org.asciidoctor.ant.AsciidoctorAntTask; - -/** - * Customized version of the default AsciidoctorAntTask - * To deal with the fact that we want sourceDocumentName="" treated the same as unspecified (ie: null) - * in order to be able to wrap in a macro with defaults - */ -public class CustomizedAsciidoctorAntTask extends AsciidoctorAntTask { - @SuppressWarnings("UnusedDeclaration") - public void setSourceDocumentName(String sourceDocumentName) { - if ("".equals(sourceDocumentName)) { - sourceDocumentName = null; - } - super.setSourceDocumentName(sourceDocumentName); - } -} - - diff --git a/solr/solr-ref-guide/tools/asciidoctor-antlib.xml b/solr/solr-ref-guide/tools/asciidoctor-antlib.xml deleted file mode 100644 index d67e3e15e33..00000000000 --- a/solr/solr-ref-guide/tools/asciidoctor-antlib.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/solr/solrj/build.xml b/solr/solrj/build.xml deleted file mode 100644 index 3393438c6e2..00000000000 --- a/solr/solrj/build.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - Solrj - Solr Java Client - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/solrj/ivy.xml b/solr/solrj/ivy.xml deleted file mode 100644 index 5ce77aa9bb5..00000000000 --- a/solr/solrj/ivy.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/test-framework/build.xml b/solr/test-framework/build.xml deleted file mode 100644 index 242c384a7b1..00000000000 --- a/solr/test-framework/build.xml +++ /dev/null @@ -1,121 +0,0 @@ - - - - Solr Test Framework - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/test-framework/ivy.xml b/solr/test-framework/ivy.xml deleted file mode 100644 index eb1295f09b9..00000000000 --- a/solr/test-framework/ivy.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/webapp/build.xml b/solr/webapp/build.xml deleted file mode 100644 index f22c3f3f2a4..00000000000 --- a/solr/webapp/build.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - Solr webapp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -