Fork me on GitHub

Frequently Asked Questions

  1. What is RAT?
  2. Where do I find Apache RAT?
  3. Why should I use the Maven plugin to run Apache RAT?
  1. The apache-rat-plugin creates a report for every subproject. I want a single report for the whole project, which includes the subprojects.
  2. Can I use RAT to validate against a custom license header?
What is RAT?

Basically, you can think of it as a tool that checks, whether you're source files are carrying proper license headers. Almost any non-trivial organization has a policy for license headers. In the case of the Apache Software Foundation (ASF), this is the ASF Source Header and Copyright Notice Policy.

[top]


Where do I find Apache RAT?

Apache RAT is now part of the Apache Creadur project, a home for all sorts of software that helps audit and review software distributions.

[top]


Why should I use the Maven plugin to run Apache RAT?

Because it makes running RAT trivial. Basically, you just add the plugin to the build/plugins section of your POM and run mvn apache-rat:check. Using RAT cannot be simpler.

[top]

The apache-rat-plugin creates a report for every subproject. I want a single report for the whole project, which includes the subprojects.

Set the configuration parameter "excludeSubProjects" to false.

[top]


Can I use RAT to validate against a custom license header?

See this example to see how.

[top]