`out/` is a weird directory... I would remove the out directory and go from
there? It looks like maybe there are some old files under the git checkout?

I personally don't have an out directory in my Solr checkout.

Kevin Risden


On Tue, Oct 18, 2022 at 11:30 AM Ishan Chattopadhyaya <
ichattopadhy...@gmail.com> wrote:

> I'm trying to build the RC1 of 9.1 release.
> Here are the errors I ran into:
> * Where:
> Script '/home/ishan/code/solr/gradle/globals.gradle' line: 78
>
> * What went wrong:
> Execution failed for task ':rat'.
> > Detected license header issues (skip with -Pvalidation.rat.failOnError=
> false):
> Unknown license:
> /home/ishan/code/solr/out/production/core/SystemCollectionSolrConfig.xml
> Unknown license:
> /home/ishan/code/solr/out/production/core/SystemCollectionSchema.xml
> Unknown license:
> /home/ishan/code/solr/out/test/solrj/solrj/sampleRangeFacetResponse.xml
> Unknown license:
> /home/ishan/code/solr/out/test/solrj/solrj/sampleGroupResponse.xml
> Unknown license:
> /home/ishan/code/solr/out/test/core/solr/collection1/conf/schema-
> snippet-type.xml
> Unknown license:
> /home/ishan/code/solr/out/test/core/solr/collection1/conf/schema-
> snippet-field.xml
> Unknown license:
> /home/ishan/code/solr/out/test/core/solr/collection1/conf/solrconfig-
> snippet-processor.xml
>
>
> https://termbin.com/rjui
>
> I fixed them locally (to add ASF license in the XML files), but then ran
> into various *.txt files that have tabs, not spaces. Clearly, these are all
> false alarms, and all the files here are last edited years ago.
>
> Should we add -Pvalidation.sourcePatterns.failOnError=false to the release
> script and move on?
>

Reply via email to