Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.11
-
None
-
None
Description
Motivation
At the moment each report contains:
Files with unapproved licenses:
....
Printing headers for text files without a valid license header...
This should only appear if there are files without valid licenses.
Result
Example project working locally with 0.12-SNAPSHOT shows:
Report with errors
***************************************************** Summary ------- Generated at: 2015-05-23T22:38:59+02:00 Notes: 1 Binaries: 0 Archives: 0 Standards: 4 Apache Licensed: 1 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 1 Unknown Licenses ***************************************************** Files with unapproved licenses: foo.txt ***************************************************** ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N N README.txt AL pom.xml MITG2 GPLMIT.txt MIT MITLIC.txt !????? foo.txt ***************************************************** Printing headers for text files without a valid license header... ===================================================== == File: foo.txt ===================================================== Contains no valid license - what a shame :-(
Report without any RAT errors
***************************************************** Summary ------- Generated at: 2015-05-23T22:36:42+02:00 Notes: 1 Binaries: 0 Archives: 0 Standards: 3 Apache Licensed: 1 Generated Documents: 0 JavaDocs are generated, thus a license header is optional. Generated files do not require license headers. 0 Unknown Licenses ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require any license headers) will be marked B Compressed archives will be marked A Notices, licenses etc. will be marked N N README.txt AL pom.xml MITG2 GPLMIT.txt MIT MITLIC.txt *****************************************************