| author : | Florian Desbois, Jean Couteau |
|---|---|
| contact : | eugene-devel@list.nuiton.org or eugene-users@list.nuiton.org |
| revision : | 1079 |
| date : | 2011-06-28 11:15:23 +0200 (Tue, 28 Jun 2011) |
To put into place generation using EUGene, it is possible to use main build utilities : Ant and Maven
See documentation in ant module
First, you need EUGene dependency to be able to use its API :
<dependency>
<groupId>org.nuiton.eugene</groupId>
<artifactId>eugene</artifactId>
<version>${eugeneVersion}</version>
<scope>provided</scope>
</dependency>
It has to be noted that the provided scope is enough as EUGene is used only during compile/generation.
You can now extends wanted Transformer and Generator to be able to generate files using the maven plugin. See plugin documentation and examples .