I want to work on a Maven plugin, and as part of its configuration (which will be mapped to the mojo fields), I'd like to supply XML attributes on a few tags. Unfortunately, the official guide makes no mention of the use of attributes in configuration blocks (which may or may not mean that it's simply not possible.)
What I'd like to have is this:
<plugin>
<configuration>
<my_option attr="x" /> <!-- is this possible? -->
</configuration>
</plugin>
Is this possible at all? If so, how will this map to a field in my mojo?