I'd like to add a little extra functionality to the maven-install-plugin (create/update an xml file based on the jar being installed). I tried creating my own plugin which subclassed InstallMojo, but I ended up with a NPE inside InstallMojo. I think that InstallMojo's class variables aren't getting initialized by the javadoc handling of maven-plugin-plugin.

Is it possible to subclass Mojos? If so, how do I get around the NPE? If not, what is the best way to extend an existing Mojo?

Thanks,
 Tim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to