Re: [m2] Plugin inheritance

2006-01-27 Thread Brett Porter
It's much easier than that - the information is recorded in META-INF/maven/plugin.xml. The stumbling point so far is whether we want to support that. I think we need to decide between the current angle of "mojo is a wrapper around specialised tools" and "mojo is a tool itself". - Brett John Cas

Re: [m2] Plugin inheritance

2006-01-27 Thread John Casey
will commons-attributes also do something similar to this? Just wondering out loud... -j Rafal Krzewski wrote: Brett Porter wrote: no, sorry. The annotations are read from source files, not binaries. It's possible to post process .class files with BCEL or ASM and add custom attributes to t

Re: [m2] Plugin inheritance

2006-01-27 Thread Rafal Krzewski
Brett Porter wrote: no, sorry. The annotations are read from source files, not binaries. It's possible to post process .class files with BCEL or ASM and add custom attributes to the classfile elements (fields, methods). AspectJ does that for one example. At runtime these attributes may be acc

Re: [m2] Plugin inheritance

2006-01-26 Thread Brett Porter
no, sorry. The annotations are read from source files, not binaries. - Brett Jan Bartel wrote: > I think the answer to this question is likely to be no, > but I thought I'd ask anyway. > > If I have 2 plugins A and B, is there anyway that Mojos > in plugin B can inherit from the Mojos in plugin

[m2] Plugin inheritance

2006-01-26 Thread Jan Bartel
I think the answer to this question is likely to be no, but I thought I'd ask anyway. If I have 2 plugins A and B, is there anyway that Mojos in plugin B can inherit from the Mojos in plugin A *including the annotations for the configuration parameters* ? thanks in advance Jan -