format all files instead of just changed files
Below configuration does not format all files. I want to format all files first time.
<plugin> <groupId>com.theoryinpractise</groupId> <artifactId>googleformatter-maven-plugin</artifactId> <executions> <execution> <id>reformat-sources</id> <configuration> <includeStale>true</includeStale> <style>GOOGLE</style> <formatMain>true</formatMain> <formatTest>true</formatTest> <filterModified>true</filterModified> <skip>false</skip> <fixImports>false</fixImports> <maxLineLength>100</maxLineLength> </configuration> <goals> <goal>format</goal> </goals> <phase>process-sources</phase> </execution> </executions> </plugin>
Long belated reply - only just saw these open issues (even if over a year late).
You should be able to do that by changing <filterModified>true</filterModified> to <filterModified>false</filterModified> - so that the plugin doesn't filter the changes down to the set of changed files.