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

iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ee77249c BIGTOP-4434. Add necessary license headers and update RAT 
exclusion. (#1357)
9ee77249c is described below

commit 9ee77249c3df76ba582c5514e76cf4025adbfc58
Author: Kengo Seki <sek...@apache.org>
AuthorDate: Tue May 27 10:44:47 2025 +0900

    BIGTOP-4434. Add necessary license headers and update RAT exclusion. (#1357)
---
 .../bigpetstore-spark/settings.gradle               | 15 +++++++++++++++
 bigtop-tests/smoke-tests/solr/delete.xml            | 21 +++++++++++++++++++++
 bigtop-tests/smoke-tests/solr/simple.xml            | 21 +++++++++++++++++++++
 build.gradle                                        |  7 +++----
 4 files changed, 60 insertions(+), 4 deletions(-)

diff --git a/bigtop-bigpetstore/bigpetstore-spark/settings.gradle 
b/bigtop-bigpetstore/bigpetstore-spark/settings.gradle
index e69de29bb..48a2e62bb 100644
--- a/bigtop-bigpetstore/bigpetstore-spark/settings.gradle
+++ b/bigtop-bigpetstore/bigpetstore-spark/settings.gradle
@@ -0,0 +1,15 @@
+/**
+ * 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.
+ */
diff --git a/bigtop-tests/smoke-tests/solr/delete.xml 
b/bigtop-tests/smoke-tests/solr/delete.xml
index 9c2f234cd..cfdff479a 100644
--- a/bigtop-tests/smoke-tests/solr/delete.xml
+++ b/bigtop-tests/smoke-tests/solr/delete.xml
@@ -1,3 +1,24 @@
+<?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.
+-->
+
 <delete>
     <query>*:*</query>
 </delete>
\ No newline at end of file
diff --git a/bigtop-tests/smoke-tests/solr/simple.xml 
b/bigtop-tests/smoke-tests/solr/simple.xml
index db504e03e..22d8be89d 100644
--- a/bigtop-tests/smoke-tests/solr/simple.xml
+++ b/bigtop-tests/smoke-tests/solr/simple.xml
@@ -1,3 +1,24 @@
+<?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.
+-->
+
 <add>
   <doc>
     <field name="id">doc1</field>
diff --git a/build.gradle b/build.gradle
index 45d9d27dd..86ac16159 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,7 @@ buildscript {
 
 plugins {
   id "de.undercouch.download" version "4.1.2"
-  id "org.nosphere.apache.rat" version "0.2.0"
+  id "org.nosphere.apache.rat" version "0.6.0"
 }
 
 //        Generated by  
http://patorjk.com/software/taag/#p=display&f=Bloody&t=Apache%20Bigtop
@@ -71,14 +71,15 @@ rat {
       ".git/**",
       ".github/**",
       ".idea/**",
+      "**/.idea",
        "**/.gitignore",
        /* Test data with rigid structure and/or binary */
        "bigtop-tests/test-artifacts/**/resources/**",
        "bigtop-tests/smoke-tests/alluxio/datafile",
        "bigtop-tests/smoke-tests/flink/test.data",
        "bigtop-tests/smoke-tests/hive/passwd.ql",
-       "bigtop-tests/smoke-tests/phoenix/*.csv",
        "bigtop-tests/smoke-tests/phoenix/*.sql",
+       "bigtop-tests/smoke-tests/solr/*.json",
        "**/target/**",
        "**/build/**",
        "**/.gradle/**",
@@ -111,7 +112,6 @@ rat {
        "bigtop-packages/src/**/*.diff",
        "bigtop-packages/src/common/*/*.json",
        "bigtop-packages/src/common/**/*.default",
-       "bigtop-repos/apt/distributions",
        /* Juju charm files with rigid structure */
        "bigtop-packages/src/charm/**/wheelhouse.txt",
        "bigtop-packages/src/charm/**/*.json",
@@ -135,7 +135,6 @@ rat {
        "provisioner/docker/config/hiera.yaml",
        "provisioner/docker/config/hieradata/PLACEHOLDER",
        "provisioner/docker/config/hosts",
-       "provisioner/bigtop-stack-provisioner/**",
        "bigtop_toolchain/files/*.patch",
        "bigtop-bigpetstore/bigpetstore-transaction-queue/.dockerignore",
   ]

Reply via email to