add RAT excludes for ATR
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
@@ -136,6 +136,9 @@ distributions {
|
|||||||
|
|
||||||
from "$rootDir/fineract-doc/build/docs/pdf/en/index.pdf"
|
from "$rootDir/fineract-doc/build/docs/pdf/en/index.pdf"
|
||||||
rename ('index.pdf', 'fineract-documentation.pdf')
|
rename ('index.pdf', 'fineract-documentation.pdf')
|
||||||
|
|
||||||
|
from "$rootDir/.atr-rat-excludes-bin.txt"
|
||||||
|
rename ('.atr-rat-excludes-bin.txt', '.rat-excludes')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
src {
|
src {
|
||||||
@@ -147,7 +150,7 @@ distributions {
|
|||||||
'**/.classpath', '.idea', 'out', '._.DS_Store', '.DS_Store', 'WebContent',
|
'**/.classpath', '.idea', 'out', '._.DS_Store', '.DS_Store', 'WebContent',
|
||||||
'**/.externalToolbuilders', '.theia', 'LICENSE_RELEASE',
|
'**/.externalToolbuilders', '.theia', 'LICENSE_RELEASE',
|
||||||
'NOTICE_RELEASE', '**/licenses', '*.class', '**/bin', '*.log', '.dockerignore',
|
'NOTICE_RELEASE', '**/licenses', '*.class', '**/bin', '*.log', '.dockerignore',
|
||||||
'**/.gitkeep'
|
'**/.gitkeep', '.atr-rat-excludes-bin.txt'
|
||||||
|
|
||||||
// Ensure consistent file paths for caching
|
// Ensure consistent file paths for caching
|
||||||
eachFile { details ->
|
eachFile { details ->
|
||||||
@@ -156,6 +159,7 @@ distributions {
|
|||||||
}
|
}
|
||||||
rename ('LICENSE_SOURCE', 'LICENSE')
|
rename ('LICENSE_SOURCE', 'LICENSE')
|
||||||
rename ('NOTICE_SOURCE', 'NOTICE')
|
rename ('NOTICE_SOURCE', 'NOTICE')
|
||||||
|
rename ('.atr-rat-excludes-src.txt', '.rat-excludes')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user