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

Fix documentation example for maven.AddPlugin #4036

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

minisu
Copy link
Contributor

@minisu minisu commented Feb 23, 2024

What's changed?

Fix documentation example for maven.AddPlugin

What's your motivation?

The element has to be included by the user, as is made clear in AddPluginTest: https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/test/java/org/openrewrite/maven/AddPluginTest.java#L125-L139

Any additional context

One could possibly argue that the documentation is correct, but the implementation is wrong; but the implementation follows the same convention used by the other parameters (configuration and dependencies).

@timtebeek timtebeek self-requested a review February 23, 2024 11:45
@timtebeek
Copy link
Contributor

Appreciate the immediate fix! Should prevent others from stumbling over this issue with our docs.

@timtebeek timtebeek added bug Something isn't working documentation Improvements or additions to documentation labels Feb 23, 2024
@timtebeek timtebeek merged commit 7716bc4 into openrewrite:main Feb 23, 2024
1 check failed
@minisu minisu deleted the patch-1 branch February 23, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants