lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3774) check-legal isn't doing its job
Date Sun, 12 Feb 2012 11:58:59 GMT


Dawid Weiss commented on LUCENE-3774:

An example output:
[license-check] MISSING LICENSE for the following file:
[license-check] C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-1.5.2.jar
[license-check] Expected locations below:
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-ASL.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-BSD.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-BSD_LIKE.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-CDDL.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-CPL.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-MIT.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-MPL.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-PD.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-SUN.txt
[license-check]   => C:\Work\lucene-solr\modules\analysis\morfologik\lib\morfologik-polish-LICENSE-FAKE.txt
[license-check] Scanned 91 JAR file(s) for licenses, 15 error(s).
Exception in thread "main" C:\Work\lucene-solr\lucene\tools\build.xml:47: License check failed.
Check the logs.
> check-legal isn't doing its job
> -------------------------------
>                 Key: LUCENE-3774
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: general/build
>    Affects Versions: 3.6, 4.0
>            Reporter: Steven Rowe
>            Assignee: Steven Rowe
>         Attachments: LUCENE-3774.patch, LUCENE-3774.patch
> In trunk, the {{check-legal-lucene}} ant target is not checking any {{lucene/contrib/\*\*/lib/}}
directories; the {{modules/**/lib/}} directories are not being checked; and {{check-legal-solr}}
can't be checking {{solr/example/lib/\*\*/\*.jar}}, because there are currently {{.jar}} files
in there that don't have a license.
> These targets are set up to take in a full list of {{lib/}} directories in which to check,
but modules move around, and these lists are not being kept up-to-date.
> Instead, {{check-legal-\*}} should run for each module, if the module has a {{lib/}}
directory, and it should be specialized for modules that have more than one ({{solr/core/}})
or that have a {{lib/}} directory in a non-standard place ({{lucene/core/}}).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message