incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svante Schubert <svante.schub...@gmail.com>
Subject What is wrong with the rat? (earlier: Re: Build failed in Jenkins: ODFToolkit #21)
Date Wed, 29 Feb 2012 21:54:54 GMT
On 25.02.2012 13:38, Nick Burch wrote:
> On Fri, 24 Feb 2012, Svante Schubert wrote:
>> I would suggest to do it similar here. Has anybody further
>> information on the issue below. Again the apache-rat-plugin triggered
>> the failure. Similar as in my local build yesterday, but on a
>> different project.
>
> The problem is that someone has added new files, but neglected to add
> the Apache license header to them:
>
>>> mavenExecutionResult exceptions not empty
>>> message : Failed to execute goal
>>> org.apache.rat:apache-rat-plugin:0.7:check (default) on project
>>> odfdom-java: Too many unapproved licenses: 2
>>> cause : Too many unapproved licenses: 2
>>> Stack trace :
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>> execute goal org.apache.rat:apache-rat-plugin:0.7:check (default) on
>>> project odfdom-java: Too many unapproved licenses: 2
>
> The license headers should ideally be added by the person who added
> the file. Could whoever has added new files to svn recently please
> double check that the headers are there, and add them if not?
>
> (To check, run "mvn rat:check" then look for rat.txt files which
> report the state)
>
I just had again a build problems due to RAT failure (on Windows7), but
I am pretty sure this is not Devin's failure!
The last nightly build worked fine:
https://builds.apache.org/job/ODFToolkit/28/

Still in trunk\generator\schema2template\target\rat.txt
There is a problem of a binary ODF document:
1 Unknown Licenses
*******************************
Unapproved licenses:
 
E:/work/coding/odftoolkit-20120229/trunk/generator/schema2template/src/main/resources/examples/odf/odfdom-python/OdfTextDocument.odt
...
!?????
E:/work/coding/odftoolkit-20120229/trunk/generator/schema2template/src/main/resources/examples/odf/odfdom-python/OdfTextDocument.odt

This document is part of the initial start-up, the "svn log" shows:
------------------------------------------------------------------------
r1167953 | devin | 2011-08-26 08:21:29 +0200 (Fr, 26 Aug 2011) | 4 lines

changeset:   0:6440405b3f8c
user:        Svante Schubert <Svante.Schubert@sun.com>
date:        Mon Jan 11 22:05:39 2010 +0100
Initial sources to share the maven challenges to master..
------------------------------------------------------------------------

What is wrong with RAT?

Svante



Mime
View raw message