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

Print report file location in error message

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8
    • 0.9
    • Client - maven
    • Windows 7, Maven 3.0.4, Oracle JDK 1.7.0_11, Eclipse

    Description

      When running the RAT 0.8 maven plugin from command line (no POM entry for the plugin) it will print a short error message how many violations it found, but this message could be enhanced by pointing to the report file:

      C:\ws\proj>\ws\apache-maven-3.0.4\bin\mvn -s ..\empty.xml org.apache.rat:apache-rat-plugin:check
      ...
      [INFO] — apache-rat-plugin:0.8:check (default-cli) @ proj —
      ...
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default-cli) on project proj: Too many unapproved licenses: 26 -> [Help 1]

      Better:

      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.8:check (default-cli) on project proj: Too many unapproved licenses: 26. See target/rat.txt

      Attachments

        1. rat127.patch
          3 kB
          Bernd Eckenfels

        Activity

          People

            robertburrelldonkin Robert Burrell Donkin
            b.eckenfels Bernd Eckenfels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: