Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-270

Output errors (and only errors) to console instead of only rat.txt

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13
    • 0.14
    • None
    • None

    Description

      From "the irony, it burns!" department, I bring you the Apache RAT error message extracted from several dozen pages of useless log junk:

      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (rat-check) on project maven-parent: Too many files with unapproved license: 1 See RAT report in: /home/jenkins/jenkins-slave/workspace/dehaus.plexus-plexus-utils-3.3.0/m/target/rat.txt -> [Help 1]

      This is why the build fails on Jenkins, but notice that the one piece of information needed to diagnose and fix the issue is not included in the output. And if there's any way to find this file on Jenkins, I couldn't figure out how. Nor is the problem reproducible locally.

      Rat can generate a text file if it wants, but it should output paths to files that fail the build to the console. That would be more useful than 99% of the log lines Maven vomits onto the screen.

      Attachments

        Issue Links

          Activity

            People

              pottlinger Philipp Ottlinger
              elharo Elliotte Rusty Harold
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: