Showing diffs of the generated serializers and test

After the serializers and tests have been generated, it is possible to compare them with the currently existing files in your source folder.

This is useful if the domain classes have changed and the serializers/tests have been recreated.

Calling the diff goal

The diff command can be called like that:

mvn serializer-generator:diff -DdiffCommand="meld {0} {1}"

It is necessary to configure the diffCommand that shall be used.

Next step

The created sources can now be added to the source tree. This can either be done manually or by using the commit goal of this plugin.