Skip to content

Commit

Permalink
Normalize Maven multi-value settings name (#337)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Bananeweizen authored Jan 7, 2025
1 parent 4764603 commit d2a6616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/rewrite-maven-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Note. the plugin scans the `compile`, `provided`, and `test` scopes for visitors
<configLocation>${maven.multiModuleProjectDirectory}/rewrite.yml</configLocation>
<failOnDryRunResults>false</failOnDryRunResults>
<exclusions>
<exclude>*/some/irrelevant/or/expensive/directory/**</exclude>
<exclusion>*/some/irrelevant/or/expensive/directory/**</exclusion>
</exclusions>
<plainTextMasks>
<plainTextMask>**/.txt</plainTextMask>
Expand Down

0 comments on commit d2a6616

Please sign in to comment.