lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Hmmm, license checking a bit over-zealous?
Date Tue, 14 Feb 2012 03:35:15 GMT
If I do an "ant example", then start the Solr example code (java -jar
start.jar), then run an "ant test" I get license violations and the
test stops, here's the output:

validate:
     [echo] License check under: /Users/Erick/apache_solr/apache-solr-trunk/solr
 [licenses] MISSING LICENSE for the following file:
 [licenses]   /Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-4.0-SNAPSHOT.jar
 [licenses]   Expected locations below:
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-ASL.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-BSD.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-BSD_LIKE.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-CDDL.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-CPL.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-EPL.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-MIT.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-MPL.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-PD.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-SUN.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-COMPOUND.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-core-LICENSE-FAKE.txt
 [licenses] MISSING LICENSE for the following file:
 [licenses]   /Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-noggit-r1211150.jar
 [licenses]   Expected locations below:
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-noggit-LICENSE-ASL.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-noggit-LICENSE-BSD.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-noggit-LICENSE-BSD_LIKE.txt
 [licenses]   =>
/Users/Erick/apache_solr/apache-solr-trunk/solr/example/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/apache-solr-noggit-LICENSE-CDDL.txt
and lots more similar

an "ant clean test" gets past this and it'll probably work if I just
don't run the example work/Jettyblahblah (haven't tried it, it's
late). Is there a way to turn off the validation for the work
directory? I suppose it's not that big a deal to remove the
....work/Jettyblahblahblah, but it's kind of a pain....

Erick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message