tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2719) Java 9: Requiring tika-parsers from module-info.java fails with "module not found"
Date Thu, 06 Sep 2018 17:04:00 GMT

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

Tim Allison commented on TIKA-2719:
-----------------------------------

I've added these to most packages (in both {{master}} and {{branch_1x}}).  Please take a look
and let me know if I botched anything.

I didn't include tika-bundle, tika-nlp or tika-example.

> Java 9: Requiring tika-parsers from module-info.java fails with "module not found"
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-2719
>                 URL: https://issues.apache.org/jira/browse/TIKA-2719
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.18
>            Reporter: James Baker
>            Priority: Major
>              Labels: java9, module
>
> When requiring `tika.parsers` from a Java 9 `module-info.java`, Maven throws an error
about not being able to find `tika.parsers`:
>  
> {{[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
(default-compile) on project annot8-components-tika: Compilation failure}}
> {{[ERROR] /home/bakerj/annot8/annot8-components/annot8-components-tika/src/main/java/module-info.java:[9,16]
module not found: tika.parsers}}
>  
> It looks like this is likely to be a similar issue to: [https://github.com/elastic/elasticsearch/issues/28984]
> For an example of a failing project, see: [https://github.com/annot8/annot8-components/tree/tika]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message