I'm writing my own Maven plugin. My Mojo has a required parameter list:
@Parameter(property = "map.packages", required = true)
private List<String> packages;
Now, when I run this plugin in a project with no configuration, I would expect the build to fail as the packages
parameter is required. Instead I get packages
as an empty list.
Is this a bug or am I doing something wrong?
Ps. I probably should have added this to some issue tracker but where is Maven's issue tracker?