parameters annotated with default-value are not injected
--------------------------------------------------------
Key: MPLUGINTESTING-7
URL: http://jira.codehaus.org/browse/MPLUGINTESTING-7
Project: Maven 2.x Plugin Testing
Issue Type: Bug
Components: plugin-testing-harness
Affects Versions: 1.1
Reporter: Alex Eagle
I have a Mojo with several parameters annotated with a default-value:
/**
* Colon-delimited packages to whitelist
*
* @parameter default-value=""
*/
private String whiteList;
But when I lookupMojo() my mojo in an AbstractMojoTestCase, I get a mojo with a
null value in whiteList.
shouldn't I get an empty string instead?
Thanks!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira