maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rydnr <ma...@acm-sl.org>
Subject Re: Plexus 1.5.5 dependency nightmare
Date Thu, 19 May 2011 17:24:30 GMT
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message