Freedom251 › Open Source License Compliance Software
Apache RAT

What Apache RAT is
Apache RAT is a free release-audit tool for reviewing software distributions, especially their license headers. It is intended to help make release license checks more accurate and efficient. Version 0.18 provides a command-line client, an Ant task library, and a Maven plugin. The command-line options can include or exclude files, apply a list of approved licenses, and select report styles, including reports for missing headers or unapproved licenses. The Maven plugin can write a text report to target/rat.txt or add one to a generated site. RAT can add Apache-2.0 license headers and copyright notices to files that are not excluded by its configuration. Users can define licenses in XML; extending matchers, definition formats, reports, or interfaces calls for relevant expertise. The tool highlights possible problems rather than making a final determination: its heuristics can miss issues, and reports need interpretation and may require project-specific tuning. Building it requires Java 17, and the project recommends Apache Maven 3.9.13 or later. The latest listed release is 0.18, available as binary and source archives under the Apache License, Version 2.0.
Who it suits
Apache RAT suits teams that need to review license headers as part of software release checks. Its command-line, Ant, and Maven interfaces accommodate different release workflows, while customization can require relevant expertise.
What it does well
- Includes command-line, Ant, and Maven interfaces
- Can report missing headers and unapproved licenses
- Can add Apache-2.0 headers and copyright notices
- Free under Apache License, Version 2.0
What to know first
- Requires Java 17 to build
- Heuristics can miss issues
- Reports need interpretation and may need tuning
Limits
RAT identifies possible issues, and its reports require interpretation. Heuristics may miss issues, and configuration may need project-specific tuning.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Apache RAT | Open-source release audit tool · latest release 0.18 | Free |
As creadur.apache.org lists them, read 8 Oct 2026. The maker's own page has the final word.
Getting started
- Open the Apache Creadur RAT website.
- Choose the binary or source archive for release 0.18.
- Use a Linux or self-hosted environment.
- Build with Java 17; Apache Maven 3.9.13 or later is recommended.
- Configure file inclusion or exclusion, approved licenses, and report output for your workflow.
Verdict
Apache RAT offers several ways to check releases and produce license reports, with options to tailor file selection and approved licenses. Treat its results as issues to review, since reports need interpretation and its heuristics may miss problems.
Questions
How much does Apache RAT cost?
The listed plan is free.
Which interfaces does Apache RAT provide?
Version 0.18 includes a command-line client, an Ant task library, and a Maven plugin.
What platforms does it support?
The listed platforms are Linux and self-hosted deployment.
What license does Apache RAT use?
Apache Creadur licenses it under the Apache License, Version 2.0.
What does RAT need to build?
It requires Java 17; the project recommends Apache Maven 3.9.13 or later.
Facts from Apache RAT's own pages
- Caveat
- RAT relies on heuristics that may miss issues, and its reports require interpretation and may need project-specific tuning. · creadur.apache.org, 8 Oct 2026
- Configuration
- Command-line options support file inclusion and exclusion, license approval lists, and report output styles including missing-header and unapproved-license reports. · creadur.apache.org, 8 Oct 2026
- Download integrity
- The project recommends verifying downloaded release files with signatures from its main distribution directories and provides PGP signatures and SHA512 checksums. · creadur.apache.org, 8 Oct 2026
- Extensibility
- Users can add license definitions through XML, and can extend matchers, definition formats, reports, and user interfaces with the relevant expertise. · creadur.apache.org, 8 Oct 2026
- File selection
- RAT supports including and excluding files with patterns, standard collections, files of patterns, and file-size exclusions. · creadur.apache.org, 8 Oct 2026
- Header editing
- The command-line tool can add Apache-2.0 license headers and copyright notices to files that are not excluded by its configuration. · creadur.apache.org, 8 Oct 2026
- Integrity checks
- The project recommends verifying downloaded releases with signatures from its main distribution directories; it also provides PGP signatures and SHA-512 checksums. · creadur.apache.org, 8 Oct 2026
- Interfaces
- RAT 0.18 ships with a command-line client, an Ant task library, and a Maven plugin. · creadur.apache.org, 8 Oct 2026
- License
- Apache Creadur licenses its software to the public under the Apache License, Version 2.0. · creadur.apache.org, 8 Oct 2026
- License review
- RAT is a release audit tool focused on licenses and is intended to improve the accuracy and efficiency of checking releases for licenses. · creadur.apache.org, 8 Oct 2026
- Limitations
- RAT highlights possible issues, its reports require interpretation, it may need tuning, and its heuristics may miss issues. · creadur.apache.org, 8 Oct 2026
- Maven reports
- The Maven plugin can write a text report to target/rat.txt or add a report to the generated site. · creadur.apache.org, 8 Oct 2026
- Output formats
- The package includes stylesheets for missing-header reports, unapproved-license reports, plain output, and pretty-printed XML. · creadur.apache.org, 8 Oct 2026
- Primary use
- RAT is intended to improve the accuracy and efficiency of checking software releases for licenses. · creadur.apache.org, 8 Oct 2026
- Purpose
- Apache RAT audits software distributions, with a focus on license headers. · creadur.apache.org, 8 Oct 2026
- Release
- The downloads page lists Apache Creadur RAT 0.18 as the latest release and offers binary and source archives. · creadur.apache.org, 8 Oct 2026
- Runtime
- RAT requires Java 17; its documentation recommends Java 21 for generating Javadocs due to an existing JDK error. · creadur.apache.org, 8 Oct 2026
- Runtime requirements
- Building RAT requires Java 17, and the project recommends Apache Maven 3.9.13 or later. · creadur.apache.org, 8 Oct 2026
- Security reporting
- The Apache Security Team asks that potential vulnerabilities be reported first to a private Apache security mailing list. · apache.org, 8 Oct 2026
- Support
- The project invites users to contribute patches, report bugs, and talk to the community. · creadur.apache.org, 8 Oct 2026