On 5/23/05, J. Matthew Pryor <[EMAIL PROTECTED]> wrote: > That was a copy & paste issue. I copied the javadoc tag from the IdeaPlugin. > > I changed that javadoc tag & now get > > <phase>generate-sources</phase> > > I also fixed a bunch of typos & also removed the intermediate > AbstractGeneratorMojo (the NPE issue that was a red herring), so now I get > no errors, but no evidence of my plugin getting called
Ok, sorry for following the red herring. > How can I get better information about what plugins are getting called? If it is called, [protege:bean] would appear. The problem is that you need to add <goals><goal><id>bean</id></goal></goals> to the plugin configuration to tell Maven to register the goal with the phase. Apart from the fact this all needs to be documented (which will happen at the end of the week when everything else is finalised), do you agree this is the right way to do it? One of the aims is for there to be minimal magic as well as minimal configuration so it is fairly obvious looking at a POM what will happen. It will probably be possible to let a plugin, once configured, auto-register some goals (like the packaging ones do), by the end of the week when the design is implemented (first section of http://docs.codehaus.org/display/MAVEN/Lifecycle). - Brett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
