You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by bo...@apache.org on 2026/03/25 00:58:59 UTC

(grails-core) 01/03: hibernate 7: * RAT fix

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

borinquenkid pushed a commit to branch 8.0.x-hibernate7
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 3d0c862330e02b02ecd4fa6e4df829d2d3110e43
Author: Walter Duque de Estrada <wb...@mac.com>
AuthorDate: Tue Mar 24 09:15:43 2026 -0500

    hibernate 7:
      * RAT fix
---
 BRANCHES.md                                            | 18 ++++++++++++++++++
 gradle/rat-root-config.gradle                          |  4 ++++
 .../data/testing/tck/tests/FindByMethodSpec.groovy     | 18 ++++++++++++++++++
 3 files changed, 40 insertions(+)

diff --git a/BRANCHES.md b/BRANCHES.md
index 5bda5cf376..12a71d877c 100644
--- a/BRANCHES.md
+++ b/BRANCHES.md
@@ -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
+
+   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.
+-->
 | Branch | Date | Type |
 | --- | --- | --- |
 | origin/GRAILS-6737-Groovy-1.7.5 | 2010-09-17 | CLOSED |
diff --git a/gradle/rat-root-config.gradle b/gradle/rat-root-config.gradle
index f927ff3c81..bc65083ef0 100644
--- a/gradle/rat-root-config.gradle
+++ b/gradle/rat-root-config.gradle
@@ -84,6 +84,10 @@ tasks.named('rat') {
             'build/**', // build directories
             'buildSrc/build/**', // build directories
             '**/build/**', // all build directories
+            'node_modules/**', // node modules
+            'local.properties', // local properties
+            'test_output.log', // test output log
+            'fix_codenarc.py', // fix codenarc script
     ] + rootProject.subprojects.collect{"${rootProject.projectDir.relativePath(it.layout.buildDirectory.get().asFile).toString()}/**/*" }
     // logger.lifecycle("Excludes for RAT task: ${allExcludes.join(', \n')}")
     excludes = allExcludes
diff --git a/grails-datamapping-tck/src/main/groovy/org/apache/grails/data/testing/tck/tests/FindByMethodSpec.groovy b/grails-datamapping-tck/src/main/groovy/org/apache/grails/data/testing/tck/tests/FindByMethodSpec.groovy
index e73385d529..1a0359f56a 100644
--- a/grails-datamapping-tck/src/main/groovy/org/apache/grails/data/testing/tck/tests/FindByMethodSpec.groovy
+++ b/grails-datamapping-tck/src/main/groovy/org/apache/grails/data/testing/tck/tests/FindByMethodSpec.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
+ *
+ *   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.
+ */
 package org.apache.grails.data.testing.tck.tests
 
 import org.apache.grails.data.testing.tck.domains.Book as TckBook