On 5/23/05, J. Matthew Pryor <[EMAIL PROTECTED]> wrote: > OK so here is where I am at. > > I now have the plugin working. Thanks.
Great, glad I could help. > BTW PluginDescriptorGenerator throws an NPE is a Mojo > doesn't have an @goal tag. ok, I'll fix it. > So now I generate my source code, but it doesn't get > compiled. Is there a 'special' place to generate Java > source into so it will get compiled? Or do I need to > do something else ? Yep. Another thing we are trying to streamline but the current practice is to take a MavenProject field and call project.addCompileSourceRoot( ... ); The compiler will pick that up. > To your previous question, I think having to explcitly > nominate: > <goals><goal><id>blah</id></goal></goals> in the using > project is too much, the plugin should be able to > fully establish itself without the using project > having to know what goal to set up. Configuration of a > plugin is a different matter IMO, but one should be > able to use a plugin without any configuraton as a > starting point. Ok, will keep that in mind when we talk through the design later this week. - Brett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
