You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by md...@apache.org on 2022/05/04 16:58:38 UTC
[solr] branch branch_9_0 updated: SOLR-16177 Fix License Headers and Rat Check (#832)
This is an automated email from the ASF dual-hosted git repository.
mdrob pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new a4eb7aa123d SOLR-16177 Fix License Headers and Rat Check (#832)
a4eb7aa123d is described below
commit a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26
Author: Mike Drob <md...@apache.org>
AuthorDate: Wed May 4 11:23:48 2022 -0500
SOLR-16177 Fix License Headers and Rat Check (#832)
(cherry picked from commit 9527ff202a0c9c26c607df2b7b13cf68c83dc609)
---
NOTICE.txt | 7 +++++--
gradle/validation/rat-sources.gradle | 19 ++++++++++++++-----
solr/benchmark/README.md | 17 +++++++++++++++++
solr/core/src/test-files/old-solr-example/README.txt | 0
solr/core/src/test-files/old-solr-example/solr.xml | 0
solr/modules/analysis-extras/README.md | 17 +++++++++++++++++
solr/modules/clustering/README.md | 17 +++++++++++++++++
.../clustering/solr/collection1/conf/schema.xml | 19 +++++++++++++++++++
solr/modules/extraction/README.md | 17 +++++++++++++++++
solr/modules/gcs-repository/README.md | 17 +++++++++++++++++
solr/modules/hadoop-auth/README.md | 17 +++++++++++++++++
solr/modules/hdfs/README.md | 17 +++++++++++++++++
solr/modules/jaegertracer-configurator/README.md | 17 +++++++++++++++++
solr/modules/jwt-auth/README.md | 17 +++++++++++++++++
solr/modules/langid/README.md | 17 +++++++++++++++++
solr/modules/ltr/README.md | 17 +++++++++++++++++
solr/modules/ltr/example/README.md | 17 +++++++++++++++++
solr/modules/s3-repository/README.md | 17 +++++++++++++++++
solr/modules/scripting/README.md | 17 +++++++++++++++++
solr/modules/sql/README.md | 17 +++++++++++++++++
solr/prometheus-exporter/README.md | 17 +++++++++++++++++
solr/solr-ref-guide/antora.template.yml | 15 +++++++++++++++
solr/solr-ref-guide/antora.yml | 15 +++++++++++++++
.../modules/configuration-guide/config-nav.adoc | 17 +++++++++++++++++
.../modules/deployment-guide/deployment-nav.adoc | 17 +++++++++++++++++
.../modules/getting-started/getting-started-nav.adoc | 17 +++++++++++++++++
.../modules/indexing-guide/indexing-nav.adoc | 17 +++++++++++++++++
.../modules/query-guide/querying-nav.adoc | 17 +++++++++++++++++
.../modules/upgrade-notes/upgrade-nav.adoc | 17 +++++++++++++++++
solr/solr-ref-guide/playbook.template.yml | 15 +++++++++++++++
solr/test-framework/README.md | 17 +++++++++++++++++
31 files changed, 474 insertions(+), 7 deletions(-)
diff --git a/NOTICE.txt b/NOTICE.txt
index 13634abd481..03d1566881d 100644
--- a/NOTICE.txt
+++ b/NOTICE.txt
@@ -136,7 +136,7 @@ parrt@antlr.org
=========================================================================
Apache Lucene
-Copyright 2001-2022 The Apache Software Foundation
+Copyright 2001-2021 The Apache Software Foundation
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
@@ -189,7 +189,7 @@ The snowball stopword lists in
analysis/common/src/resources/org/apache/lucene/analysis/snowball
were developed by Martin Porter and Richard Boulton.
The full snowball package is available from
- http://snowball.tartarus.org/
+ https://snowballstem.org/
The KStem stemmer in
analysis/common/src/org/apache/lucene/analysis/en
@@ -344,6 +344,9 @@ This software includes a binary and/or source version of data from
which can be obtained from
https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.0.3-20170922.tar.gz
+
+The floating point precision conversion in NumericUtils.Float16Converter is derived from work by
+Jeroen van der Zijp, granted for use under the Apache license.
---
This product includes/uses software, Woodstox (http://woodstox.codehaus.org),
diff --git a/gradle/validation/rat-sources.gradle b/gradle/validation/rat-sources.gradle
index f082b206c67..de0ee5da2d1 100644
--- a/gradle/validation/rat-sources.gradle
+++ b/gradle/validation/rat-sources.gradle
@@ -68,12 +68,8 @@ allprojects {
exclude "src/**/*.csv"
// TODO: SOLR-15601: Some of these should carry the license, perhaps?
- exclude "**/README.md"
exclude "**/*.html"
- exclude "**/*.xml"
exclude "**/*.json"
- exclude "**/*.js"
- exclude "**/*.py"
// Conditionally apply module-specific patterns. We do it here instead
// of reconfiguring each project because the provider can be made lazy
@@ -117,6 +113,16 @@ allprojects {
exclude "**/langdetect-profiles/*"
break
+ case ":solr:modules:ltr":
+ // TODO: SOLR-15601: Some of these should carry the license, perhaps?
+ exclude "**/*.py"
+ break
+
+ case ":solr:modules:scripting":
+ // TODO: SOLR-15601: Some of these should carry the license, perhaps?
+ exclude "**/*.js"
+ break
+
case ":solr:documentation":
exclude "src/markdown/*.md"
break
@@ -132,6 +138,7 @@ allprojects {
exclude "src/test-files/**/*.conf"
exclude "src/test-files/**/external_eff"
exclude "src/test-files/**/*.incl"
+ exclude "src/test-files/**/*-snippet-*.xml"
break
case ":solr:server":
@@ -145,7 +152,9 @@ allprojects {
break
case ":solr:solr-ref-guide":
- exclude "src/**"
+ include "*.yml"
+ include "**/*.adoc"
+ exclude "ui-src/**"
exclude "node_modules/**"
break
diff --git a/solr/benchmark/README.md b/solr/benchmark/README.md
index bbcd418c15c..7075ef111a7 100644
--- a/solr/benchmark/README.md
+++ b/solr/benchmark/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
JMH-Benchmarks module
=====================
diff --git a/solr/core/src/test-files/old-solr-example/README.txt b/solr/core/src/test-files/old-solr-example/README.txt
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/solr/core/src/test-files/old-solr-example/solr.xml b/solr/core/src/test-files/old-solr-example/solr.xml
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/solr/modules/analysis-extras/README.md b/solr/modules/analysis-extras/README.md
index 77aa5ebe673..7faba6067cc 100644
--- a/solr/modules/analysis-extras/README.md
+++ b/solr/modules/analysis-extras/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr - Analysis Extras
=============================
diff --git a/solr/modules/clustering/README.md b/solr/modules/clustering/README.md
index 8b14c9c9289..f1304a60438 100644
--- a/solr/modules/clustering/README.md
+++ b/solr/modules/clustering/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
The Clustering module for Solr provides a generic mechanism for plugging in third party clustering implementations.
It currently provides clustering support for search results using the Carrot2 project.
diff --git a/solr/modules/clustering/src/test-files/clustering/solr/collection1/conf/schema.xml b/solr/modules/clustering/src/test-files/clustering/solr/collection1/conf/schema.xml
index 09061738998..34853ede6cf 100644
--- a/solr/modules/clustering/src/test-files/clustering/solr/collection1/conf/schema.xml
+++ b/solr/modules/clustering/src/test-files/clustering/solr/collection1/conf/schema.xml
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ 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.
+ -->
+
<schema name="example" version="1.6">
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
diff --git a/solr/modules/extraction/README.md b/solr/modules/extraction/README.md
index 243430783e5..3076051cdc2 100644
--- a/solr/modules/extraction/README.md
+++ b/solr/modules/extraction/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr Content Extraction Library (Solr Cell)
==================================================
diff --git a/solr/modules/gcs-repository/README.md b/solr/modules/gcs-repository/README.md
index ee966318977..a18290b503b 100644
--- a/solr/modules/gcs-repository/README.md
+++ b/solr/modules/gcs-repository/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr - GCS Respository
=============================
diff --git a/solr/modules/hadoop-auth/README.md b/solr/modules/hadoop-auth/README.md
index b7d826539fd..4771efbe9fd 100644
--- a/solr/modules/hadoop-auth/README.md
+++ b/solr/modules/hadoop-auth/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr Hadoop Authentication Module
===============================
diff --git a/solr/modules/hdfs/README.md b/solr/modules/hdfs/README.md
index 86fcb6be74f..93e699155c9 100644
--- a/solr/modules/hdfs/README.md
+++ b/solr/modules/hdfs/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr HDFS Module
===============================
diff --git a/solr/modules/jaegertracer-configurator/README.md b/solr/modules/jaegertracer-configurator/README.md
index f6cf87c26bb..8750b22db5f 100644
--- a/solr/modules/jaegertracer-configurator/README.md
+++ b/solr/modules/jaegertracer-configurator/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Welcome to Apache Solr Jaeger Tracer Configurator
========
diff --git a/solr/modules/jwt-auth/README.md b/solr/modules/jwt-auth/README.md
index eb2a27547b8..838c50604d6 100644
--- a/solr/modules/jwt-auth/README.md
+++ b/solr/modules/jwt-auth/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr JWT Authentication Plugin
=====================================
diff --git a/solr/modules/langid/README.md b/solr/modules/langid/README.md
index e35010dca62..6a29283f8cf 100644
--- a/solr/modules/langid/README.md
+++ b/solr/modules/langid/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr Language Identifier
===============================
diff --git a/solr/modules/ltr/README.md b/solr/modules/ltr/README.md
index d029f7eb3a9..c64fd031014 100644
--- a/solr/modules/ltr/README.md
+++ b/solr/modules/ltr/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Welcome to Apache Solr Learning to Rank!
========
diff --git a/solr/modules/ltr/example/README.md b/solr/modules/ltr/example/README.md
index feadabf9df2..6178c866bfd 100644
--- a/solr/modules/ltr/example/README.md
+++ b/solr/modules/ltr/example/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
This README file is only about this example directory's content.
Please refer to the Solr Reference Guide's section on [Learning To Rank](https://solr.apache.org/guide/learning-to-rank.html) section for broader information on Learning to Rank (LTR) with Apache Solr.
diff --git a/solr/modules/s3-repository/README.md b/solr/modules/s3-repository/README.md
index 762d62e8838..7d703071a98 100644
--- a/solr/modules/s3-repository/README.md
+++ b/solr/modules/s3-repository/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr - S3 Repository
===========================
diff --git a/solr/modules/scripting/README.md b/solr/modules/scripting/README.md
index a9f0fbcf08a..22c52da4079 100644
--- a/solr/modules/scripting/README.md
+++ b/solr/modules/scripting/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Welcome to Apache Solr Scripting!
===============================
diff --git a/solr/modules/sql/README.md b/solr/modules/sql/README.md
index 364a8d0f590..2065f96fa64 100644
--- a/solr/modules/sql/README.md
+++ b/solr/modules/sql/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Apache Solr SQL Module
===============================
diff --git a/solr/prometheus-exporter/README.md b/solr/prometheus-exporter/README.md
index cda5c4e64fa..36708c3f672 100644
--- a/solr/prometheus-exporter/README.md
+++ b/solr/prometheus-exporter/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
Welcome to Apache Solr Prometheus Exporter
========
diff --git a/solr/solr-ref-guide/antora.template.yml b/solr/solr-ref-guide/antora.template.yml
index 4d6b84871b4..07043d3b8af 100644
--- a/solr/solr-ref-guide/antora.template.yml
+++ b/solr/solr-ref-guide/antora.template.yml
@@ -1,3 +1,18 @@
+# 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.
+
name: solr
version: '${solr_version_major}_${solr_version_minor}'
display_version: '${displayVersion}'
diff --git a/solr/solr-ref-guide/antora.yml b/solr/solr-ref-guide/antora.yml
index 7b9300ea751..f4089626f63 100644
--- a/solr/solr-ref-guide/antora.yml
+++ b/solr/solr-ref-guide/antora.yml
@@ -1,3 +1,18 @@
+# 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.
+
name: solr
version: '9_0'
display_version: '9.0-alpha'
diff --git a/solr/solr-ref-guide/modules/configuration-guide/config-nav.adoc b/solr/solr-ref-guide/modules/configuration-guide/config-nav.adoc
index 2c4e942f6b0..6afef555df9 100644
--- a/solr/solr-ref-guide/modules/configuration-guide/config-nav.adoc
+++ b/solr/solr-ref-guide/modules/configuration-guide/config-nav.adoc
@@ -1,3 +1,20 @@
+// 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.
+
.Configuration Guide
* xref:configuration-files.adoc[]
diff --git a/solr/solr-ref-guide/modules/deployment-guide/deployment-nav.adoc b/solr/solr-ref-guide/modules/deployment-guide/deployment-nav.adoc
index 2baea0ac0d8..102746c16ac 100644
--- a/solr/solr-ref-guide/modules/deployment-guide/deployment-nav.adoc
+++ b/solr/solr-ref-guide/modules/deployment-guide/deployment-nav.adoc
@@ -1,3 +1,20 @@
+// 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.
+
.Deployment Guide
* xref:solr-control-script-reference.adoc[]
diff --git a/solr/solr-ref-guide/modules/getting-started/getting-started-nav.adoc b/solr/solr-ref-guide/modules/getting-started/getting-started-nav.adoc
index b080246eba5..c060317d227 100644
--- a/solr/solr-ref-guide/modules/getting-started/getting-started-nav.adoc
+++ b/solr/solr-ref-guide/modules/getting-started/getting-started-nav.adoc
@@ -1,3 +1,20 @@
+// 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.
+
.Getting Started
* xref:introduction.adoc[]
diff --git a/solr/solr-ref-guide/modules/indexing-guide/indexing-nav.adoc b/solr/solr-ref-guide/modules/indexing-guide/indexing-nav.adoc
index a5fbe597ebd..1f10acc9f83 100644
--- a/solr/solr-ref-guide/modules/indexing-guide/indexing-nav.adoc
+++ b/solr/solr-ref-guide/modules/indexing-guide/indexing-nav.adoc
@@ -1,3 +1,20 @@
+// 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.
+
.Schema and Indexing Guide
* Solr Schema
diff --git a/solr/solr-ref-guide/modules/query-guide/querying-nav.adoc b/solr/solr-ref-guide/modules/query-guide/querying-nav.adoc
index d030d6503a4..d64e6be6c6b 100644
--- a/solr/solr-ref-guide/modules/query-guide/querying-nav.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/querying-nav.adoc
@@ -1,3 +1,20 @@
+// 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.
+
.Query Guide
* xref:query-syntax-and-parsers.adoc[]
diff --git a/solr/solr-ref-guide/modules/upgrade-notes/upgrade-nav.adoc b/solr/solr-ref-guide/modules/upgrade-notes/upgrade-nav.adoc
index 3ee8638ca9e..4107da27003 100644
--- a/solr/solr-ref-guide/modules/upgrade-notes/upgrade-nav.adoc
+++ b/solr/solr-ref-guide/modules/upgrade-notes/upgrade-nav.adoc
@@ -1,3 +1,20 @@
+// 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.
+
* xref:solr-upgrade-notes.adoc[]
** xref:major-changes-in-solr-9.adoc[]
** xref:major-changes-in-solr-8.adoc[]
diff --git a/solr/solr-ref-guide/playbook.template.yml b/solr/solr-ref-guide/playbook.template.yml
index f53e2503c7e..c677f6c03ac 100644
--- a/solr/solr-ref-guide/playbook.template.yml
+++ b/solr/solr-ref-guide/playbook.template.yml
@@ -1,3 +1,18 @@
+# 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.
+
site:
title: Apache Solr Reference Guide
url: ${site_url}
diff --git a/solr/test-framework/README.md b/solr/test-framework/README.md
index 914d2d4d8f2..6f707c30ab9 100644
--- a/solr/test-framework/README.md
+++ b/solr/test-framework/README.md
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
The Solr test-framework provides base classes and utility classes for
writing JUnit tests exercising Solr functionality.