PHOENIX-6512 Fix PQS Apache RAT check problems
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index c9835c7..69e1b08 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.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: phoenix-queryserver preCommit Build
 
 on: 
diff --git a/pom.xml b/pom.xml
index 18354e6..20fb957 100644
--- a/pom.xml
+++ b/pom.xml
@@ -359,6 +359,13 @@
                     <excludes>
                         <!-- precommit? -->
                         <exclude>**/patchprocess/**</exclude>
+                        <!-- Python Software Foundation License -->
+                        <exclude>bin/argparse-1.4.0/argparse.py</exclude>
+                        <!-- short docs text files don't need header -->
+                        <exclude>python-phoenixdb/NEWS.rst</exclude>
+                        <exclude>python-phoenixdb/README.rst</exclude>
+                        <exclude>python-phoenixdb/dev-support/rat-excludes.txt</exclude>
+                        <exclude>python-phoenixdb/RELEASING.rst</exclude>
                     </excludes>
                 </configuration>
             </plugin>
diff --git a/python-phoenixdb/dev-support/run-source-ratcheck.sh b/python-phoenixdb/dev-support/run-source-ratcheck.sh
index 232032e..de9b72f 100755
--- a/python-phoenixdb/dev-support/run-source-ratcheck.sh
+++ b/python-phoenixdb/dev-support/run-source-ratcheck.sh
@@ -1,4 +1,23 @@
 #!/usr/bin/env bash
+############################################################################
+#
+# 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.
+#
+############################################################################
 
 # Catch some more errors
 set -eu