Basically, in my tests, if a Maven plugin runs within Maven 3.0.3, and defines
/**
* @parameter property="abc"
*/
private String somethingDifferentThanAbc;
public void setAbc(String value) {
somethingDifferentThanAbc = value;
}
Works for non-empty values:
<abc>abc-value</abc>
But throws a NPE in
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter:331
(fieldTypeConverter is null) with empty values:
<abc></abc>
Should I fill a bug? It works in Maven 2.x. It works if you declare the
property with no naming conventions:
private String abc;
Kind regards,
Rydnr
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]