How do I add my generated sources to the compile path of Maven, when using Modello?

Modello generate the sources in the generate-sources phase and automatically adds the source directory for compilation in Maven. So you don't have to copy the generated sources.

You have to declare the Modello Maven Plugin in the build of your project for source generation (in that way the sources are generated each time).

For more information about Modello, please visit the Modello website .

[top]