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

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy-geb.git


The following commit(s) were added to refs/heads/master by this push:
     new a441ecba rat should also check root directory
a441ecba is described below

commit a441ecba2eaa856ce34c6913b50699fca54e98b8
Author: Paul King <[email protected]>
AuthorDate: Thu Dec 12 15:02:39 2024 +1000

    rat should also check root directory
---
 .circleci/config.yml                               | 15 ++++++++++
 CONTRIBUTING.md                                    | 15 ++++++++++
 README.md                                          | 15 ++++++++++
 RELEASING.md                                       | 15 ++++++++++
 build-in-docker.sh                                 | 18 +++++++++++
 .../extension/BookOfGebExtension.groovy            | 23 +++++++-------
 .../extension/GithubProfileLinkMacro.groovy        | 23 +++++++-------
 .../asciidoctor/extension/IssueLinkMacro.groovy    | 23 +++++++-------
 geb.gradle                                         | 35 ++++++++++++++++++++--
 gradle.properties                                  | 29 ++++++++----------
 gradle/codenarc/rulesets.groovy                    | 18 +++++++++++
 gradle/libs.versions.toml                          | 15 ++++++++++
 integration/integration.gradle                     | 18 +++++++++++
 internal/internal.gradle                           | 18 +++++++++++
 settings.gradle                                    | 18 +++++++++++
 system.properties                                  | 15 ++++++++++
 16 files changed, 265 insertions(+), 48 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index b3978616..d46bc37d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.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.
+
 version: 2
 jobs:
   check:
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e5da0af1..38d1f3d3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,3 +1,18 @@
+<!--
+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.
+-->
 # Contributing to Geb
 
 Contributions are always welcome to Geb!
diff --git a/README.md b/README.md
index cb25cb69..41efd160 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,18 @@
+<!--
+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.
+-->
 [![Build 
Status](https://circleci.com/gh/geb/geb/tree/master.svg?style=shield)](https://circleci.com/gh/geb/workflows/geb/tree/master)
 [![Maven 
Central](https://maven-badges.herokuapp.com/maven-central/org.gebish/geb-core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.gebish/geb-core)
 [![GitHub 
contributors](https://img.shields.io/github/contributors/geb/geb.svg)](https://github.com/geb/geb/graphs/contributors/)
diff --git a/RELEASING.md b/RELEASING.md
index 27b35c0f..c2c7adfa 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -1,3 +1,18 @@
+<!--
+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.
+-->
 # Required accounts and credentials
 
 1. Generate a GPG key pair and distribute the public key as per [this blog 
post](http://blog.sonatype.com/2010/01/how-to-generate-pgp-signatures-with-maven).
 Add the following entries to `~/.gradle/gradle.properties`:
diff --git a/build-in-docker.sh b/build-in-docker.sh
index 35180814..7d4f7af1 100755
--- a/build-in-docker.sh
+++ b/build-in-docker.sh
@@ -1,4 +1,22 @@
 #!/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.
+# ----------------------------------------------------------------------------
 
 export WORKING_DIRECTORY=`pwd`
 export HOME_DIRECTORY=`echo ~`
diff --git 
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/BookOfGebExtension.groovy
 
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/BookOfGebExtension.groovy
index ee4d1a1d..27aaee4f 100644
--- 
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/BookOfGebExtension.groovy
+++ 
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/BookOfGebExtension.groovy
@@ -1,17 +1,20 @@
 /*
- * Copyright 2020 the original author or authors.
- *
- * 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
+ *  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.
+ *  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 geb.doc.asciidoctor.extension
 
diff --git 
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/GithubProfileLinkMacro.groovy
 
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/GithubProfileLinkMacro.groovy
index 47d3578e..98b89980 100644
--- 
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/GithubProfileLinkMacro.groovy
+++ 
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/GithubProfileLinkMacro.groovy
@@ -1,17 +1,20 @@
 /*
- * Copyright 2020 the original author or authors.
- *
- * 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
+ *  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.
+ *  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 geb.doc.asciidoctor.extension
 
diff --git 
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
 
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
index 3a571787..240bdeae 100644
--- 
a/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
+++ 
b/doc/asciidoctor-extension/src/main/groovy/geb/doc/asciidoctor/extension/IssueLinkMacro.groovy
@@ -1,17 +1,20 @@
 /*
- * Copyright 2020 the original author or authors.
- *
- * 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
+ *  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.
+ *  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 geb.doc.asciidoctor.extension
 
diff --git a/geb.gradle b/geb.gradle
index b5f05cdd..fe68c9b9 100644
--- a/geb.gradle
+++ b/geb.gradle
@@ -1,3 +1,21 @@
+/*
+ *  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 com.github.jk1.license.filter.LicenseBundleNormalizer
 
 import java.time.Duration
@@ -66,6 +84,19 @@ idea {
 }
 
 tasks.named('rat') {
-    inputDir.set(file('buildSrc'))
-    excludes = ['**/build/**', '**/.gradle/**']
+    excludes = [
+        '**/build/**',
+        '**/.gradle/**', '**/wrapper/**', 'gradlew*',  // gradle wrapper files 
excluded from src zip
+        'licenses/**',
+        'notices/**',
+        'module/**', // has it's own rat checks
+        '**/jquery-1.4.2.min.js', // MIT license as per NOTICE/LICENSE files 
(TODO)
+        '**/META-INF/groovy/*',
+        '**/generatedResources/**',
+        'Procfile', // TODO is this still needed?
+        '.tm_properties', // TODO is this still needed?
+        'doc', // TODO re-enable checking for docs
+        'logo.svg', // Logo svg
+        'out/**', '*.ipr', '**/*.iml', '*.iws', '.idea/**', // Intellij files
+    ]
 }
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index f7e1ac06..e421e910 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,20 +1,17 @@
+# 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
 #
-#  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.
+#     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.
+
 org.gradle.caching=true
 #org.gradle.caching.debug=true
\ No newline at end of file
diff --git a/gradle/codenarc/rulesets.groovy b/gradle/codenarc/rulesets.groovy
index 0d1342f9..cb2ac5b6 100644
--- a/gradle/codenarc/rulesets.groovy
+++ b/gradle/codenarc/rulesets.groovy
@@ -1,3 +1,21 @@
+/*
+ *  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.
+ */
 ruleset {
     ruleset('rulesets/basic.xml') {
         ThrowExceptionFromFinallyBlock {
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 8594b467..b734e915 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -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.
+
 [versions]
 groovy = "4.0.23"
 jetty = "9.4.50.v20221201"
diff --git a/integration/integration.gradle b/integration/integration.gradle
index 6a71e5cd..e0b18454 100644
--- a/integration/integration.gradle
+++ b/integration/integration.gradle
@@ -1,3 +1,21 @@
+/*
+ *  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.
+ */
 plugins {
     id 'geb.project-grouping'
 }
\ No newline at end of file
diff --git a/internal/internal.gradle b/internal/internal.gradle
index 6a71e5cd..e0b18454 100644
--- a/internal/internal.gradle
+++ b/internal/internal.gradle
@@ -1,3 +1,21 @@
+/*
+ *  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.
+ */
 plugins {
     id 'geb.project-grouping'
 }
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
index a043ba0d..ccfde904 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,3 +1,21 @@
+/*
+ *  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.
+ */
 plugins {
     id "org.kordamp.gradle.oci-build-cache" version "0.6.0"
     id("org.gradle.toolchains.foojay-resolver") version "0.8.0"
diff --git a/system.properties b/system.properties
index 180a2734..01f472ed 100644
--- a/system.properties
+++ b/system.properties
@@ -1 +1,16 @@
+# 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.
+
 java.runtime.version=11
\ No newline at end of file

Reply via email to