At the moment I'm writing a xtext-plugin to do some code generation in our JEE6 Webapp, which is build with maven. The plugin works fine and i was able to export it into an updatesite, to share it with my teammates. Now I want to integrate the code generation into the maven build of our webapplication. Until now I can run the code generator only in eclipse.
I found very much documentation on how to build my DSL-Plugin with maven/tycho but nothing really helpful tutorials on how to run my generator in a maven build. I would appreciate it if you could share a link or hint, which points me in the right direction.