Skip to content

Commit 32990b7

Browse files
committed
[KYUUBI #1717] Extract rat configurations from pom to file
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> Extract rat configurations from pom to file ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [X] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1717 from yaooqinn/rat. Closes #1717 3f6836f [Kent Yao] Extract rat configuation from pom to file cb267b3 [Kent Yao] Extract rat configuation from pom to file Authored-by: Kent Yao <yao@apache.org> Signed-off-by: Kent Yao <yao@apache.org>
1 parent fbdbcb0 commit 32990b7

File tree

2 files changed

+42
-26
lines changed

2 files changed

+42
-26
lines changed

.rat-excludes

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
**/.*/**
19+
**/*.json
20+
**/*.prefs
21+
**/*.log
22+
**/*.md
23+
**/*.iml
24+
**/target/**
25+
**/out/**
26+
**/spark-warehouse/**
27+
**/metastore_db/**
28+
**/licenses/LICENSE*
29+
**/licenses-binary/LICENSE*
30+
**/dependency-reduced-pom.xml
31+
**/scalastyle-output.xml
32+
NOTICE*
33+
docs/**
34+
build/apache-maven-*/**
35+
build/scala-*/**
36+
**/**/operation_logs/**/**
37+
**/**/server_operation_logs/**/**
38+
**/**/engine_operation_logs/**/**
39+
**/*.output.schema
40+
**/apache-kyuubi-*-bin*/**
41+
**/benchmarks/**

pom.xml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,32 +1605,7 @@
16051605
<familyName>Apache License 2.0</familyName>
16061606
</licenseFamily>
16071607
</licenseFamilies>
1608-
<excludes>
1609-
<exclude>**/.*/**</exclude>
1610-
<exclude>**/*.json</exclude>
1611-
<exclude>**/*.prefs</exclude>
1612-
<exclude>**/*.log</exclude>
1613-
<exclude>**/*.md</exclude>
1614-
<exclude>**/*.iml</exclude>
1615-
<exclude>**/target/**</exclude>
1616-
<exclude>**/out/**</exclude>
1617-
<exclude>**/spark-warehouse/**</exclude>
1618-
<exclude>**/metastore_db/**</exclude>
1619-
<exclude>**/licenses/LICENSE*</exclude>
1620-
<exclude>**/licenses-binary/LICENSE*</exclude>
1621-
<exclude>**/dependency-reduced-pom.xml</exclude>
1622-
<exclude>**/scalastyle-output.xml</exclude>
1623-
<exclude>NOTICE*</exclude>
1624-
<exclude>docs/**</exclude>
1625-
<exclude>build/apache-maven-*/**</exclude>
1626-
<exclude>build/scala-*/**</exclude>
1627-
<exclude>**/**/operation_logs/**/**</exclude>
1628-
<exclude>**/**/server_operation_logs/**/**</exclude>
1629-
<exclude>**/**/engine_operation_logs/**/**</exclude>
1630-
<exclude>**/*.output.schema</exclude>
1631-
<exclude>**/apache-kyuubi-*-bin*/**</exclude>
1632-
<exclude>**/benchmarks/**</exclude>
1633-
</excludes>
1608+
<excludesFile>.rat-excludes</excludesFile>
16341609
</configuration>
16351610
</plugin>
16361611
<plugin>

0 commit comments

Comments
 (0)