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

Remove source=8 from Javadoc configuration #268

Merged
merged 1 commit into from
Jun 24, 2022
Merged

Conversation

basil
Copy link
Member

@basil basil commented Jun 24, 2022

Amends #209. Setting source=8 is wrong now that we are requiring Java 11. Furthermore, based on my reading of AbstractJavadocMojo it is dead code: whenever release is set, it is always used in place of source in that class. And we are (implicitly) setting release (to the correct value of 11, no less!) because release defaults to the value of the maven.compiler.release property, which we are setting to 11. So we are implicitly setting release, which means source is unused, which means it is dead code, which means it should be deleted.

@basil basil added the bugfix label Jun 24, 2022
@basil basil merged commit 16a2ce7 into jenkinsci:master Jun 24, 2022
@basil basil deleted the javadoc branch June 24, 2022 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants