${basedir}/src/main/resources/model.mdo
(property maven.modello.model
). NOTE : Actually the plugin allow to have only one model per project.maven.modello.packageWithVersion
and maven.modello.version
.After having change your properties to customize the behaviour of modello, you can call any goal in this plugin. To have the full list of goals you must call maven -P modello
.
You can automatically call modello in your build.
As a pregoal of java:compile
to generate your code. The modello goal uses the property maven.modello.plugins
to know which modello plugins it have to use.
<!-- Register Modello --> <preGoal name="java:compile"> <attainGoal name="modello"/> </preGoal>
As a report for the web site. It will automatically generate the documentation and the xml schema for your model
<reports> ... <report>maven-modello-plugin</report> ... </reports>