Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit aa5a78b

Browse files
authored
Add validate licensing section for Apache RAT
1 parent 4d356e5 commit aa5a78b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ Invalid:
100100

101101
Apache License 2.0
102102

103+
#### Validate Licensing
104+
105+
[Apache Rat (Release Audit Tool)](https://creadur.apache.org/rat/) is a
106+
preferred code license checking tool used by [the ASF](https://apache.org/).
107+
The included `.ratignore` file contains a list of files to exclude from scans.
108+
109+
To check for included licenses, run the following and view the output report:
110+
```sh
111+
java -jar ~/bin/apache-rat-0.13/apache-rat-0.13.jar -E .ratignore -d . > rat_report.txt
112+
```
113+
103114
# Disclaimer
104115

105116
Apache Annotator is currently undergoing incubation at The Apache Software

0 commit comments

Comments
 (0)