Why not just turn your code-generator into a maven plugin. It's quite easy to do.
And then you can check the timestamps, and add the project test sources without having to use buildhelper-maven-plugin -Stephen 2009/12/8 Andreas Sewe <[email protected]> > Hi all, > > I am using the exec-maven-plugin to generate test sources and it works > like a charm. Our code generator, however, takes its time so always > running exec:java slows down our build a lot. :-( > > I am thus wondering whether there is any way to instruct the plugin to > run only if the configuration file that drives the test generation > process is newer than the generated sources. Maybe there exists a > generic plugin that provides this kind of functionality, perhaps when > used in conjunction with profiles? (Neither the maven-verifier-plugin > nor maven-enforcer-plugin seem to help here.) > > Any suggestions? > > Andreas Sewe > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
