Add RAT plugin in the MAVEN build. Also add licenses where-ever needed.

Hi,

I have added licenses where ever required and RAT plugin for the MAVEN build.