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

Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project core-aop-support: MavenReportException: Error while generating Javadoc: #125

Open
agursoy opened this Issue Apr 4, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@agursoy
Copy link

agursoy commented Apr 4, 2017

Hi, I'm in very beggining at OpenImaj. I wanted to make some tests.
I just clone your repository to my local then run

mvn install

but I got below error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project core-aop-support: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - javadoc: error - invalid flag: --allow-script-in-comments
[ERROR]
[ERROR] Command line was: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/../bin/javadoc @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/Users/abdullahgursoy/Development/maven/openimajsource/core/core-aop-support/target/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :core-aop-support

@jonhare

This comment has been minimized.

Copy link
Member

jonhare commented Apr 4, 2017

@agursoy

This comment has been minimized.

Copy link
Author

agursoy commented Apr 5, 2017

Hi thanks for your quick reply. I checked my java version. I think it is latest version 8u121 as you say, but I'm still getting error.

screen shot 2017-04-05 at 10 02 06

@jonhare

This comment has been minimized.

Copy link
Member

jonhare commented Apr 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.