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-plugin in the build of your plugin for source generation (in that way the sources are generated each time).
Related Questions
- How should I point a path for maven 2 to use a certain version of JDK when I have different versions of JDK installed on my PC and my JAVA_HOME already set?
- In modello, do I need to copy the generated sources in my source tree or will the sources be automatically added to the compile path of maven?
- How do I add my generated sources to the compile path of Maven, when using modello?