You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "GauthamBanasandra (via GitHub)" <gi...@apache.org> on 2023/06/25 21:27:06 UTC
[GitHub] [hadoop] GauthamBanasandra commented on pull request #5688: HADOOP-18751. Fix incorrect output path in javadoc build phase
GauthamBanasandra commented on PR #5688:
URL: https://github.com/apache/hadoop/pull/5688#issuecomment-1606269212
@ayushtkn , @goiri it seems like the issue that [HADOOP-8500](https://issues.apache.org/jira/browse/HADOOP-8500) and [HADOOP-13784](https://issues.apache.org/jira/browse/HADOOP-13784) aimed to fix isn't really solved. I'm finding that the javadocs are still lying under the `site` directory -

This is happening since the `destDir` is appended to `reportOutputDirectory` as the `maven-javadoc-plugin` documentation calls out.
Upon using `../api` the javadoc generation fails on Linux since the parent `site` directory doesn't exist -

However, the same works absolutely fine on Windows. I've thus used the same approach to fix the issue on Windows and have kept the `destDir` intact for Linux. Unfortunately, the `maven-javadoc-plugin` doesn't give us a way to handle this scenario. ☹️
We'll have to pursue the correct fix for Linux separately.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org