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 Casey wrote: > 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 the classfile elements (fields, methods). AspectJ >> does that for one example. At runtime these attributes may be accessed >> reflectively by parsing the classfiles. >> Maybe it's kind of an overkill, but it could be fun :-) No, I am not >> volunteering :-) >> >> R. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]