Skip to content

Conversation

@pvary
Copy link
Contributor

@pvary pvary commented Apr 1, 2022

What changes were proposed in this pull request?

Remove the source generation for org/apache/hadoop/hive.metastore/annotation/package-info.java

Why are the changes needed?

Javadoc generation failed during the release process

Does this PR introduce any user-facing change?

No

How was this patch tested?

Generating javadoc

@pvary
Copy link
Contributor Author

pvary commented Apr 4, 2022

@zabetak: Could you please take a look?
This patch fixes the javadoc generation in a sense, that:

  • Removes one of the conflicting generated files
  • Makes sure that even though the javadoc comments are problematic we can generate the javadoc with the -Pjavadoc profile.

We still should fix the javadoc issues, but at least in the meantime we have a way to generate the javadoc

Copy link
Member

@zabetak zabetak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a quick look and left some small questions.

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should also fix the version of the maven-javadoc-plugin globally to avoid build warnings and things being broken when a newer version appears.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the javadoc generation is a big mess ATM, I would suggest to keep it as it is, and if the tests are failing then we can decide what we want to do with them.

See also: #3185

@pvary pvary merged commit f9ef4ee into apache:master Apr 11, 2022
@pvary pvary deleted the HIVE-26093 branch April 11, 2022 12:04
DongWei-4 pushed a commit to DongWei-4/hive that referenced this pull request Oct 28, 2022
…ckage-info.java (Peter Vary reviewed by Stamatis Zampetakis) (apache#3168)
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Dec 15, 2022
…ckage-info.java (Peter Vary reviewed by Stamatis Zampetakis) (apache#3168)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants