Validation is the process/tools committers use to validate that the artifacts we produce are correct in terms of the ASF and other quality control measures. Validation is not about testing, which is covered by TestPlans and TestIdeas as well as our test framework, etc. Validation is more about checking licenses, correct headers, using RAT, etc.


License Validation

As of 3.2 and 4.0 (both Lucene and Solr) the test process now checks to see if all libraries are properly licensed, etc. by running the validation code in Lucene/src/utils.

Validation currently scans the specified lib directories and, for every jar file, looks for a corresponding license file, and in certain cases a NOTICE file. It does not currently build out a LICENSE.txt or NOTICE.txt file from these, but see for a issue to cover that.

All Jar files, therefore must have a corresponding file named using the following convention:

Other Validation Ideas

  1. Check for conflicting library versions
  2. Tools for validating patches similar to Hadoop's precommit tools
  3. Release validation tools (check the contents of an artifact)

Validation (last edited 2011-04-14 16:01:07 by SteveRowe)