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

Normalize Maven multi-value settings name #337

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

Bananeweizen
Copy link
Contributor

What's changed?

maven config example

What's your motivation?

For multi-valued configuration settings like lists the Maven convention is to use a plural settings name with child elements using the same (singular) name.

Any additional context

See also https://books.sonatype.com/mvnref-book/reference/writing-plugins-sect-mojo-params.html#writing-plugins-sect-multival-params

The previous line was probably copied from some plugin documentation with includes/excludes.

For multi-valued configuration settings like lists the Maven convention
is to use a plural settings name with child elements using the same
(singular) name.

See also https://books.sonatype.com/mvnref-book/reference/writing-plugins-sect-mojo-params.html#writing-plugins-sect-multival-params

The previous line was probably copied from some plugin documentation
with includes/excludes.
@timtebeek
Copy link
Contributor

Thanks! yes makes sense.

@timtebeek timtebeek merged commit d2a6616 into openrewrite:master Jan 7, 2025
2 checks passed
@Bananeweizen Bananeweizen deleted the maven_params branch January 8, 2025 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants