Thanks for the tip Andreas, however running:

mvn clean install -Ppedantic

With no local modifications, gives me the error:

[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check 
(default) on project pdfbox: Too many files with unapproved license: 2 See RAT 
report in: /Users/john/apache/pdfbox-trunk/pdfbox/target/rat.txt -> [Help 1]

The rat.txt contains the following:

Unapproved licenses:

pdfbox/src/test/resources/org/apache/pdfbox/encryption/test1.der
pdfbox/src/test/resources/org/apache/pdfbox/encryption/test2.der

-- John

On 1 Jul 2014, at 02:58, Andreas Lehmkühler <[email protected]> wrote:

> Hi,
> 
>> John Hewson <[email protected]> hat am 1. Juli 2014 um 03:10 geschrieben:
>> 
>> 
>> Hi All,
>> 
>> The Apache RAT plugin runs on the Jenkins server but not as part of local
>> builds, which is causing build failures when I commit code. How can we enable
>> it for local builds?
>> 
>> I tried running "mvn org.apache.rat:apache-rat-plugin:0.10:check” but I get
>> many errors which don’t occur on Jenkins.
> -Ppedantic as command line option should do the trick.
> 
>> -- John
> 
> BR
> Andreas Lehmkühler

Reply via email to