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

Set source to 1.8 in javadoc plugin configurations #1800

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

senthuran16
Copy link
Member

Purpose

$subject

Goals

Avoid the following error during build:

[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time:  31.376 s
[INFO] [INFO] Finished at: 2022-10-31T21:35:47Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.1:javadoc (docs) on project siddhi-query-api: An error has occurred in Javadoc report generation: 
[INFO] [ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
[INFO] [ERROR] 
[INFO] [ERROR] Command line was: /build/software/java/jdk-11.0.4+11/bin/javadoc @options @packages
[INFO] [ERROR] 
[INFO] [ERROR] Refer to the generated Javadoc files in '/home/jenkins/workspace/siddhi/siddhi/modules/siddhi-query-api/target/site/apidocs' dir.
[INFO] [ERROR] -> [Help 1]
[INFO] [ERROR] 
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.

Reference

https://stackoverflow.com/questions/58836862/jdk-11-and-javadoc

@senthuran16 senthuran16 merged commit 57a85c3 into siddhi-io:master Nov 1, 2022
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

Successfully merging this pull request may close these issues.

2 participants