Details
-
New Feature
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.0.4
-
None
Description
MOJO-393 is about letting the user define an alternate configuration element, thus changing the way the webstart plugin works.
For that the idea was to make the mojo field an interface, provide a default implementation in the plugin and let the user use plexus to instanciate a new implemenation.
so for most users we would have:
<configuration> <bla> </bla> </configuration>
and for some:
<configuration> <bla implementation="com....bla"> </bla> </configuration>
Unfortunately, today I am forced to specify the implementation in both cases. There's no way to inform the plugin to use the default implementation.
The plugin.xml contains:
<parameter> <name>bla</name> <type>...BlaInterface</type> <!-- that will fail --> ... </parameter>
I tried to use
/**@parameter implementation="...BlaImplementation"*/
BlaInterface bla;
but that fails as well.
Marking critical because it doesn't allow me add new features to the plugin without breaking the config.xml.