Skip to content

Commit

Permalink
Update README.md (#5)
Browse files Browse the repository at this point in the history
* Update README.md

Move from 1.0.0 to 1.1.0

* Update README.md

Add description of 'filesNamePattern' option.
  • Loading branch information
cprudhom authored and malaporte committed Nov 23, 2016
1 parent 857aa85 commit b34928f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Add to your pom.xml
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<executions>
<execution>
<goals>
Expand All @@ -48,18 +48,21 @@ Add to your pom.xml

`verbose` is whether the plugin should print a line for every file that is being formatted. It defaults to `false`.

`filesNamePattern` represents the pattern that filters files to format. The defaults value is set to `.*\.java`.

example:
```xml
<build>
<plugins>
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<configuration>
<sourceDirectory>some/source/directory</sourceDirectory>
<testSourceDirectory>some/test/directory</testSourceDirectory>
<verbose>true</verbose>
<filesNamePattern>.*\.java</filesNamePattern>
<additionalSourceDirectories>
<param>some/dir</param>
<param>some/other/dir</param>
Expand Down

0 comments on commit b34928f

Please sign in to comment.