creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RAT-127) Print report file location in error message
Date Mon, 18 Feb 2013 21:47:12 GMT
Bernd Eckenfels created RAT-127:
-----------------------------------

             Summary: Print report file location in error message
                 Key: RAT-127
                 URL: https://issues.apache.org/jira/browse/RAT-127
             Project: Apache Rat
          Issue Type: Wish
          Components: maven
    Affects Versions: 0.8
         Environment: Windows 7, Maven 3.0.4, Oracle JDK 1.7.0_11, Eclipse
            Reporter: Bernd Eckenfels
            Priority: Minor


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



The excludes should eighter be contained in the eclipse defaults or have its own dotfile or
scm category. A workaround would be to specify the excludes, unfortunatelly there seems to
be no expression associated with the exclude property of the mojo.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message