Re: Is there any generic Maven code generator?

2013-02-28 Thread Baptiste MATHUS
The following is not going to really help you, but I just wanted to point out that a plugin was recently initiated at mojo (still in the sandbox) dedicated to templating (called templating-maven-plugin). It's currently only supporting Maven sources filtering, but the plan is to support different te

Re: Is there any generic Maven code generator?

2013-02-28 Thread Anders Hammar
I haven't seen any generator plugin that does what you're looking for. Wearing a Maven hat, I don't think that having these stub classes generated to src/main/java belongs to the build lifecycle. It's a separate process that should be executed outside of a Maven build. SO you would then have a sep

Re: Is there any generic Maven code generator?

2013-02-27 Thread Jeff MAURY
First, the way to plug extra functionnality into Maven is to write a Maven plugin so I don't think you can find a Maven plugin to be generic enough to perform any kind of task. For you purpose, you can try a Java annotation processor which are supported by the Maven compiler plugin or a combination