Le 2012-07-23 15:11, Tony Chemit a écrit :
Le 2012-07-20 16:11, Russell Gold a écrit :

PLEASE NOTE:
Checkstyle is reporting 10 errors, one per source file. In each case,
it is complaining because:
 Line does not match expected header line of '^ * Licensed to the
Apache Software Foundation (ASF) under ones*$'.

That is, it is appears to be complaining because the source file is
not using the Apache license. This code is actually using the MIT
license, which is among those permitted by codehaus policy [7]. If my
interpretation is correct, these errors are spurious, and should not
be part of the codestyle check. If I am wrong, I would like to be
corrected and told how to address this issue.

You can have a look of what is done in the license-maven-plugin which
use a lgpl 3 license.

You need to redefine a file (config/checkstyle-header.txt) with the
regex of your license [1] and use this new file in the checkstyle
reporting plugin [2].

Hope it helps.

tony

With links :) ...

[1] & [2] https://fisheye.codehaus.org/changelog/mojo?cs=16640


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to