PeterAlfredLee opened a new pull request #350: URL: https://github.com/apache/tika/pull/350
Hi all, I noticed that the main branch succeed on excuting command `mvn clean install` now, but failed in `IDEA` . After some debugging, I found what's wrong: 1. Component tika-parsers and tika-langdetect used to be a jar, and other components can use them as dependency 2. Today tika-parsers and tika-langdetect has become pom projects, and we haven't corrected those dependencies yet. 3. Compile in `IDEA` is failing because of these wrong depenency settings , `mvn clean install` can success because we have some old jar in snapshots repository(in apache maven repository). So I removed tika-parsers and tika-langdetect from dependency because they're not jars any more. Also modified some code to use correct dependencies. Now I can compile it in `IDEA` and run `mvn clean install` successfully. Just one thing I'm not sure lies in [test](https://github.com/PeterAlfredLee/tika/blob/fixDependency/tika-server/src/test/java/org/apache/tika/server/TikaParsersTest.java#L165) : It assert parsers number to be larger than 50, but I only got a 47 when I was testing. Not sure why. I've commented out this line for now. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org