On Sat, 2004-07-10 at 08:47, Dion Gillard wrote: > Do we want to do this so close to 1.0?
I don't think it would be wise to make this addition this close to 1.0, but it can definitely be added post 1.0. How it will be added by making an addition to this: http://cvs.apache.org/viewcvs.cgi/maven-components/maven-model/maven.mdo?rev=1.48&view=auto The goal of using the model will include zero impact on current usage of the model in 1.x and all releases post 1.0 will use the model so if you want to make an addition lets pick the element to add now in preparation. Brett is coming to Guelph in about 10 days and while he's here one of things we're going to do is formulate a plan of attack for moving the 1.x code over to using the model in a first phase and then the project builder from the component-based code. I'm basically lying in wait for 1.0 release at this point. The code for 1.0 is not going change unless there is a serious show stopper and subsequent to the 1.0 release I am going to start merging the component-based code with 1.x as fast as humanly possible. The goal is zero impact on usage which will restrict the use of some of the more advanced features found in the components but compatibility is more important. So as far as the generation concerns go, I am totally willing to help you make changes to the model and flesh out any ideas required to make code generation scalable. So you certainly need to be able to compile generated sources, but you may also want to generate resources from generated sources or process the generated sources in any arbitrary fashion and we want to do this in a way that avoids coupling between plugins because that's just a disaster waiting to happen. So it's easy enough to have something like maven.compile.src.set (compileSourceRoots in m2) and allow plugins to make additions to this set for compilation but we have to take this another step and make any additions that allow any arbitrary processing on the generated sources. So you might generate some sources with xdoclet tags in them that you want to generate mappings from. Maybe that's a contrived example but that's the type of thing we should account for. I assume you need this asap for your client so we can start doing this work on HEAD if you're in a serious rush. I'll give you any help you need. I was going to wait until Brett got here but we can experiment getting the model working in HEAD as that won't affect anything insofar as 1.0 is concerned. -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
