Execution

author : Florian Desbois, Jean Couteau
contact : eugene-devel@list.nuiton.org or eugene-users@list.nuiton.org

To put into place generation using EUGene, it is possible to use main build utilities : Maven

First, you need EUGene dependency to be able to use its API

<dependency>
    <groupId>org.nuiton.eugene</groupId>
    <artifactId>eugene</artifactId>
    <version>3.0-alpha-10</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 .