On Fri, Oct 29, 2010 at 4:03 PM, Leon Rosenberg <rosenberg.l...@gmail.com> wrote: > Hi, > > I have following requirement. I have a project, in which I have one > source folder which contains a code generator (run with apt), another > source folder > which contains code, which is processed by the generator from folder > 1, and a third folder that relies on the code generated by the second > folder. > Therefor I need two compilation executions after each other, one for > the generator and one for the generated code. > Is this possible with maven? >
Yes. Attach your APT generation to "generate-sources" phase. That will be included in the following "compile" phase.... but, I believe, the plugin that generates the sources has to be smart enough to add it to the class path. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org