Skip to content

Conversation

@copybara-service
Copy link

Standardize on the ID "attach-javadocs" for maven-javadoc-plugin.

Currently, our projects use a mix of that and "attach-docs." I think that the choice of ID is unlikely to make a difference in practice as long as we're consistent between a project and its parent (as was not the case in jimfs prior to cl/814204365), but it's not hard to imagine messing things up someday if we copy and paste across projects.

"attach-javadocs" does seem to be at least some kind of recommendation.

Also, in Guava: In the future projects, remove some probably needless differences in configuration that we'd carried over from the main Guava projects back in the day:

<id>generate-javadoc-site-report</id>
<phase>site</phase>

I already removed that configuration from the main Guava projects back in cl/572593797.

RELNOTES=n/a

Currently, our projects use a mix of that and "`attach-docs`." I think that the choice of ID is unlikely to make a difference in practice as long as we're consistent between a project and its parent (as was _not_ the case in jimfs prior to cl/814204365), but it's not hard to imagine messing things up someday if we copy and paste across projects.

"`attach-javadocs`" does seem to be at least [some kind of recommendation](https://maven.apache.org/plugins/maven-javadoc-plugin/faq.html#:~:text=attach%2Djavadocs).

Also, in Guava: In the `future` projects, remove some probably needless differences in configuration that we'd carried over from the main Guava projects back in the day:

```
<id>generate-javadoc-site-report</id>
<phase>site</phase>
```

I already removed that configuration from the main Guava projects back in cl/572593797.

RELNOTES=n/a
PiperOrigin-RevId: 814338191
@copybara-service copybara-service bot merged commit 930d950 into main Oct 2, 2025
@copybara-service copybara-service bot deleted the test_814241768 branch October 2, 2025 19:25
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.

1 participant