kyuubi/.rat-excludes
liangbowen 3571634719 [KYUUBI #5135] [Minor] Exclude web-ui coverage reports in rat plugins
### _Why are the changes needed?_

- To avoid the generated web-ui's coverage report files triggering Rat plugin checks on Maven
```
[WARNING] Files with unapproved licenses:
  kyuubi-server/web-ui/coverage/index.html
  kyuubi-server/web-ui/coverage/locales/en_US/index.html
  kyuubi-server/web-ui/coverage/locales/zh_CN/index.html
...
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.15:check (default) on project kyuubi-parent: Too many files with unapproved license: 21 See RAT report in: /kyuubi/target/rat.txt ->
```

### _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/master/contributing/code/testing.html#running-tests) locally before make a pull request

Closes #5135 from bowenliang123/rat-exclude.

Closes #5135

1ec4411cb [liangbowen] add web-ui/coverage/* to rat exclusions

Authored-by: liangbowen <liangbowen@gf.com.cn>
Signed-off-by: liangbowen <liangbowen@gf.com.cn>
2023-08-07 18:14:01 +08:00

61 lines
1.6 KiB
Plaintext

#
# 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.
#
**/.*/**
**/*.json
**/*.prefs
**/*.log
**/*.md
**/*.iml
**/target/**
**/out/**
**/spark-warehouse/**
**/metastore_db/**
**/licenses/LICENSE*
**/licenses-binary/LICENSE*
**/dependency-reduced-pom.xml
**/scalastyle-output.xml
NOTICE*
docs/**
build/apache-maven-*/**
build/scala-*/**
**/**/operation_logs/**/**
**/**/server_operation_logs/**/**
**/**/engine_operation_logs/**/**
**/*.output.schema
**/apache-kyuubi-*-bin*/**
**/benchmarks/**
**/jquery-*.min.js
**/semantic.min.js
**/semantic.min.css
**/icon.png
**/icon.min.css
**/org/apache/kyuubi/ui/static/assets/**
**/org/apache/kyuubi/ui/swagger/**
**/org.apache.spark.status.AppHistoryServerPlugin
**/metadata-store-schema*.sql
**/*.derby.sql
**/*.mysql.sql
**/*.sqlite.sql
**/node/**
**/web-ui/dist/**
**/web-ui/coverage/**
**/pnpm-lock.yaml
**/node_modules/**
**/gen/*
**/*.tokens