Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1
-
Fix Version/s: None
-
Component/s: plugin-testing-harness
-
Labels:None
-
Number of attachments :
Description
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!
I have been looking around at some source code and a lot of people seem to have encountered this annoying issue.