[ 
https://issues.apache.org/jira/browse/LUCENE-10328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462153#comment-17462153
 ] 

Dawid Weiss commented on LUCENE-10328:
--------------------------------------

Exactly.
{code:java}
> Task :lucene:codecs:compileTestJava FAILED
Module path for :lucene:codecs:compileTestJava, moduleTestCompilePath:
  C:\Work\apache\lucene\main\lucene\core\build\classes\java\main
C:\Work\apache\lucene\main\lucene\codecs\src\test\org\apache\lucene\codecs\lucene90\MockTermStateFactory.java:18:
 error: package exists in another module: org.apache.lucene.core {code}

> Module path for compiling and running tests is empty
> ----------------------------------------------------
>
>                 Key: LUCENE-10328
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10328
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Priority: Major
>         Attachments: image-2021-12-19-12-29-21-737.png
>
>
> Uwe noticed that the module path for compiling and running tests is empty - 
> indeed, the modular configurations we create for the test sourceset do not 
> inherit from their main counterparts. This is not a standard thing created 
> for a sourceset - the test-main connection link is created by gradle's java 
> plugin. We need to do a similar thing for modular configurations.
> !image-2021-12-19-12-29-21-737.png|width=490,height=280!
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to