While using the command mvn clean install -Dmaven.test.skip=true, I got few lines like...
.
.
Constructing Javadoc information...
Standard Doclet version 14.0.2
Building tree for all the packages and classes...
1 error
[ERROR] MavenReportException: Error while generating Javadoc:
Exit code: 1 - javadoc: error - JavaScript found in documentation comment.
Use --allow-script-in-comments to allow use of JavaScript.
Command line was: cmd.exe /X /C ""C:\Program Files\Java\jdk-14.0.2\bin\javadoc.exe" @options @packages"
Refer to the generated Javadoc files in 'C:\Users\laksm\OneDrive\Desktop\github\ami3\target\apidocs' dir.
org.apache.maven.reporting.MavenReportException:
Exit code: 1 - javadoc: error - JavaScript found in documentation comment.
Use --allow-script-in-comments to allow use of JavaScript.
Command line was: cmd.exe /X /C ""C:\Program Files\Java\jdk-14.0.2\bin\javadoc.exe" @options @packages"
Refer to the generated Javadoc files in 'C:\Users\laksm\OneDrive\Desktop\github\ami3\target\apidocs' dir.
at org.apache.maven.plugins.javadoc.AbstractJavadocMojo.doExecuteJavadocCommandLine (AbstractJavadocMojo.java:5861)
.
from Priya