The RAT plugin verifies that all the files have the required headers, and in the current configuration, the auto generated eclipse internal files are not excluded.
You should add them to the .gitignore and to the exclusion list in the rat plugin in the root pom.xml of the repo (I opened an improvement in the rat plugin to get the git ignored files automatically excluded [1], but it hasn't been merged yet). HTH! I. [1] https://issues.apache.org/jira/browse/RAT-171 On 8 April 2015 at 21:00, Yaron Rosenbaum <[email protected]> wrote: > Hi > > Trying to build jclouds-labs-google. > Build fails on: > ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check > (default) on project googlecloud: Too many files with unapproved license: 1 > See RAT report in: > /Users/yaron/Development/Workspaces/jclouds-labs-google/googlecloud/target/rat.txt > -> [Help 1] > > Unapproved licenses: > > > /Users/yaron/Development/Workspaces/jclouds-labs-google/googlecloud/.factorypath > > ***************************************************** > Printing headers for files without AL header... > > > > > > ======================================================================= > ==/Users/yaron/Development/Workspaces/jclouds-labs-google/googlecloud/.factorypath > ======================================================================= > <factorypath> > <factorypathentry kind="EXTJAR" > id="/Users/yaron/Development/build-tools/auto-value-1.0.jar" enabled="true" > runInBatchMode="false"/> > <factorypathentry kind="EXTJAR" > id="/Users/yaron/Development/build-tools/auto-service-1.0-rc1.jar" > enabled="true" runInBatchMode="false"/> > <factorypathentry kind="EXTJAR" > id="/Users/yaron/Development/build-tools/jsr305-3.0.0.jar" enabled="true" > runInBatchMode="false"/> > <factorypathentry kind="EXTJAR" > id="/Users/yaron/Development/build-tools/guava-18.0.jar" enabled="true" > runInBatchMode="false"/> > </factorypath> > > ? > (Y) >
