-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-4193][BUILD] Disable doclint in Java 8 to prevent from build error. #3058
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
Conversation
|
Test build #22727 has started for PR 3058 at commit
|
|
Test build #22727 has finished for PR 3058 at commit
|
|
Test PASSed. |
|
I think we will ultimately have to turn this on, since javadoc 8 generates so much noise, but:
|
|
@srowen, Thank you for your comment. The answers are:
|
|
So instead, how about fixing the errors? then the build works, no? the warnings are annoying though, but can be disabled with just |
|
Ah, I agree with you. |
|
Test build #22877 has started for PR 3058 at commit
|
|
Test build #22877 has finished for PR 3058 at commit
|
|
Test PASSed. |
|
@ueshin LGTM |
|
Test build #23873 has started for PR 3058 at commit
|
|
Test build #23873 has finished for PR 3058 at commit
|
|
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ueshin One last tiny thing. I think this plugin should be declared in <pluginManagement>, and should add <version>2.10.1</version>, but would not have <configuration> of course. Then this is left exactly as-is.
All -- I think this may help the problem in SPARK-4543? It is good to commit this fix anyway but may also simply silence Java 8's warnings on missing javadoc as desired.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@srowen Thank you for your suggestion and I agree with it. I'll add it to the <pluginManagement>.
|
Test build #23889 has started for PR 3058 at commit
|
|
Test build #23889 has finished for PR 3058 at commit
|
|
Test PASSed. |
|
This LGTM - thanks for the fix. |
…rror. Author: Takuya UESHIN <ueshin@happy-camper.st> Closes #3058 from ueshin/issues/SPARK-4193 and squashes the following commits: e096bb1 [Takuya UESHIN] Add a plugin declaration to pluginManagement. 6762ec2 [Takuya UESHIN] Fix usage of -Xdoclint javadoc option. fdb280a [Takuya UESHIN] Fix Javadoc errors. 4745f3c [Takuya UESHIN] Merge branch 'master' into issues/SPARK-4193 923e2f0 [Takuya UESHIN] Use doclint option `-missing` instead of `none`. 30d6718 [Takuya UESHIN] Fix Javadoc errors. b548017 [Takuya UESHIN] Disable doclint in Java 8 to prevent from build error. (cherry picked from commit e464f0a) Signed-off-by: Patrick Wendell <pwendell@gmail.com>
No description provided.