Hello All,

I'm having javadoc issues affecting our build and have no idea how it
can be fixed/workarounded :((

I've created simple demo project (pom.xml and one java file)
demonstrating the issue https://github.com/solomax/tika-javadoc

Any help is very appreciated!


mvn -version
Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Maven home: /opt/maven
Java version: 17.0.6, vendor: Private Build, runtime:
/usr/lib/jvm/java-17-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.19.0-41-generic", arch: "amd64", family: "unix"


Build output:

INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.959 s
[INFO] Finished at: 2023-05-05T11:02:44+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.5.0:jar
(attach-javadocs) on project tika-javadoc: MavenReportException: Error
while generating Javadoc:
[ERROR] Exit code: 1
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.iptc from both org.apache.tika.parser.news and
org.apache.tika.parsers
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.feed from both org.apache.tika.parser.news and
org.apache.tika.parsers
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.pkg from both org.apache.tika.parsers and
org.apache.tika.parser.pkg
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft from both org.apache.tika.parsers and
org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.xml from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.rtf from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.pst from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.ooxml from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.ooxml.xwpf from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.ooxml.xwpf.ml2006 from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.ooxml.xslf from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.ooxml.xps from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.util from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.unsigned from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.space from
both org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.chunking
from both org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic from
both org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.property from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.exception from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.microsoft.chm from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.extractor.microsoft from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.detect.microsoft from both org.apache.tika.parsers and
org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.detect.microsoft.ooxml from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.wordperfect from both org.apache.tika.parsers
and org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.odf from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.mif from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.indesign from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.hwp from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.epub from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.dif from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.dbf from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.detect.ole from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.xml from both org.apache.tika.parsers and
org.apache.tika.parser.xml
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.xliff from both org.apache.tika.parsers and
org.apache.tika.parser.xml
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.tmx from both org.apache.tika.parsers and
org.apache.tika.parser.xml
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.iwork from both org.apache.tika.parsers and
org.apache.tika.parser.apple
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.iwork.iwana from both org.apache.tika.parsers
and org.apache.tika.parser.apple
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.apple from both org.apache.tika.parsers and
org.apache.tika.parser.apple
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.detect.apple from both org.apache.tika.parsers and
org.apache.tika.parser.apple
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.txt from both org.apache.tika.parsers and
org.apache.tika.parser.txt
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.strings from both org.apache.tika.parsers and
org.apache.tika.parser.txt
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.csv from both org.apache.tika.parsers and
org.apache.tika.parser.txt
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.html from both org.apache.tika.parsers and
org.apache.tika.parser.html
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.html.charsetdetector from both
org.apache.tika.parsers and org.apache.tika.parser.html
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.html.charsetdetector.charsets from both
org.apache.tika.parsers and org.apache.tika.parser.html
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.zip.utils from both org.apache.tika.parsers and
org.apache.tika.parser.zip
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.detect.zip from both org.apache.tika.parsers and
org.apache.tika.parser.zip
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.image from both org.apache.tika.parsers and
org.apache.tika.parser.image
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.xmp from both org.apache.tika.parsers and
org.apache.tika.parser.xmp
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.sas from both org.apache.tika.parsers and
org.apache.tika.parser.code
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.mat from both org.apache.tika.parsers and
org.apache.tika.parser.code
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.executable from both org.apache.tika.parsers
and org.apache.tika.parser.code
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.code from both org.apache.tika.parsers and
org.apache.tika.parser.code
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.asm from both org.apache.tika.parsers and
org.apache.tika.parser.code
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.video from both org.apache.tika.parsers and
org.apache.tika.parser.audiovideo
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.mp4 from both org.apache.tika.parsers and
org.apache.tika.parser.audiovideo
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.mp4.boxes from both org.apache.tika.parsers and
org.apache.tika.parser.audiovideo
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.mp3 from both org.apache.tika.parsers and
org.apache.tika.parser.audiovideo
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.audio from both org.apache.tika.parsers and
org.apache.tika.parser.audiovideo
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.renderer.pdf.pdfbox from both org.apache.tika.parsers
and org.apache.tika.parser.pdf
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.renderer.pdf.mutool from both org.apache.tika.parsers
and org.apache.tika.parser.pdf
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.pdf from both org.apache.tika.parsers and
org.apache.tika.parser.pdf
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.pdf.xmpschemas from both
org.apache.tika.parsers and org.apache.tika.parser.pdf
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.pdf.image from both org.apache.tika.parsers and
org.apache.tika.parser.pdf
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.mbox from both org.apache.tika.parsers and
org.apache.tika.parser.mail
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.mail from both org.apache.tika.parsers and
org.apache.tika.parser.mail
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.font from both org.apache.tika.parsers and
org.apache.tika.parser.font
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.ocr from both org.apache.tika.parsers and
org.apache.tika.parser.ocr
[ERROR] error: module org.apache.poi.poi reads package
org.apache.tika.parser.ocr.tess4j from both org.apache.tika.parsers
and org.apache.tika.parser.ocr
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.iptc from both org.apache.tika.parser.news and
org.apache.tika.parsers
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.feed from both org.apache.tika.parser.news and
org.apache.tika.parsers
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.pkg from both org.apache.tika.parsers and
org.apache.tika.parser.pkg
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft from both org.apache.tika.parsers and
org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.xml from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.rtf from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.pst from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.ooxml from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.ooxml.xwpf from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.ooxml.xwpf.ml2006 from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.ooxml.xslf from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.ooxml.xps from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.util from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.unsigned from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.space from
both org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.chunking
from both org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic from
both org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.property from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.onenote.fsshttpb.exception from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.microsoft.chm from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.extractor.microsoft from both org.apache.tika.parsers
and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.detect.microsoft from both org.apache.tika.parsers and
org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.detect.microsoft.ooxml from both
org.apache.tika.parsers and org.apache.tika.parser.microsoft
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.wordperfect from both org.apache.tika.parsers
and org.apache.tika.parser.miscoffice
[ERROR] error: module org.apache.poi.ooxml reads package
org.apache.tika.parser.odf from both org.apache.tika.parsers and
org.apache.tika.parser.miscoffice
[ERROR] 100 errors
[ERROR] Command line was:
/usr/lib/jvm/java-17-openjdk-amd64/bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in
'/home/solomax/work/_oss/tika-javadoc/target/apidocs' dir.
[ERROR]

-- 
Best regards,
Maxim

Reply via email to