Hi Nick, That's great news. I'm sure this addition will be highly appreciated by other jOOQ-users as well. If this works out nicely, I can make an extra release for this addition.
Cheers Lukas 2011/3/7 Nick Willemse <[email protected]> > Hi Lukas, > > So I looked more into it and it seems that we will need to create a > jooq-maven-plugin by coding a MOJO or Maven Old Java Object. This is > just a wrapper around your build class, GenerationTool. It allows you > to read and configure the parameters and call the class generation > from Maven, much like Ant yes. You then include this jooq-plugin > within maven pom file. > > I will checkout your source, and see if i can develop this class and > plugin. Need to read up about the plugin development a bit. > > Will keep you posted.. > Nick > > On Mar 6, 2:02 am, Lukas Eder <[email protected]> wrote: > > Hi Nick, that would be greatly appreciated, thanks! > > > > I'm guessing, that "maven plugin" you are talking about will be similar > like > > an ant task, which means that you can integrate code generation in your > > maven build process. Is that right? > > So how would we work together after you have achieved those steps? Does > that > > mean, you are creating that pom.xml file, which I can add to my codebase > > later on? Which repository are you using locally? (I will have to add > that > > functionality as well, for regression tests) > > > > Cheers > > Lukas > > > > 2011/3/5 Nick Willemse <[email protected]> > > > > > Thanks. > > > > > I can try and help. I managed to import the jar files into my local > > > maven repository and use it from there. > > > > > Now I'm going to try and create a maven plugin to execute the > > > GenerationTool automatically. > > > > > Nick > > > > > On Mar 5, 2:03 am, Lukas Eder <[email protected]> wrote: > > > > Hi Nick > > > > > > Yes, that has been on the roadmap for some time: > > >https://sourceforge.net/apps/trac/jooq/ticket/104 > > > > > > Unfortunately, I don't have a lot of experience with maven, so I kept > > > > postponing it. I guess I should find out... :-) > > > > > > Cheers > > > > Lukas > > > > >
