Skip to content

Remove Javadoc argument --ignore-source-errors#69

Merged
wing328 merged 1 commit intoOpenAPITools:masterfrom
ctrimble:bug_unknown-javadoc-option
Aug 22, 2025
Merged

Remove Javadoc argument --ignore-source-errors#69
wing328 merged 1 commit intoOpenAPITools:masterfrom
ctrimble:bug_unknown-javadoc-option

Conversation

@ctrimble
Copy link
Copy Markdown
Contributor

The --ignore-source-errors argument is making Javadoc fail with JDK 8. This PR removes that argument.

@ctrimble
Copy link
Copy Markdown
Contributor Author

For reference, this is failing in the GitHub action build step. This is what is coming out in the logs:

Error:  MavenReportException: Error while generating Javadoc: 
Exit code: 1
javadoc: error - invalid flag: --ignore-source-errors
Command line was: /usr/lib/jvm/temurin-8-jdk-amd64/jre/../bin/javadoc -J-Duser.language= -J-Duser.country= @options @packages

Refer to the generated Javadoc files in '/home/runner/work/jackson-databind-nullable/jackson-databind-nullable/target/reports/apidocs' dir.

org.apache.maven.reporting.MavenReportException: 
Exit code: 1
javadoc: error - invalid flag: --ignore-source-errors
Command line was: /usr/lib/jvm/temurin-8-jdk-amd64/jre/../bin/javadoc -J-Duser.language= -J-Duser.country= @options @packages

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