Rate This Document
Findability
Accuracy
Completeness
Readability

Error "Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin'" Reported When Compiling Jansi

Symptom

An error is reported when compiling Jansi:

1
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.5:jar(attach-javadocs) on project jansi:MavenReportException:Error while creating archive:Exit code:1 · /usr/local/installed/woo514790/jython/jansi/jansi - jansi - project - 1.11/jansi/src/main/java/org/fusesource/jansi/Ansi.java:497:warning: no description for @param

Key Process and Cause Analysis

The DocLint feature is added to Java 8. This feature is used to check for Javadoc comment errors and link to the source code before the Javadoc document is generated in the development phase. If a Javadoc comment error exists, the Javadoc document is not generated.

Conclusion and Solution

Skip the Javadoc check during compilation and perform the compilation again.

1
mvn clean package -Dmaven.javadoc.skip=true