Hello Rat Dev's, Firstly thanks for the wonderful tool which makes it so easy to do license header checks. Can you please help me with an issue with maven-rat-pluggin.
I am trying to do a release check of Apache Airavata code [1], when I try the rat from command line, it works well and successes all license headers, success message is [2], but when I try to run the maven plugging, I get errors "Too many unapproved licenses:" error message is [3]. Any ideas for this discrepancy and how do I debug this issue? I am at apache con this week, if any dev's here can help me identify the problem, I will greatly appreciate it. Thanks, Suresh [1] - https://svn.apache.org/repos/asf/incubator/airavata/branches/0.1-incubating/) [2] Command line "java -jar ~/apache-misc/tools/rat-0.8.jar -check 0.1-incubating/" is successful will following summary: ***************************************************** Summary ------- Notes: 22 Binaries: 23 Archives: 4 Standards: 982 Apache Licensed: 982 Generated Documents: 0 JavaDocs are generated and so license header is optional Generated files do not required license headers 0 Unknown Licenses ****************************** Unapproved licenses: ******************************* [3] mvn -P pedantic verify -DskipTests: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Airavata 0.1-incubating [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ airavata --- [INFO] [INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ airavata --- [INFO] [INFO] --- apache-rat-plugin:0.7:check (default) @ airavata --- [INFO] Exclude: **/MANIFEST.MF [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.992s [INFO] Finished at: Mon Nov 07 17:01:20 PST 2011 [INFO] Final Memory: 9M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default) on project airavata: Too many unapproved licenses: 1164 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
