Re: subclassing a mojo in another plugin

2006-09-11 Thread Kenney Westerhof
No, the plugin-plugin can only scan source files for the annotations and doesn't re-use parent class info. You'll need to redefine that parameter if you want to use it in the xdoclet plugin. It would be neat to let the plugin-plugin scan the parent class' META-INF/maven/plugin.xml and add those

subclassing a mojo in another plugin

2006-09-11 Thread Mike Perham
Xdoclet plugin is subclassing a class in the Antrun plugin. This antrun class has an injected property that works when used as part of an antrun execution but is null when xdoclet plugin is executed. Should this work? public abstract class AbstractAntMojo extends AbstractMojo { /** *