This is an automated email from the ASF dual-hosted git repository. meonkeys pushed a commit to branch release/1.14.0 in repository https://gitbox.apache.org/repos/asf/fineract.git
commit 47ba127f238e00de283d0083c6856e273d0089f4 Author: Adam Monsen <[email protected]> AuthorDate: Thu Dec 18 14:37:09 2025 -0800 add RAT excludes for ATR --- .atr-rat-excludes-bin.txt | 27 ++++++++++++++++++++++++ .atr-rat-excludes-src.txt | 54 +++++++++++++++++++++++++++++++++++++++++++++++ fineract-war/build.gradle | 6 +++++- 3 files changed, 86 insertions(+), 1 deletion(-) diff --git a/.atr-rat-excludes-bin.txt b/.atr-rat-excludes-bin.txt new file mode 100644 index 0000000000..62d78f0432 --- /dev/null +++ b/.atr-rat-excludes-bin.txt @@ -0,0 +1,27 @@ +# 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. + +# See comment below license in .atr-rat-excludes-src.txt for an explanation of +# what this is. + +# if you make changes here, sort this list before committing asciibetically +# with en_US.UTF-8 lang/locale +.rat-excludes +README.md +fineract-documentation.pdf + +# vim:ft=conf diff --git a/.atr-rat-excludes-src.txt b/.atr-rat-excludes-src.txt new file mode 100644 index 0000000000..715ddd1d7c --- /dev/null +++ b/.atr-rat-excludes-src.txt @@ -0,0 +1,54 @@ +# 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. + +# Path patterns to exclude from RAT checks run by ATR. +# +# RAT = Release Audit Tool (https://creadur.apache.org/rat/) +# ATR = ASF Trusted Releases (https://release-test.apache.org , https://github.com/apache/tooling-trusted-releases/) +# +# This duplicates exclusions in build.gradle. +# This is probably only necessary until both RAT and org.nosphere.apache.rat plugin are using 0.17. +# See https://github.com/eskatos/creadur-rat-gradle/issues/28 . +# Once both are on 0.17, we should be able to move the RAT excludes used during +# the build from build.gradle into a .rat-excludes file shared by both our +# build and ATR. +# Right now ATR does something custom, see +# https://github.com/apache/tooling-trusted-releases/issues/312 . +# If we get tired of waiting for the RAT gradle plugin or the ATR to upgrade to +# 0.17, we could write our own exclusion lists generator. + +# if you make changes here, sort this list before committing asciibetically +# with en_US.UTF-8 lang/locale +**/META-INF/fineract-test.config +**/legacy-docs/ +*.adoc +*.avsc +*.feature +*.html +*.md +*.mustache +*.puml +*.txt +.openapi-generator-ignore +/.asf.yaml +/.rat-excludes +/config/fineractdev-eclipse-preferences.epf +/fineract-provider/src/test/resources/results/xbrl.xml +/gradle/wrapper/gradle-wrapper.properties +org.springframework.boot.autoconfigure.AutoConfiguration.imports + +# vim:ft=conf diff --git a/fineract-war/build.gradle b/fineract-war/build.gradle index f606183cc5..74b7bf31d0 100644 --- a/fineract-war/build.gradle +++ b/fineract-war/build.gradle @@ -136,6 +136,9 @@ distributions { from "$rootDir/fineract-doc/build/docs/pdf/en/index.pdf" rename ('index.pdf', 'fineract-documentation.pdf') + + from "$rootDir/.atr-rat-excludes-bin.txt" + rename ('.atr-rat-excludes-bin.txt', '.rat-excludes') } } src { @@ -147,7 +150,7 @@ distributions { '**/.classpath', '.idea', 'out', '._.DS_Store', '.DS_Store', 'WebContent', '**/.externalToolbuilders', '.theia', 'LICENSE_RELEASE', 'NOTICE_RELEASE', '**/licenses', '*.class', '**/bin', '*.log', '.dockerignore', - '**/.gitkeep' + '**/.gitkeep', '.atr-rat-excludes-bin.txt' // Ensure consistent file paths for caching eachFile { details -> @@ -156,6 +159,7 @@ distributions { } rename ('LICENSE_SOURCE', 'LICENSE') rename ('NOTICE_SOURCE', 'NOTICE') + rename ('.atr-rat-excludes-src.txt', '.rat-excludes') } } }
