mikemccand opened a new issue, #13695:
URL: https://github.com/apache/lucene/issues/13695
### Description
On `main` today, with Java 21 on a recent Arch Linux, if I run `./gradlew
clean` then `./gradlew check`, all is good. It passes.
But if I run `./gradlew check` again, I sometimes (not always -- might take
another `./gradlew check`) get these false warnings about unreferenced license
files:
```
WARNING: there were unreferenced files under license folder:
- /s1/l/9x/lucene/licenses/antlr4-runtime-LICENSE-BSD.txt
- /s1/l/9x/lucene/licenses/antlr4-runtime-NOTICE.txt
- /s1/l/9x/lucene/licenses/asm-LICENSE-BSD_LIKE.txt
- /s1/l/9x/lucene/licenses/asm-NOTICE.txt
- /s1/l/9x/lucene/licenses/asm-commons-LICENSE-BSD_LIKE.txt
- /s1/l/9x/lucene/licenses/asm-commons-NOTICE.txt
- /s1/l/9x/lucene/licenses/assertj-core-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/assertj-core-NOTICE.txt
- /s1/l/9x/lucene/licenses/commons-codec-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/commons-codec-NOTICE.txt
- /s1/l/9x/lucene/licenses/commons-compress-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/commons-compress-NOTICE.txt
- /s1/l/9x/lucene/licenses/commons-logging-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/commons-logging-NOTICE.txt
- /s1/l/9x/lucene/licenses/hamcrest-LICENSE-BSD.txt
- /s1/l/9x/lucene/licenses/hamcrest-NOTICE.txt
- /s1/l/9x/lucene/licenses/httpclient-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/httpclient-NOTICE.txt
- /s1/l/9x/lucene/licenses/httpcore-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/httpcore-NOTICE.txt
- /s1/l/9x/lucene/licenses/icu4j-LICENSE-BSD_LIKE.txt
- /s1/l/9x/lucene/licenses/icu4j-NOTICE.txt
- /s1/l/9x/lucene/licenses/javax.servlet-LICENSE-CDDL.txt
- /s1/l/9x/lucene/licenses/javax.servlet-NOTICE.txt
- /s1/l/9x/lucene/licenses/jetty-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/jetty-NOTICE.txt
- /s1/l/9x/lucene/licenses/jts-core-LICENSE-BSD_LIKE.txt
- /s1/l/9x/lucene/licenses/jts-core-NOTICE.txt
- /s1/l/9x/lucene/licenses/junit-LICENSE-CPL.txt
- /s1/l/9x/lucene/licenses/junit-NOTICE.txt
- /s1/l/9x/lucene/licenses/morfologik-fsa-LICENSE-BSD.txt
- /s1/l/9x/lucene/licenses/morfologik-fsa-NOTICE.txt
- /s1/l/9x/lucene/licenses/morfologik-polish-LICENSE-BSD.txt
- /s1/l/9x/lucene/licenses/morfologik-polish-NOTICE.txt
- /s1/l/9x/lucene/licenses/morfologik-stemming-LICENSE-BSD.txt
- /s1/l/9x/lucene/licenses/morfologik-stemming-NOTICE.txt
- /s1/l/9x/lucene/licenses/morfologik-ukrainian-search-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/morfologik-ukrainian-search-NOTICE.txt
- /s1/l/9x/lucene/licenses/nekohtml-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/nekohtml-NOTICE.txt
- /s1/l/9x/lucene/licenses/opennlp-tools-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/opennlp-tools-NOTICE.txt
- /s1/l/9x/lucene/licenses/procfork-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/procfork-NOTICE.txt
- /s1/l/9x/lucene/licenses/randomizedtesting-runner-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/randomizedtesting-runner-NOTICE.txt
- /s1/l/9x/lucene/licenses/s2-geometry-library-java-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/s2-geometry-library-java-NOTICE.txt
- /s1/l/9x/lucene/licenses/spatial4j-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/spatial4j-NOTICE.txt
- /s1/l/9x/lucene/licenses/xercesImpl-LICENSE-ASL.txt
- /s1/l/9x/lucene/licenses/xercesImpl-NOTICE.txt
```
It's sometimes a smaller set of (still false positive) warnings, which is
also odd.
For the longest time I've been assuming I'm doing something wrong :) But
then I noticed @msokolov also sees this sometimes, so it's not just me. Does
anyone else see these?
[I also raised [this dev list
discussion](https://lists.apache.org/thread/xgqb00w597z087fsf9sj2s7jq27y2llc)
about it].
### Version and environment details
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]