uschindler commented on issue #13695:
URL: https://github.com/apache/lucene/issues/13695#issuecomment-2315903858

   OK, I debugged a bit:
   
   ```
   >gradlew :lucene:checkDanglingLicenseFiles
   Starting a Gradle Daemon (subsequent builds will be faster)
   
   > Task :errorProneSkipped
   WARNING: errorprone disabled (skipped on builds not running inside CI 
environments, pass -Pvalidation.errorprone=true to enable)
   
   > Task :lucene:core:compileJava
   Hinweis: Einige Eingabedateien verwenden oder ├╝berschreiben eine veraltete 
API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   > Task :lucene:facet:compileJava
   Hinweis: Einige Eingabedateien verwenden oder ├╝berschreiben eine veraltete 
API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   > Task :lucene:queries:compileJava
   Hinweis: C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\queries\src\java\org\apache\lucene\queries\payloads\PayloadMatcherFactory.java
 verwendet oder ├╝berschreibt eine veraltete API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   > Task :lucene:sandbox:compileJava
   Hinweis: Einige Eingabedateien verwenden oder ├╝berschreiben eine veraltete 
API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   > Task :lucene:analysis:common:compileJava
   Hinweis: Einige Eingabedateien verwenden oder ├╝berschreiben eine veraltete 
API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   > Task :lucene:expressions:compileJava
   Hinweis: C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\expressions\src\java\org\apache\lucene\expressions\js\JavascriptCompiler.java
 verwendet oder ├╝berschreibt eine veraltete API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   > Task :lucene:test-framework:compileJava
   Hinweis: Einige Eingabedateien verwenden oder ├╝berschreiben eine veraltete 
API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   > Task :lucene:grouping:compileJava
   Hinweis: C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\grouping\src\java\org\apache\lucene\search\grouping\GroupingSearch.java
 verwendet oder ├╝berschreibt eine veraltete API.
   Hinweis: Wiederholen Sie die Kompilierung mit -Xlint:deprecation, um Details 
zu erhalten.
   
   BUILD SUCCESSFUL in 1m 4s
   208 actionable tasks: 185 executed, 23 up-to-date
   <-------------> 0% WAITING
   > IDLE
   > IDLE
   > IDLE
   > IDLE
   
   
   >gradlew :lucene:checkDanglingLicenseFiles
   
   > Task :errorProneSkipped
   WARNING: errorprone disabled (skipped on builds not running inside CI 
environments, pass -Pvalidation.errorprone=true to enable)
   WARNING: there were unreferenced files under license folder:
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\antlr4-runtime-LICENSE-BSD.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\antlr4-runtime-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\asm-LICENSE-BSD_LIKE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\asm-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\asm-commons-LICENSE-BSD_LIKE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\asm-commons-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\assertj-core-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\assertj-core-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\commons-codec-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\commons-codec-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\commons-compress-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\commons-compress-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\hamcrest-LICENSE-BSD.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\hamcrest-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\icu4j-LICENSE-BSD_LIKE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\icu4j-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\jts-core-LICENSE-BSD_LIKE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\jts-core-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\junit-LICENSE-CPL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\junit-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-fsa-LICENSE-BSD.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-fsa-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-polish-LICENSE-BSD.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-polish-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-stemming-LICENSE-BSD.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-stemming-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-ukrainian-search-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\morfologik-ukrainian-search-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\nekohtml-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\nekohtml-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\opennlp-tools-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\opennlp-tools-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\procfork-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\procfork-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\randomizedtesting-runner-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\randomizedtesting-runner-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\s2-geometry-library-java-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\s2-geometry-library-java-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\slf4j-api-LICENSE-MIT.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\spatial4j-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\spatial4j-NOTICE.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\xercesImpl-LICENSE-ASL.txt
     - C:\Users\Uwe 
Schindler\Projects\lucene\lucene\lucene\licenses\xercesImpl-NOTICE.txt
   
   BUILD SUCCESSFUL in 3s
   208 actionable tasks: 83 executed, 125 up-to-date
   ```
   
   I figured out that stopping gradle daemons does not work. The main issue is 
a different problem:
   When everything is already compiled, the `collectJarInfos` task is not 
executed (for no subproject) where the outputs exist.
   
   The problem is the dynamic collection of all tasks that the 
`checkDanglingLicenseFiles` task only depends on this dynamically generated 
'validationTasks`, which may not execute the `jarInfoTasks`.
   
   When you clean, it works again.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to