[ https://issues.apache.org/jira/browse/RAT-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17469538#comment-17469538 ]
Michael Vorburger commented on RAT-294: --------------------------------------- Oh, wait I can now see from staring at [https://github.com/apache/creadur-rat/blob/master/apache-rat-plugin/src/main/java/org/apache/rat/mp/RatCheckMojo.java] that there IS a {{rat.consoleOutput}} which @since 0.12 _"Whether to output the names of files that have unapproved licenses to the console. Defaults to true to ease builds in containers where you are unable to access rat.txt easily."_ - that's exactly what I was hoping for! It's even documented on [https://creadur.apache.org/rat/apache-rat-plugin/check-mojo.html#consoleOutput]! ;) But the site says its Default value is: false even though the code has a defaultValue = "true"... this appears to have been changed 2 years ago in [https://github.com/apache/creadur-rat/pull/19], for RAT-270 in 0.14; that site is just still showing 0.13. Until a 0.14 version is released (more than 2 years?!), it seems easy enough to make the Apache Log4j flip that configuration - so done in [https://github.com/apache/logging-log4j2/pull/686.] I'm closing this issue. > Print files with unapproved license to console instead of only to a file in > apache-rat-plugin to make it easier to understand on headless CI servers > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: RAT-294 > URL: https://issues.apache.org/jira/browse/RAT-294 > Project: Apache Rat > Issue Type: Improvement > Reporter: Michael Vorburger > Priority: Major > > Based on my experience with RAT in > https://github.com/apache/logging-log4j2/pull/653: > It would be cool if the {{apache-rat-plugin}} would just print the list of > files with unapproved license to the console via STDOUT, instead of only into > the {{target/rat.txt}} file - just because such files are typically much > harder to get your hands on on a headless CI server than whatever was spewed > to STDOUT on build logs. > [~pottlinger] -- This message was sent by Atlassian Jira (v8.20.1#820001)