You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2023/04/01 14:04:16 UTC
[shardingsphere] branch master updated: Add external rat.txt (#24944)
This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new a8487cbff83 Add external rat.txt (#24944)
a8487cbff83 is described below
commit a8487cbff837dc0db780ab6be63a4d81aa7bee29
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sat Apr 1 22:04:09 2023 +0800
Add external rat.txt (#24944)
---
pom.xml | 64 +++++++++++----------------------------------------
src/resources/rat.txt | 60 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 50 deletions(-)
diff --git a/pom.xml b/pom.xml
index 36863a5f2d7..4958ab66b27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -674,6 +674,15 @@
<build>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>${apache-rat-plugin.version}</version>
+ <configuration>
+ <excludesFile>src/resources/rat.txt</excludesFile>
+ </configuration>
+ </plugin>
+
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
@@ -862,56 +871,6 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>${apache-rat-plugin.version}</version>
- <configuration>
- <excludes>
- <exclude>**/gen/**</exclude>
- <exclude>**/target/**</exclude>
- <exclude>**/logs/**</exclude>
- <exclude>**/*.log</exclude>
- <exclude>**/*.tokens</exclude>
- <!-- IDE files -->
- <exclude>**/*.iml</exclude>
- <exclude>**/.idea/**</exclude>
- <exclude>**/*.classpath</exclude>
- <exclude>**/.project</exclude>
- <exclude>**/.settings/**</exclude>
- <exclude>**/dependency-reduced-pom.xml</exclude>
- <!-- git files -->
- <exclude>**/.gitignore</exclude>
- <exclude>**/.gitmodules</exclude>
- <exclude>**/.git/**</exclude>
- <!-- CI files -->
- <exclude>**/.travis.yml</exclude>
- <exclude>**/.codecov.yml</exclude>
- <exclude>**/.mvn/jvm.config</exclude>
- <exclude>**/.mvn/wrapper/maven-wrapper.properties</exclude>
- <!-- GitHub files -->
- <exclude>**/.github/**</exclude>
- <!-- document files -->
- <exclude>**/*.md</exclude>
- <excldue>**/*.MD</excldue>
- <exclude>**/*.txt</exclude>
- <exclude>**/docs/**</exclude>
- <!-- UI files -->
- <exclude>**/.babelrc</exclude>
- <exclude>**/.editorconfig</exclude>
- <exclude>**/.eslintignore</exclude>
- <exclude>**/package.json</exclude>
- <exclude>**/assets/**</exclude>
- <exclude>**/dist/**</exclude>
- <exclude>**/etc/**</exclude>
- <exclude>**/node/**</exclude>
- <exclude>**/node_modules/**</exclude>
- <exclude>**/test/coverage/**</exclude>
- <exclude>**/package-lock.json</exclude>
- <!-- example files -->
- <exclude>/examples/**</exclude>
- <!-- Helm files -->
- <exclude>**/.helmignore</exclude>
- <exclude>**/_helpers.tpl</exclude>
- </excludes>
- </configuration>
<executions>
<execution>
<goals>
@@ -1140,6 +1099,11 @@
<reporting>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ </plugin>
+
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${maven-project-info-reports-plugin.version}</version>
diff --git a/src/resources/rat.txt b/src/resources/rat.txt
new file mode 100644
index 00000000000..1c9bc3ebd48
--- /dev/null
+++ b/src/resources/rat.txt
@@ -0,0 +1,60 @@
+**/gen/**
+**/target/**
+**/logs/**
+**/*.log
+**/*.tokens
+
+# IDE files
+
+**/*.iml
+**/.idea/**
+**/*.classpath
+**/.project
+**/.settings/**
+**/dependency-reduced-pom.xml
+
+# git files
+
+**/.gitignore
+**/.gitmodules
+**/.git/**
+
+# CI files
+
+**/.codecov.yml
+**/.mvn/jvm.config
+**/.mvn/wrapper/maven-wrapper.properties
+
+# GitHub files
+
+**/.github/**
+
+# document files
+
+**/*.md
+**/*.MD
+**/*.txt
+**/docs/**
+
+# UI files
+
+**/.babelrc
+**/.editorconfig
+**/.eslintignore
+**/package.json
+**/assets/**
+**/dist/**
+**/etc/**
+**/node/**
+**/node_modules/**
+**/test/coverage/**
+**/package-lock.json
+
+# example files
+
+/examples/**
+
+# Helm files
+
+**/.helmignore
+**/_helpers.tpl