Caleb Cushing created TIKA-3428:
-----------------------------------

             Summary: Unable to use tika with module-info
                 Key: TIKA-3428
                 URL: https://issues.apache.org/jira/browse/TIKA-3428
             Project: Tika
          Issue Type: New Feature
    Affects Versions: 1.26
         Environment: {code}
\Users\xenot\IdeaProjects\brix>.\gradlew --version

------------------------------------------------------------
Gradle 7.0.2
------------------------------------------------------------

Build time:   2021-05-14 12:02:31 UTC
Revision:     1ef1b260d39daacbf9357f9d8594a8a743e2152e

Kotlin:       1.4.31
Groovy:       3.0.7
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          11.0.11 (AdoptOpenJDK 11.0.11+9)
OS:           Windows 10 10.0 amd64
{code}

            Reporter: Caleb Cushing


I was unable to use tika with my module-info either by automatic module naming 
or otherwise. module-info without tika (in other modules) seems to work fine.

It is possible that I'm simply doing it wrong, but intellij was unable to find 
the correct information and googling did not lead me to a correct answer. I did 
find another bug and commented on it but have received no reply so I'm opening 
a new one.

intellij suggests this

{code}
module brix.util.file {
  exports com.xenoterracide.brix.util.file;
  requires java.base;
  requires tika.core;
  requires static org.checkerframework.checker.qual;
}
{code}

but I get

{code}
C:\Users\xenot\IdeaProjects\brix\modules\util\file\src\main\java\module-info.java:4:
 error: module not found: tika.core
  requires tika.core;
               ^
1 error
{code}





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to