petermr / ami3

Integration of cephis and normami code into a single base. Tests will be slimmed down
Apache License 2.0
17 stars 5 forks source link

JavaScript found in documentation comment #70

Open petermr opened 3 years ago

petermr commented 3 years ago

from Priya

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)
.
petermr commented 3 years ago

Can anyone else reproduce this issue?