You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/06/09 23:06:28 UTC

(grails-forge) 01/01: Remove add license scripts

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

jamesfredley pushed a commit to branch remove-add-license-scripts
in repository https://gitbox.apache.org/repos/asf/grails-forge.git

commit 37cf913a2530d50944b5ed781668729c06d8cdc9
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Mon Jun 9 19:06:11 2025 -0400

    Remove add license scripts
    
    This will only live in grails-core
---
 etc/bin/add-license-adoc.groovy        | 60 ------------------------------
 etc/bin/add-license-css.groovy         | 60 ------------------------------
 etc/bin/add-license-gradle.groovy      | 60 ------------------------------
 etc/bin/add-license-groovy-java.groovy | 62 -------------------------------
 etc/bin/add-license-gson.groovy        | 60 ------------------------------
 etc/bin/add-license-gsp.groovy         | 68 ----------------------------------
 etc/bin/add-license-js.groovy          | 60 ------------------------------
 etc/bin/add-license-md.groovy          | 57 ----------------------------
 etc/bin/add-license-properties.groovy  | 59 -----------------------------
 etc/bin/add-license-raw.groovy         | 60 ------------------------------
 etc/bin/add-license-yml.groovy         | 56 ----------------------------
 11 files changed, 662 deletions(-)

diff --git a/etc/bin/add-license-adoc.groovy b/etc/bin/add-license-adoc.groovy
deleted file mode 100644
index c7a13b1..0000000
--- a/etc/bin/add-license-adoc.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''////
-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
-
-https://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.
-////
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".adoc") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-css.groovy b/etc/bin/add-license-css.groovy
deleted file mode 100644
index d394fd5..0000000
--- a/etc/bin/add-license-css.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''/*
- *  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
- *
- *    https://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.
- */
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".css") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-gradle.groovy b/etc/bin/add-license-gradle.groovy
deleted file mode 100644
index c4a4fed..0000000
--- a/etc/bin/add-license-gradle.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''/*
- *  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
- *
- *    https://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.
- */
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".gradle") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-groovy-java.groovy b/etc/bin/add-license-groovy-java.groovy
deleted file mode 100644
index ef2dccb..0000000
--- a/etc/bin/add-license-groovy-java.groovy
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def ASF_MARKER2 = "Licensed under the Apache License, Version 2.0 (the \"License\");"
-
-def HEADER = '''/*
- *  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
- *
- *    https://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.
- */
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && (path.toString().endsWith(".groovy") || path.toString().endsWith(".java")) }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER) && !text.contains(ASF_MARKER2)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-gson.groovy b/etc/bin/add-license-gson.groovy
deleted file mode 100644
index 1cd03ce..0000000
--- a/etc/bin/add-license-gson.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''/*
- *  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
- *
- *    https://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.
- */
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".gson") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-gsp.groovy b/etc/bin/add-license-gsp.groovy
deleted file mode 100644
index b931996..0000000
--- a/etc/bin/add-license-gsp.groovy
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed under the Apache License, Version 2.0 (the \"License\")"
-def HEADER = '''<%--
-  ~  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
-  ~
-  ~    https://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.
-  --%>
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".gsp") }
-        .each { path ->
-            def text = path.toFile().getText('UTF-8')
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter('UTF-8') { writer ->
-                    if(text.startsWith("<%@ page")) {
-                        String[] split = text.split('\n')
-                        writer << split.first()
-                        writer << '\n'
-                        writer << HEADER
-                        writer << split.tail().join("\n")
-                    }
-                    else {
-                        writer << HEADER
-                        writer << text
-                    }
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-js.groovy b/etc/bin/add-license-js.groovy
deleted file mode 100644
index 3d1f728..0000000
--- a/etc/bin/add-license-js.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''/*
- *  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
- *
- *    https://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.
- */
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".js") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-md.groovy b/etc/bin/add-license-md.groovy
deleted file mode 100644
index 78d0210..0000000
--- a/etc/bin/add-license-md.groovy
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed under the Apache License, Version 2.0 (the \"License\")"
-def HEADER = '''<!--
-SPDX-License-Identifier: Apache-2.0
-
-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
-
-    https://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.
--->
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".md") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-properties.groovy b/etc/bin/add-license-properties.groovy
deleted file mode 100644
index b7fec71..0000000
--- a/etc/bin/add-license-properties.groovy
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''#
-#  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
-#
-#    https://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.
-#
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".properties") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-raw.groovy b/etc/bin/add-license-raw.groovy
deleted file mode 100644
index 61f5f06..0000000
--- a/etc/bin/add-license-raw.groovy
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''@*
-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
-
-https://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.
-*@
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".raw") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."
diff --git a/etc/bin/add-license-yml.groovy b/etc/bin/add-license-yml.groovy
deleted file mode 100644
index ba92319..0000000
--- a/etc/bin/add-license-yml.groovy
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/env groovy
-/*
- *  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
- *
- *    https://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 java.nio.file.*
-
-def ASF_MARKER = "Licensed to the Apache Software Foundation (ASF) under one"
-def HEADER = '''# 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
-#
-#     https://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.
-
-'''
-
-def root = Paths.get(".").toRealPath()
-
-Files.walk(root)
-        .filter { path -> Files.isRegularFile(path) && path.toString().endsWith(".yml") }
-        .each { path ->
-            def text = path.toFile().getText("UTF-8")
-            if (!text.contains(ASF_MARKER)) {
-                println "📄 Adding ASF header to ${path}"
-                // Prepend header + existing content
-                path.toFile().withWriter("UTF-8") { writer ->
-                    writer << HEADER
-                    writer << text
-                }
-            }
-        }
-
-println "✅ Done."