Skip to content

Fmt or Fix for all sources

Igor Maznitsa edited this page Aug 25, 2016 · 1 revision

By default fmt and fix are called only for root source folder. It is possible to wide them for whole sources tree. Just add needed execution into plugin configuration and the default tasks will be processing whole tree of sources

FMT

<execution>
 <id>default-fmt</id>
 <configuration>
  <packages>
    <folder>.${file.separator}...</folder>
  </packages>
 </configuration>
</execution>

FIX

<execution>
 <id>default-fix</id>
 <configuration>
  <packages>
    <folder>.${file.separator}...</folder>
  </packages>
 </configuration>
</execution>