Hi,

Am 01.07.2014 18:27, schrieb John Hewson:
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

Hmmm works fine for me. Rat marks bothe files as binary

B /home/lehmi/workspace/source/pdfbox-trunk-2.0.0/pdfbox/src/test/resources/org/apache/pdfbox/encryption/test2.der

I'm using mvn 3.0.5 and JDK1.7.0_45 on linux


-- John

BR
Andreas Lehmkühler


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