Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript found in documentation comment #70

Open
petermr opened this issue Oct 20, 2020 · 1 comment
Open

JavaScript found in documentation comment #70

petermr opened this issue Oct 20, 2020 · 1 comment

Comments

@petermr
Copy link
Owner

petermr commented Oct 20, 2020

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
Copy link
Owner Author

petermr commented Oct 20, 2020

Can anyone else reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant