Skip to content

Commit b83d1de

Browse files
author
Dimitrii Lipiridi
committed
fix: Update example of spotlessFiles argument
1 parent 4dd5b5f commit b83d1de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-maven/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ There are two options:
16061606
### Pattern
16071607
You can target specific files by setting the `spotlessFiles` project property to a comma-separated list of file patterns:
16081608
```
1609-
cmd> mvn spotless:apply -DspotlessFiles="my/file/pattern\.java, more/generic/.*-pattern\.java"
1609+
cmd> mvn spotless:apply -DspotlessFiles="src.main.java.com.example.*, .+Config.*\.java"
16101610
```
16111611
The patterns are matched using `String#matches(String)` against the absolute file path.
16121612

0 commit comments

Comments
 (0)