Add the follow code to the maven POM to use the XmlFit maven Plugin.
<repositories>
<repository>
<id>XMLFit-SF</id>
<name>XMLFit-SF Repository</name>
<url>http://xmlfit.sourceforge.net/m2-repo/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>net.sourceforge.xmlfit</groupId>
<artifactId>maven-fit-transformer</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>transform</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
For use snapshots versions of XmlFit add the follow repository to your maven pom.
<repositories>
<repository>
<id>XMLFit-SF-SNAP</id>
<name>XMLFit-SF-SNAP Repository</name>
<url>http://xmlfit.sourceforge.net/m2-repo-snapshots/</url>
</repository>
</repositories>