This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Running RAT
Skip to end of metadata
Go to start of metadata

Running RAT

There is a tool called ARAT along with a maven RAT plugin which is very useful for checking the contents of releases and ensuring we don't miss licenses, headers, notice files and so forth. Note this tool is intended purely as a safety net; we also want the committers to manually review releases and check they look fine.

To run the RAT report try

mvn clean
mvn rat:check -P rat

There should then be a file called target/camel-parent-$VERSION.rat which contains the output of the RAT report.

If RAT barfs

Its typically that some local file has caused RAT to break. It could be some temporary file generated by the build; maybe a unit test case generated file or some artifact from creating the site or something.

Try running

svn stat

To find the culprits then try re-running RAT. Hopefully future versions will make it a bit easier to diagnose why it barfs. Incidentally the root pom has an excludes element so you can always add some excludes in there to try hide temporary/generated files etc

  • No labels