Maven JET plugin or Eclipse JET for Maven
Maven JET Pugin allow generate soure code of the Java Emitters from templates.
The source idea was taken from the Eclipse JET technology. I like this technology but can not use it outside of Eclipse.
Java Emitter is a Java class for model to text transformation (M2T) at runtime. It is very convenient way for generation structural output like xml or source code.
Java Emitters Template (JET) is a technology for generation Emitters from the templates.
This plugin was developed by me for open source community under Tikal open source initiative.
Enjoy your code generation.