Commiting the generated serializers and test to the source folders

After the serializers and tests have been generated, it is possible to copy them to the source folders of the project.

Calling the commit goal

The commit command can be called like that:

mvn serializer-generator:commit

It is possible to only copy the tests or serializers by setting the parameters

  • commitSerializers
  • commitTests

    to false.

Existing files

If files with the same names still exist within the source folder the plugin asks whether those shall be overridden.

This is not recommended!

The diff goal should be used to explore the differences instead.