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

Dawid Weiss commented on LUCENE-10485:
--------------------------------------

I already explored that back here:

https://issues.apache.org/jira/browse/LUCENE-10328?focusedCommentId=17468676&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17468676

I didn't find any reasonable way to make modular tests patched against the main 
source bundle. What worked in one place (for example the gradle build) won't 
work elsewhere (IDEs).

> Limit o.a.l.a.morph package visibility only to kuromoji and nori
> ----------------------------------------------------------------
>
>                 Key: LUCENE-10485
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10485
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Tomoko Uchida
>            Priority: Minor
>         Attachments: hacky-poc-make-kuromoji-test-named-module.patch
>
>
> LUCENE-10393 added a new package {{org.apache.lucene.analysis.morph}} to 
> analysis-common that is supposed to be used by only analysis-kuromoji and 
> analysis-nori modules. It would be better to reduce its visibility (on 
> module-mode) by "export to" clause in the module descriptor. 
> The major issue here may be unit tests. They also have to be converted to 
> properly named modules otherwise they cannot access the {{o.a.l.a.morph}} 
> package.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to