Hi,

I have serious problems getting any maven-javadoc-plugin >= 3.1.0 to work with 
simply Java 11 test case:

Neither will „mvn javadoc:javadoc“ nor „mvn javadoc:jar“ nor „mvn site“ work 
out-of-the-box. I have to add „compile“ in the middle to get the javadoc-plugin 
work but this will not fix the site generation.

What’s wrong with the pom.xml or with maven (using version 3.6.3)?

I created a small test project on github: 
https://github.com/yagee-de/javadoc-test

The output I get is like:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (default-cli) on 
project test: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - error: module not found: de.yagee.test
[ERROR]
[ERROR] Command line was: /Users/yagee/Java/Home/11/bin/javadoc @options 
@packages @argfile
[ERROR]
[ERROR] Refer to the generated Javadoc files in 
'/Users/yagee/git/javadoc-test/target/apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]

Any help is highly appreciated!

Kind regards,

Thomas 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to